Skip to main content

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.65.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netius 1.65.0
File Size Uploaded Provenance Actions
netius-1.65.0.tar.gz 595.6 kB Without provenance Details for netius-1.65.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netius 1.65.0
File Interpreter ABI Platform Actions
netius-1.65.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for netius-1.65.0-py2.py3-none-any.whl

Total release size: 1.3 MB

Release files / netius-1.65.0.tar.gz

Download URL netius-1.65.0.tar.gz
Size 595.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6eb8df49b3d66926e32637862509273b5751036aed6eba7541f5eab5a12eccc4
BLAKE2b-256 checksum
How to use checksums
51800d662f86905dc80b35ab3edfa833ad8ddbd178977fd563bdea0372d4f282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / netius-1.65.0-py2.py3-none-any.whl

Download URL netius-1.65.0-py2.py3-none-any.whl
Size 736.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2e3b5e9bf289d8ea4eb14d3291415a5cd281fb1bdabd9f9e3996d5debae283ab
BLAKE2b-256 checksum
How to use checksums
4d39e20372100fe3f2253190a5ae5749cc4be6d4eecd2383e1465c00a711e2a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for netius 1.65.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.65.0 This release

2 release files No provenance

1.5.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page