An asynchronous networking framework written in Python
Actively maintained. Last release 4 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
pip install localstack-twistedLocalStack Distribution of Twisted
This package re-distributes the unmodified twisted code for use in LocalStack, excluding the tests and a few modules not needed by LocalStack in order to reduce the size.
Build project
Clone
Clone the repository with submodules
git clone --recurse-submodules git@github.com:localstack/twisted-distribution
Build
python -m build
Upgrade to latest tagged version
To check out the latest tag and update the submodule, you can run this:
cd ./twisted
git fetch --tags
git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1)")"
cd ..
git add twisted
Then
git commit -am "upgrade to twisted <version>"
Publish to pypi
First, build the package
python -m venv .venv
source .venv/bin/activate
python -m pip install build twine
python -m build
python -m twine upload dist/*