localstack-twisted
An asynchronous networking framework written in Python
Decision gist · record as of 2026-08-14
Yes, if you need Twisted's asynchronous networking capabilities and either use LocalStack or prefer the size-optimized distribution. The active maintenance, low install friction, permissive license, and lack of known vulnerabilities make it a sound choice. However, verify that the excluded modules don't affect your specific use case, and confirm compatibility if you depend on packages expecting the standard Twisted distribution.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; some functionality may depend on system-level networking libraries.
- Low install friction with 11 runtime dependencies.
- The package is actively maintained with a recent release (95 days ago) and the underlying repository shows active development with 5975 stars.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.
last release 2026-05-11 (95 days) · last repo commit 2026-08-13 · 5,975 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,172 downloads/mo, #14,551 on PyPI
Alternatives
Verify before relying
pip install localstack-twisted
from twisted.internet import reactor
from twisted.internet.protocol import Protocol
class EchoProtocol(Protocol):
def dataReceived(self, data):
self.transport.write(data)
reactor.run()- Whether the size reduction from excluding tests and modules meaningfully impacts performance or functionality compared to standard Twisted.
- Compatibility guarantees between this distribution and packages expecting the standard Twisted package.
- Whether LocalStack-specific optimizations introduce behavioral differences in edge cases.
What it is and what it does
This package is a curated distribution of Twisted, an established asynchronous networking framework for Python, repackaged by LocalStack with tests and unused modules removed to reduce installation size. It provides the core Twisted functionality for building event-driven, non-blocking network applications—servers, clients, protocols, and reactive components—while maintaining compatibility with the standard Twisted API.
The package depends on 11 runtime libraries including attrs, h2, hyperlink, pyopenssl, and zope-interface, which together provide protocol handling, HTTP/2 support, TLS encryption, and interface definitions. It supports Python 3.8 through 3.12 and is actively maintained, with the latest release tracking recent Twisted upstream versions. The permissive MIT license and low install friction make it accessible for most projects.
Use it for
- Building asynchronous TCP/UDP servers and clients without blocking I/O.
- Implementing custom network protocols and protocol handlers for real-time applications.
- Creating event-driven web services and WebSocket applications with Twisted's HTTP support.
- Developing reactive systems that handle concurrent connections efficiently.
- LocalStack environments where reduced package size is beneficial for container or embedded deployments.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need Twisted's asynchronous networking capabilities and either use LocalStack or prefer the size-optimized distribution.
The active maintenance, low install friction, permissive license, and lack of known vulnerabilities make it a sound choice. However, verify that the excluded modules don't affect your specific use case, and confirm compatibility if you depend on packages expecting the standard Twisted distribution.
Install
localstack-twisted on PyPI
Before you install
Low install friction with 11 runtime dependencies. The package is actively maintained with a recent release (95 days ago) and the underlying repository shows active development with 5975 stars.
Requires Python 3.8 or later; some functionality may depend on system-level networking libraries.
License in practice
MIT License permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.
Quickstart
pip install localstack-twisted
from twisted.internet import reactor
from twisted.internet.protocol import Protocol
class EchoProtocol(Protocol):
def dataReceived(self, data):
self.transport.write(data)
reactor.run()
Verify before relying
- Whether the size reduction from excluding tests and modules meaningfully impacts performance or functionality compared to standard Twisted.
- Compatibility guarantees between this distribution and packages expecting the standard Twisted package.
- Whether LocalStack-specific optimizations introduce behavioral differences in edge cases.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.8.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 11 packagesattrsconstantlyh2hyperlinkidnaincrementalprioritypyopenssltwisted-iocpsupporttyping-extensionszope-interface |
| Maintenance | Actively maintained 95 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 77,172 / month, #14,551 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: localstack_twisted-26.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “twisted distribution”
- localstack-twistedA LocalStack-optimized distribution of Twisted that provides…
- treqtreq is a high-level HTTP client library for Twisted that provides a…
- crochetCrochet lets you call Twisted asynchronous code from blocking Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also Twisted · txaio · terraform-local · treq · tornado · localstack · pytest-twisted · localstack-client · pulumi-local · anyio