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

Uploaded Python 3

File details

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

File metadata

  • Download URL: zayt-0.2.4.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.7 CPython/3.14.3 Linux/6.17.0-22-generic

File hashes

Hashes for zayt-0.2.4.tar.gz
Algorithm Hash digest
SHA256 6ede628e90b38dd80a56c8c376711ceec8dc48928f1598e11ff97e17366c3d4f
MD5 a6921da8a80c2445207f03e2af4f6b65
BLAKE2b-256 5065e4e2dc2a11bd05eb53a1518e83b6b77a4697bec195490fd8ac9270eab410

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for zayt-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3f60cd2daabb4e4e1c06a3fd4698d400b4da609878f7f99b2cb98b00f782c07d
MD5 a32173c11dae9ff1e7a09a14e9db5e5d
BLAKE2b-256 16559c089418b92f2598cc941ca1b5e4a973f7c000edc777827479bb2227a1cd

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