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 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.
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-1.0.1.post1-py3.5.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f56f082e9e5097074613db775dc73726d8aa33d3d5eb73c4abe08e67dac0d159 |
|
MD5 | dee184dce55698e256c866337d6058b8 |
|
BLAKE2b-256 | b389b54ee4bec5d9d3c52c52783049580b65fdc257f79f28a747dac208c1a296 |
Hashes for ButterflyNet-1.0.1.post1-py3.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74bc5ed5f0c0ea49501f4b82b98145cc5ac03a7cd813b12c03901b69764f4913 |
|
MD5 | 1815e95af31ee1e7b2fbce9493a34510 |
|
BLAKE2b-256 | 2259135a178dcb0305bec466c2c0721b7abf31c6dd796c7fc6c5aca996bc0995 |
Hashes for ButterflyNet-1.0.1.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30bc723df42bddab12e2fb96da722790b79e930f05561cdc38fdb8b77a0717a2 |
|
MD5 | 75d75c8e39f1fffbe2435e244a7961ca |
|
BLAKE2b-256 | dbd7d5c13e7c4ac56a1aca16e7584870b1ab069c6398b7e0bc8cb1484cfa6684 |