Skip to main content

ASGI Web Framework with Dependency Injection

Project description

Project Zayt

Zayt is a Python ASGI web framework built on top of asgikit and inspired by Spring Boot, AspNet, FastAPI and Go's net/http.

It features a Dependency Injection system to help build robust and reliable applications.

Quick start

Install zayt and uvicorn to run application:

pip install zayt uvicorn[standard]

Create a module called application.py:

touch application.py

Create a handler:

from asgikit import Request
from zayt.web import get


@get
async def hello(request: Request):
    await request.respond_text("Hello, World!")

Run application with uvicorn (Zayt will automatically load application.py):

uvicorn zayt.run:app --reload

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

zayt-0.2.0.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

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

zayt-0.2.0-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

Details for the file zayt-0.2.0.tar.gz.

File metadata

  • Download URL: zayt-0.2.0.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.6 CPython/3.14.3 Linux/6.17.0-14-generic

File hashes

Hashes for zayt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d067c0a5582b418d63f9a8644ad17c7fb349359c9944f86a92f400dd9daedbb5
MD5 a0db53a79524faa7b44320167b21a506
BLAKE2b-256 794a11908dbc97da4a6fd9072a4759e6ca121aac8b9ac52ba75f3960992b1578

See more details on using hashes here.

File details

Details for the file zayt-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: zayt-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 38.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.6 CPython/3.14.3 Linux/6.17.0-14-generic

File hashes

Hashes for zayt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90f5f40114a7e8c2f42210eac373228f10bc76540db1cc476d64cd2c05cb1636
MD5 dc9ac6871d91773665957a7a8544f253
BLAKE2b-256 ffd936b638405de6e05760efe1ee396d220141c8a255ce48165fb28aef47038e

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