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

Uploaded Python 3

File details

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

File metadata

  • Download URL: zayt-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e2b3fcf763a3e6de769f7e90ab8182fd039b8f5f2c599e85c07e05cac2d9bfbe
MD5 4c7421b665c7c68ff253dc59ef901ac8
BLAKE2b-256 938bdb40f1fc1561d353b51906f6bf11ffe74f5dc0da7d578133649e5c809177

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zayt-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 558af1bf5b22dabe5e9de0ea871342c6ba2a703b63fa8199bd21eade3a91374e
MD5 2be987ef374825be550ae3c50dfda61a
BLAKE2b-256 dcdc7fa1fda9ece3b49be9276ea54f9b8633a74cf9e121d6d4b819b765a510a3

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