Skip to main content

A lightweight WSGI framework for building fast and flexible Python web applications

Project description

Wiverno

Wiverno — a lightweight WSGI framework for building fast and flexible Python web applications.

Installation

Clone the repository and install the package using pip:

pip install wiverno

Minimal example

from wiverno import Wiverno

app = Wiverno()

@app.get("/")
def index(request):
    return "200 OK", "<h1>Hello, World!</h1>"

@app.get("/users/{id:int}")
def get_user(request):
    user_id = request.path_params["id"]
    return "200 OK", f"<h1>User {user_id}</h1>"

Running

Save the example above to run.py and start the development server:

wiverno run dev

The application will be available at http://localhost:8000/.

Project details


Download files

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

Source Distribution

wiverno-1.0.0.tar.gz (90.4 kB view details)

Uploaded Source

Built Distribution

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

wiverno-1.0.0-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file wiverno-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for wiverno-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7255f323bf9a028cbb15aa3b113f277fe328d1ee164305c19eb639c196a0466f
MD5 c46e0094a5eaa8e90d1f8c0a871e68e7
BLAKE2b-256 24ef5a19995d5e97da89d933c5f21e31237c9f8c902e8650820232df216b7244

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiverno-1.0.0.tar.gz:

Publisher: publish.yml on Sayrrexe/Wiverno

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

File details

Details for the file wiverno-1.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for wiverno-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8e0aca21e238bf10ff9fd3b89c675803188df3af29cddab72741a53ba1a8041
MD5 9b19551ed1a08f3898c3370d33af04ae
BLAKE2b-256 0c519850f901e3a7cf0f4bd1ea18623c872a03889e65890bae4c7e64ddcaac7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiverno-1.0.0-py3-none-any.whl:

Publisher: publish.yml on Sayrrexe/Wiverno

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

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