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.3.tar.gz (46.8 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.3-py3-none-any.whl (38.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zayt-0.2.3.tar.gz
Algorithm Hash digest
SHA256 14c20c284ab71688caf2e86c45fde41d6ecbfd7171ace60888a66492c699494a
MD5 17dfbdc15008995ac3a3bed2ce7c8b9f
BLAKE2b-256 989db32315fb4ff812c6066310d184fd88e6252b1c3420d89a4f1dab05184f79

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for zayt-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0e80bc2f7c3217795de07451c973e3f314464e755a0e3708831d156c525bad83
MD5 1fcea51a5dbede01864efca80e421aa8
BLAKE2b-256 c2e475346a0dc936afa2584b4f04462acdf6bdb9d3f8293a76bad8e5045202ee

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