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.66.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.66.0
File Size Uploaded Provenance Actions
netius-1.66.0.tar.gz 597.0 kB Without provenance Details for netius-1.66.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / netius-1.66.0.tar.gz

Download URL netius-1.66.0.tar.gz
Size 597.0 kB
Tags Source
SHA-256 checksum
How to use checksums
27a1230f7dc8db7dbbd125145eb30a5d6e4c563e66f179f4d00fe53859c5e0d2
BLAKE2b-256 checksum
How to use checksums
a5717233e5c658a9f27e3f1f9be07b9a8ffab08e058d77a309f7ea8524ca7f06
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.66.0-py2.py3-none-any.whl

Download URL netius-1.66.0-py2.py3-none-any.whl
Size 737.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
41559183205203c9213129eb07b478b5c4d886de9fbff0f0917b09c45d7e0594
BLAKE2b-256 checksum
How to use checksums
3260fca84f7c55430eabf9a6e6d77fe8bce32483782a49723199754b2cff863e
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.66.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.66.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