pyhttplib
Project description
httplib
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')
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77d459f90f96c767830878768a0f655dede22cbbfddda125c9de46c1c21bfe5b
|
|
| MD5 |
13b576767919cbb28165927739af87f7
|
|
| BLAKE2b-256 |
b268471e2cbc6c9330844b5c0bc33cec6849f589116ed86b9a0fb70b8bcb79bb
|
Provenance
The following attestation bundles were made for pyhttplib-2.2.0.tar.gz:
Publisher:
publish.yml on Omena0/http
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyhttplib-2.2.0.tar.gz -
Subject digest:
77d459f90f96c767830878768a0f655dede22cbbfddda125c9de46c1c21bfe5b - Sigstore transparency entry: 692496966
- Sigstore integration time:
-
Permalink:
Omena0/http@c4b3ffbacac21eaa33f16a51e6836fe806794429 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Omena0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c4b3ffbacac21eaa33f16a51e6836fe806794429 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ce525e2eae835723ff5c3c5028ddccb5bb8bbd307f79f57e5ad039ee2569be1
|
|
| MD5 |
320f02dab18b82d40601349f481e8467
|
|
| BLAKE2b-256 |
be65001e86112a8c52c9618093d067a6f667ae8e5304d119515c90635f8359d1
|
Provenance
The following attestation bundles were made for pyhttplib-2.2.0-py3-none-any.whl:
Publisher:
publish.yml on Omena0/http
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyhttplib-2.2.0-py3-none-any.whl -
Subject digest:
1ce525e2eae835723ff5c3c5028ddccb5bb8bbd307f79f57e5ad039ee2569be1 - Sigstore transparency entry: 692496974
- Sigstore integration time:
-
Permalink:
Omena0/http@c4b3ffbacac21eaa33f16a51e6836fe806794429 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Omena0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c4b3ffbacac21eaa33f16a51e6836fe806794429 -
Trigger Event:
push
-
Statement type: