Skip to main content
https://img.shields.io/pypi/v/gera2ld-pyserve.svg

Serve asyncio and aiohttp servers, and show information for development.

Installation

$ pip install gera2ld-pyserve

# or with extra `aio` if aiohttp applications are to be served
$ pip install gera2ld-pyserve[aio]

Usage

Run an asynchronous function in an infinite event loop:

from gera2ld.pyserve import run_forever

async def main():
    # do stuff

run_forever(main())

Start a server:

from gera2ld.pyserve import run_forever, start_server_asyncio

def handle(reader, writer):
    # add more code here...

run_forever(start_server_asyncio(handle, ':4000'))

Start a server with aiohttp:

from gera2ld.pyserve import run_forever, start_server_aiohttp
from aiohttp import web

app = web.Application()
# add more code here...

run_forever(start_server_aiohttp(app, ':4000'))

Release files for gera2ld-pyserve 0.3.2

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

Source distribution (sdist)

Source distribution for gera2ld-pyserve 0.3.2
File Size Uploaded
gera2ld_pyserve-0.3.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gera2ld-pyserve 0.3.2
File Interpreter ABI Platform
gera2ld_pyserve-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / gera2ld_pyserve-0.3.2.tar.gz

Download URL gera2ld_pyserve-0.3.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6c9089c3720a0b75edd56b3dffe414afb038def0bdbcc94ae4481f8c107077f3
BLAKE2b-256 checksum
How to use checksums
0cc98db738ad28ec94c14d439695176057ebcb2fc062a486ea81104a614af2e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / gera2ld_pyserve-0.3.2-py3-none-any.whl

Download URL gera2ld_pyserve-0.3.2-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb03a2d1c3347b5863b1b91fe474bf9ca2ca158674fac263acd7bee6658eaed5
BLAKE2b-256 checksum
How to use checksums
7a105e5a25cf2c8a16f336ea21bdb62729c28ec68dec75cc4a3bf82073b889a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

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