twisted/twisted
Event-driven networking engine written in Python. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 51
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 187
- age_days: 5542
- days_rel: 114
- days_push: 7
- n_releases_24m: 4
Adoption not part of the score
5977 stars · 1221 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Twisted is an event-driven networking engine and framework for Python, providing an asynchronous reactor plus implementations of many internet protocols. It includes subprojects for HTTP clients/servers, SSH, DNS, mail (IMAP/POP3/SMTP), and chat protocols (IRC, XMPP), along with a unit testing framework.
Use cases
- write an async TCP echo server in python
- build an event-driven HTTP server or client
- implement custom network protocols in python
- run an SSH or telnet server from python
- send and receive email programmatically with SMTP and IMAP
- write a DNS server or client in python
- build a chat bot for IRC or XMPP
When to choose
- you need fine-grained control over network protocols in Python
- you need built-in support for many protocols (SSH, DNS, mail, IRC) in one library
- you're maintaining an existing Twisted-based codebase
- you need an event loop that integrates with GUI toolkits or custom reactors
When to avoid
- you're starting a new project where asyncio is sufficient
- you only need simple HTTP requests (use requests/httpx instead)
- your team is unfamiliar with Deferred-based callback style
- you want a modern async/await-first API without legacy patterns
Facets
framework · maturity stable
web-framework http-server http-client websocket networking concurrency ssh email testing middleware networking web-development backend developer-tools microservices python cross-platform windows cli event-driven async reactor tcp udp dns tls deferred protocols linux macos
3 sources
- readme: https://github.com/twisted/twisted · fetched 2026-08-28 · 31af16596f4d
- homepage: https://twisted.org · fetched 2026-08-29 · a646f1ad182c
- registry_pypi: https://pypi.org/pypi/twisted/json · fetched 2026-08-29 · ae5a9e8c146d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| twisted/twisted | main | 82 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem