Netius
Fast and readable async non-blocking network apps
Netius is a Python network library that can be used for the rapid creation of asynchronous non-blocking servers and clients. It has no dependencies, it’s cross-platform, and brings some sample netius-powered servers out of the box, namely a production-ready WSGI server.
Simplicity and performance are the main drivers of this project. The codebase adheres to very strict code standards, and is extensively commented; and as far as performance is concerned, it aims to be up to par with equivalent native implementations, where PyPy can be used to provide the extra boost to raise performance up to these standards.
Installation
pip install netius
Usage
WSGI Server
import netius.servers
def app(environ, start_response):
status = "200 OK"
contents = "Hello World"
content_l = len(contents)
headers = (
("Content-Length", content_l),
("Content-Type", "text/plain"),
("Connection", "keep-alive")
)
start_response(status, headers)
yield contents
server = netius.servers.WSGIServer(app = app)
server.serve(port = 8080)
More
For more information consult the website.
Metadata
Release files for netius 1.64.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| netius-1.64.0.tar.gz | 588.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netius-1.64.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / netius-1.64.0.tar.gz
| Download URL | netius-1.64.0.tar.gz |
|---|---|
| Size | 588.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73cd424670c70dabd218d064ddb7694f6b9fb2664824039cdc9c88f0f2d8c48c
|
|
BLAKE2b-256 checksum How to use checksums |
ff1dc695da62bf3d59904f872ad8b1eb65e0362e42a08d431a451a33b923d96f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / netius-1.64.0-py2.py3-none-any.whl
| Download URL | netius-1.64.0-py2.py3-none-any.whl |
|---|---|
| Size | 728.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
28a646c9650f6f43909bb354eeb82291e525f3d0a837f653f8528500823377a0
|
|
BLAKE2b-256 checksum How to use checksums |
b7fba3f324e7c3d5d725c718fe61f1fa1cf9f33775c57c3e168e0180dc069c16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for netius 1.64.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.