Skip to main content

httplib

pytest codecov

Simple, asynchronous, dependency-free, strictly-typed, fully docstringed HTTP server framework.

Example

from typing import Any
import httplib as app

@app.route('/')
async def index() -> Any:
    return app.template('static/index.html')

@app.route('/hello/<name>')
async def hello(name: str) -> Any:
    return f'<h1>Hello, {name}!'

@app.error(404)
async def not_found() -> Any:
    return await app.template('static/404.html')

app.serve('localhost')

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhttplib-2.2.0.tar.gz (58.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyhttplib-2.2.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file pyhttplib-2.2.0.tar.gz.

File metadata

  • Download URL: pyhttplib-2.2.0.tar.gz
  • Upload date:
  • Size: 58.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyhttplib-2.2.0.tar.gz
Algorithm Hash digest
SHA256 77d459f90f96c767830878768a0f655dede22cbbfddda125c9de46c1c21bfe5b
MD5 13b576767919cbb28165927739af87f7
BLAKE2b-256 b268471e2cbc6c9330844b5c0bc33cec6849f589116ed86b9a0fb70b8bcb79bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyhttplib-2.2.0.tar.gz:

Publisher: publish.yml on Omena0/http

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyhttplib-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyhttplib-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyhttplib-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ce525e2eae835723ff5c3c5028ddccb5bb8bbd307f79f57e5ad039ee2569be1
MD5 320f02dab18b82d40601349f481e8467
BLAKE2b-256 be65001e86112a8c52c9618093d067a6f667ae8e5304d119515c90635f8359d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyhttplib-2.2.0-py3-none-any.whl:

Publisher: publish.yml on Omena0/http

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.2.0 This release

2 files

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