A better networking library.
ButterflyNet is an server-side batteries-included secure networking framework built upon asyncio.
ButterflyNet was designed for a few main reasons:
- Sockets are low-level; personally, I dislike them because they’re not the friendliest thing to use.
- Twisted has a steep learning curve, and has a lot of cruft.
- asyncio networking is good, but it’s very hands-off - ButterflyNet comes with everything needed for a full networking suite.
All the existing libraries are not, by design, secure. You can work around this with SSLContexts - however, ButterflyNet forces TLS with secure settings on your server by default.
ButterflyNet is available to download off of PyPI: pip install ButterflyNet
You have a choice of TCP or UDP in most networking frameworks. However, ButterflyNet is designed upon persistent, TLS-authenticated and secured connections, of which UDP has:
- No persistent connections
- Unreliable TLS security
This means ButterflyNet is locked to TCP for the future. OpenSSL does support DTLS, but no support for this is planned.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash||File type||Python version||Upload date|
|ButterflyNet-1.1.0-py3.4.egg (30.3 kB) View hashes||Egg||3.4|
|ButterflyNet-1.1.0-py3.5.egg (30.3 kB) View hashes||Egg||3.5|
|ButterflyNet-1.1.0-py3-none-any.whl (14.0 kB) View hashes||Wheel||3.5|
|ButterflyNet-1.1.0.tar.gz (10.8 kB) View hashes||Source||None|
Hashes for ButterflyNet-1.1.0-py3-none-any.whl