A better networking library.
Project description
ButterflyNet is an server-side batteries-included secure networking framework built upon asyncio.
Why ButterflyNet?
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 is a clusterfuck.
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.
Getting Started
ButterflyNet is available to download off of PyPI: pip install ButterflyNet
Limitations
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for ButterflyNet-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 241139a6d6cef7481b759b014b950eb3b9fcff170f32d82710a088ee0f860a99 |
|
MD5 | 6afb089a642e9916e1c6ef91cfdf6f87 |
|
BLAKE2b-256 | bfe037d698aba5e9cd1eef0526cb0479ca23982e22d33fc60ff630678d7f5037 |