Skip to main content

A tiny, single-file Flask-like ASGI web framework

Project description

All-Night

A tiny, single-file Flask-like ASGI web framework.

pip install all-night
from night import Night

app = Night()

@app.get("/")
def index():
    return {"hello": "night"}

Run with uvicorn app:app --reload or night run app.py.

See the documentation for guides and the API reference.

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

all_night-0.1.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

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

all_night-0.1.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file all_night-0.1.0.tar.gz.

File metadata

  • Download URL: all_night-0.1.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for all_night-0.1.0.tar.gz
Algorithm Hash digest
SHA256 55e5c0367b3642c4aeef5a895940df98df6a2cf52572925e1a21ae3fd2dcbfdd
MD5 2fd06a05ae01e6e1cfbbdbd6cc06971c
BLAKE2b-256 8fea1cb8dc2184495ed93a6ea451d849066150bed8ac24b32694c605f36e2239

See more details on using hashes here.

File details

Details for the file all_night-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: all_night-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for all_night-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5da7e07007e179bd6ae1ca59ed0843bb4bc35b3f49dc6e9d94ba834de795c119
MD5 bedc1e2554bd1369ee63483f52a1fbc9
BLAKE2b-256 dca4681321b3bd6d2b17e23dc2cf33d74f64e9bea1fbe77bba74c1870e14ff5f

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