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.1.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.1-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zayt-0.2.1.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-19-generic

File hashes

Hashes for zayt-0.2.1.tar.gz
Algorithm Hash digest
SHA256 716f98c22ebd403a3baf9020292b64ba182b8401192bf94c94ceddf47bded4f3
MD5 2df5bc5e179b3271a20338320c56143b
BLAKE2b-256 94939db32821830e1f25232f0199dca343db8d884d9403f94e5c712984ff93c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zayt-0.2.1-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-19-generic

File hashes

Hashes for zayt-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6459b26b4a71d2acbf813bfd300c245c732122e9242910d68b786e78bcee6b0
MD5 174e2ed2409d601b1c5f0abc7d6fbd22
BLAKE2b-256 297e37bd4f5c210c7bd3b635866efc8f3b02f38e68ea610de245b4371875e673

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