Twisted 24.3.0


An asynchronous networking framework written in Python

An asynchronous networking framework written in Python

Stars: 5498, Watchers: 5498, Forks: 1147, Open Issues: 2787

The twisted/twisted repo was created 13 years ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 5498 github stars!

How to Install twisted

You can install twisted using pip

pip install twisted

or add it to a project with poetry

poetry add twisted

Package Details

MIT License
GitHub Repo:


No  twisted  pypi packages just yet.


A list of common twisted errors.

Code Examples

Here are some twisted code examples and snippets.

GitHub Issues

The twisted package has 2787 open issues on GitHub

  • Enforce the character encoding in "test_newlineStyle"
  • Don't skip all-success on deps failure.
  • Enforce protected branches
  • tls "Internal Error" When trying to serve clients using tls1.0
  • Add template for creating new GitHub issues
  • 11564 Update the development documentation to cover the latest PR process.
  • Support insecurelyLowerMinimumTo, raiseMinimumTo, and lowerMaximumSecurityTo in the SSL endpoint string parser
  • GitHub based review workflow
  • fix typo in README
  • Add bracket, an API for running async setup and cleanup operations around another async operation
  • [#9443] IRCClient: Allow trying message decoding with multiple codecs
  • [Fix #10309] Refactor SSH version string parsing.
  • Refactoring of SSH protocol version exchange
  • type error in imap4 module
  • 10280: Update

See more issues on GitHub

Related Packages & Articles

mitmproxy 10.3.1

An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.

hstspreload 2024.7.1

The hstspreload Python package provides a way to interact with the Chromium HSTS preload list, which is a list of sites that are hardcoded to be HTTPS only for enhanced security. This package allows users to check if a host is on this list, indicating that it should only be accessed via HTTPS. It is updated monthly, but can be manually updated if necessary.

aiohttp 3.9.5

The aiohttp Python package is an asynchronous HTTP client/server framework that leverages Python's asyncio library. It supports both client and server sides of the HTTP protocol, as well as client and server websockets. The package provides a web server with middleware support and pluggable routing. This makes it a powerful tool for building efficient, non-blocking web applications in Python. It is highly recommended for projects where concurrent network or HTTP requests are a core requirement, and it is often used in web scraping, API consumption, and web development.

starlette 0.37.2

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, ideal for building asynchronous web services in Python. It is production-ready and offers a range of features including HTTP web framework, WebSocket support, in-process background tasks, startup and shutdown events, and a test client built on HTTPX. Starlette also supports CORS, GZIP, static files, streaming responses, and session and cookie support. It is compatible with asyncio and trio backends and boasts great overall performance against independent benchmarks. The package can be used as a complete framework or as an ASGI toolkit, allowing for the use of any of its components independently. It requires Python 3.8+ and an ASGI server such as uvicorn, daphne, or hypercorn for operation.

uvloop 0.19.0

Fast implementation of asyncio event loop on top of libuv

odmantic 1.0.2

ODMantic, an AsyncIO MongoDB Object Document Mapper for Python using type hints