Skip to main content

pypi travis circleci

For information on what’s new in Twisted 19.2.0, see the NEWS file that comes with the distribution.

What is this?

Twisted is an event-based framework for internet applications, supporting Python 2.7 and Python 3.5+. It includes modules for many different purposes, including the following:

  • twisted.web: HTTP clients and servers, HTML templating, and a WSGI server

  • twisted.conch: SSHv2 and Telnet clients and servers and terminal emulators

  • twisted.words: Clients and servers for IRC, XMPP, and other IM protocols

  • twisted.mail: IMAPv4, POP3, SMTP clients and servers

  • twisted.positioning: Tools for communicating with NMEA-compatible GPS receivers

  • twisted.names: DNS client and tools for making your own DNS servers

  • twisted.trial: A unit testing framework that integrates well with Twisted-based code.

Twisted supports all major system event loops – select (all platforms), poll (most POSIX platforms), epoll (Linux), kqueue (FreeBSD, macOS), IOCP (Windows), and various GUI event loops (GTK+2/3, Qt, wxWidgets). Third-party reactors can plug into Twisted, and provide support for additional event loops.

Installing

To install the latest version of Twisted using pip:

$ pip install twisted

Additional instructions for installing this software are in the installation instructions.

Documentation and Support

Twisted’s documentation is available from the Twisted Matrix website. This documentation contains how-tos, code examples, and an API reference.

Help is also available on the Twisted mailing list.

There is also a pair of very lively IRC channels, #twisted (for general Twisted questions) and #twisted.web (for Twisted Web), on chat.freenode.net.

Unit Tests

Twisted has a comprehensive test suite, which can be run by tox:

$ tox -l            # to view all test environments
$ tox -e py27-tests # to run the tests for Python 2.7
$ tox -e py35-tests # to run the tests for Python 3.5

You can test running the test suite under the different reactors with the TWISTED_REACTOR environment variable:

$ env TWISTED_REACTOR=epoll tox -e py27-tests

Some of these tests may fail if you:

  • don’t have the dependencies required for a particular subsystem installed,

  • have a firewall blocking some ports (or things like Multicast, which Linux NAT has shown itself to do), or

  • run them as root.

Warranty

THIS SOFTWARE IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE USE OF THIS SOFTWARE IS WITH YOU.

IN NO EVENT WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY, BE LIABLE TO YOU FOR ANY DAMAGES, EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Again, see the included LICENSE file for specific legal details.

Release files for Twisted 19.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Twisted 19.7.0
File Size Uploaded
Twisted-19.7.0.tar.bz2 3.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for Twisted 19.7.0
File
Twisted-19.7.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
Twisted-19.7.0-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
Twisted-19.7.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
Twisted-19.7.0-cp37-cp37m-manylinux1_i686.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32 Details
Twisted-19.7.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
Twisted-19.7.0-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
Twisted-19.7.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
Twisted-19.7.0-cp36-cp36m-manylinux1_i686.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32 Details
Twisted-19.7.0-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
Twisted-19.7.0-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
Twisted-19.7.0-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
Twisted-19.7.0-cp35-cp35m-manylinux1_i686.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32 Details
Twisted-19.7.0-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
Twisted-19.7.0-cp27-cp27mu-manylinux1_i686.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-32 Details
Twisted-19.7.0-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
Twisted-19.7.0-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details
Twisted-19.7.0-cp27-cp27m-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 Details
Twisted-19.7.0-cp27-cp27m-manylinux1_i686.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-32 Details

Total release size: 58.9 MB

Release files / Twisted-19.7.0.tar.bz2

Download URL Twisted-19.7.0.tar.bz2
Size 3.1 MB
Tags Source
SHA-256 checksum
How to use checksums
d5db93026568f60cacdc0615fcd21d46f694a6bfad0ef3ff53cde2b4bb85a39d
BLAKE2b-256 checksum
How to use checksums
61313855dcacd1d3b2e60c0b4ccc8e727b8cd497bd7087d327d81a9f0cbb580c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp37-cp37m-win_amd64.whl

Download URL Twisted-19.7.0-cp37-cp37m-win_amd64.whl
Size 3.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
17704d98d58c9c52d97e88570732e4c094a93fe5df937d01b759bab593345eec
BLAKE2b-256 checksum
How to use checksums
eed95b79fef4a7d7dc4d526151904eae5dd207f80433ae646a258b32abbe77d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp37-cp37m-win32.whl

Download URL Twisted-19.7.0-cp37-cp37m-win32.whl
Size 3.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
6c7703b62de08fd5873d60e6ed30478cdb39e3a37b1ead3a5d2fed10deb6e112
BLAKE2b-256 checksum
How to use checksums
2df2594c84d51cd30149f3f7630fd8764572f782ee76e8bd0b8cb624c1026ebd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp37-cp37m-manylinux1_x86_64.whl

Download URL Twisted-19.7.0-cp37-cp37m-manylinux1_x86_64.whl
Size 3.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a5f2de00c6630c8f5ad32fca64fc4c853536c21e9ea8d0d2ae54804ef5836b9c
BLAKE2b-256 checksum
How to use checksums
84afd15d3686e56c704796b23b67552f3ac78b84652793091a7d7ac8bf2887d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp37-cp37m-manylinux1_i686.whl

Download URL Twisted-19.7.0-cp37-cp37m-manylinux1_i686.whl
Size 3.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
23090c9fcec01ce4e102912a39eb4645b2bf916abe459804f87853d977ced6e3
BLAKE2b-256 checksum
How to use checksums
e487974ab340ed07283c796025efc4648d399c4ac3c5fbf1eba145c04a99df4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp36-cp36m-win_amd64.whl

Download URL Twisted-19.7.0-cp36-cp36m-win_amd64.whl
Size 3.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
ab788465701f553f764f4442d22b850f39a6a6abd4861e70c05b4c27119c9b50
BLAKE2b-256 checksum
How to use checksums
40f60643e92bc6653107ae1ae878a95749603b384fa1340cc1c74f931e5c9768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp36-cp36m-win32.whl

Download URL Twisted-19.7.0-cp36-cp36m-win32.whl
Size 3.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
98840f28c44894f44dc597747b4cddc740197dc6f6f18ba4dd810422094e35cb
BLAKE2b-256 checksum
How to use checksums
b3406b038964b8d2ea4c0604652e7226c37ef685b1a6366bd7b521dd85b5fad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp36-cp36m-manylinux1_x86_64.whl

Download URL Twisted-19.7.0-cp36-cp36m-manylinux1_x86_64.whl
Size 3.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
998e3baf509c7cf7973b8174c1050ac10f6a8bc1aaf0178ad6a7c422c75a0c68
BLAKE2b-256 checksum
How to use checksums
1449eb654da38b15285d1f594933eefff36ce03106356197dba28ee8f5721a79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp36-cp36m-manylinux1_i686.whl

Download URL Twisted-19.7.0-cp36-cp36m-manylinux1_i686.whl
Size 3.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
aad65a24b27253eb94f2749131a872487b093c599c5873c03d90a65cc9b8a2fc
BLAKE2b-256 checksum
How to use checksums
65ae96921594fbfb4e4ae508ef49acec1b39fb264d3fc6eada7530598769eb6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp35-cp35m-win_amd64.whl

Download URL Twisted-19.7.0-cp35-cp35m-win_amd64.whl
Size 3.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
222e0cfd60b0c867dd303bce6355a3ffac46574079dff11ae7a1775235ad12c8
BLAKE2b-256 checksum
How to use checksums
31f695ecfd155043569533e0d68a93a807fc7a9efc03256dc9d279de8c2fe671
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp35-cp35m-win32.whl

Download URL Twisted-19.7.0-cp35-cp35m-win32.whl
Size 3.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
da92426002703b02d8fccff3acfea2d8baf76a9052e8c55ea76d0407eeaa06ce
BLAKE2b-256 checksum
How to use checksums
d64516d56311bf206543964396bfba9132718db4fd7e969ce6e6d3dee8d3b4f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp35-cp35m-manylinux1_x86_64.whl

Download URL Twisted-19.7.0-cp35-cp35m-manylinux1_x86_64.whl
Size 3.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5102fc2bf0d870c1e217aa09ed7a48b633cc579950a31ecae9cecc556ebffdf2
BLAKE2b-256 checksum
How to use checksums
4dfa3ad1fbb8084a88afb5735117699010c69e1567e01ae574dbb7c488c8edbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp35-cp35m-manylinux1_i686.whl

Download URL Twisted-19.7.0-cp35-cp35m-manylinux1_i686.whl
Size 3.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
02214ef6f125804969aedd55daccea57060b98dae6a2aa0a4cb60c4d0acb8a2c
BLAKE2b-256 checksum
How to use checksums
50fae19be813af60a9783146db040c03789ff3892e2ce2d56907ac6388bcca41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp27-cp27mu-manylinux1_x86_64.whl

Download URL Twisted-19.7.0-cp27-cp27mu-manylinux1_x86_64.whl
Size 3.2 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
c7244e24fcb72f838be57d3e117ad7df135ff5af4c9d4c565417d671cd1e68c9
BLAKE2b-256 checksum
How to use checksums
180f0df34ad9161861d5b629a54f5fe8941f1ef9b73425923aeac1861fefa94d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp27-cp27mu-manylinux1_i686.whl

Download URL Twisted-19.7.0-cp27-cp27mu-manylinux1_i686.whl
Size 3.2 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
15b51047ab116ee61d791cf9fe6f037f35e909a6d344ccb437d1691627c4d8a1
BLAKE2b-256 checksum
How to use checksums
c840b0ded0753acc0926ca716263245a524c90d2bfb488e428b038ca40933878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp27-cp27m-win_amd64.whl

Download URL Twisted-19.7.0-cp27-cp27m-win_amd64.whl
Size 3.2 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
6ca398abd58730070e9bc34e8a01d1198438b2ff130e95492090a2fec5fb683b
BLAKE2b-256 checksum
How to use checksums
2d2caae693e226a7cc4a654df4a2cfd47d65de870cc4af1323e5f5d6ff0b6996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp27-cp27m-win32.whl

Download URL Twisted-19.7.0-cp27-cp27m-win32.whl
Size 3.2 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
f4f0af14d288140ecb00861a3bd1e0b94ffdc63057cc1abe8b9dc84f6b6dcf18
BLAKE2b-256 checksum
How to use checksums
39f49792ccfd8636e9dad84f487fe1729f6a6cdf964041257a14de3323a8b5c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp27-cp27m-manylinux1_x86_64.whl

Download URL Twisted-19.7.0-cp27-cp27m-manylinux1_x86_64.whl
Size 3.2 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
6bc71d5a2320576a3ac7f2dac7802c290fcf9f1972c59f9ef5c5b85b8bac1e1e
BLAKE2b-256 checksum
How to use checksums
cff81678450814984d3723103ace7377bfccfb661a258ca21eeefb4153de8cd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / Twisted-19.7.0-cp27-cp27m-manylinux1_i686.whl

Download URL Twisted-19.7.0-cp27-cp27m-manylinux1_i686.whl
Size 3.2 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
f985f31e3244d18610816b55becf8fbf445c8e30fe0731500cadaf19f296baf0
BLAKE2b-256 checksum
How to use checksums
44aa9f8e5b36e83d137ecd04c5fe9533566c6dde85548990d62bae075eadc4d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release history Release notifications | RSS feed

26.4.0

2 release files

24.7.0

2 release files

23.8.0

2 release files

22.4.0

2 release files

21.7.0

2 release files

21.2.0

2 release files

This release

19.7.0 This release

19 release files

19.2.1

1 release file

19.2.0

2 release files

18.9.0

1 release file

18.7.0

2 release files

18.4.0

2 release files

17.9.0

3 release files

17.5.0

2 release files

17.1.0

2 release files

16.6.0

2 release files

16.5.0

2 release files

16.4.1

2 release files

16.4.0

2 release files

16.3.2

2 release files

16.3.1

2 release files

16.2.0

2 release files

16.1.1

2 release files

16.0.0

2 release files

15.5.0

2 release files

15.2.1

7 release files

15.2.0

7 release files

15.1.0

5 release files

15.0.0

7 release files

14.0.2

5 release files

14.0.1

4 release files

14.0.0

6 release files

13.1.0

4 release files

12.3.0

2 release files

12.0.0

8 release files

11.1.0

4 release files

10.2.0

4 release files

10.0.0

1 release file

9.0.0

1 release file

8.2.0

8.1.0

8.0.1

8.0.0

2.5.0

2.4.0

2.1.0

1 release file

1.2.0

1.1.1

1.1.0

1.0.7

1.0.6

1.0.5

1.0.4

1.0.3

1.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page