*NOT* just framework for WebProgramming, but includes a scalable and safe web server that outperforms apache in terms of security and scalability.
- stable version
- everywhere Python runs
- Python versions
- 2.5 or later, but not 3.*
Windows, UNIX. Special support for FreeBSD kernel features.
- Out of the box
- Through additional modules
Session, Identification and Authentication
Twisted provides an interface to any Python DB-API 2.0 compliant database through an asynchronous interface which allows database connections to be used, and multiplexed by multiple threads, while still remaining thread-safe for use with Twisted's event-based main loop.
Twisted Enterprise integrates with Twisted Web and other Twisted services, making it easy to generate dynamic content from an enterprise data source of any variety.
The best supported database at the moment, because we here at Twisted Matrix Labs like it the best, is PostgreSQL.
Twisted integrates a large number of consistent APIs for developing new Internet services. This translates to a wide number of protocols and components that are ready to work with your new server before you've written the first line of code.
In addition to legacy protocol support, the twisted.spread package allows developers to quickly develop new protocols and services with arbitrarily complex interfaces, prototyping new client functionality on the fly.
What does this mean in terms of development time? If you're developing a new server, it could take literally a year off of your implementation time -- and that's just now. Twisted development is proceeding at a rapid pace, and by the time you've finished your development you may find a host of new features that you didn't have to spend a moment thinking about!
Twisted comes under a relatively non-restrictive open-source license, making it suitable for both commercial and open-source development.
Twisted on Windows
It works ok until you want to deploy as a service. I found that tricky - I had to write my own service to start and stop twisted (as of 1.3). TwistedWebServerSampleOnWindows