Skip to main content

Netius System

Project description

Series of network related libraries for the rapid creation of non blocking async server and clients. The aim of this project is to create a platform for creation of customized servers and clients for specific and pre-defined purposes using simple inheritance techniques.

Performance is considered to be one of the main priorities of the project as it should be possible to replace a native code stack with netius equivalents. PyPy should provide the extra speed required for these kind of (speed savy) use cases.

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.

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

netius-1.3.15.zip (238.8 kB view details)

Uploaded Source

File details

Details for the file netius-1.3.15.zip.

File metadata

  • Download URL: netius-1.3.15.zip
  • Upload date:
  • Size: 238.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netius-1.3.15.zip
Algorithm Hash digest
SHA256 96cf3781a6667f6f38752065d64d4151b7879f1ca4904d431523a810350eb2d2
MD5 827aa3a7f33e9bda9dbf9e4d959c7886
BLAKE2b-256 27a191c47e82e72d1582958f88bd887ff48413b33386e57226413335518ae023

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page