Skip to main content

🏰 Dezh

A modular FastAPI framework with an Artisan-style CLI, built-in auth, exception handling, request tracing, and optional MCP support.

Features

  • Modular architecture — app/ for your code, framework/ for the reusable core, cli/ for tooling
  • Artisan-style CLI — dezh make module posts, dezh migrate up, dezh route list, dezh new myapp
  • Structured exceptions — 12 domain exception classes with a unified JSON error format
  • Request ID + JSON logging — every request gets an X-Request-ID, logs are parseable in production
  • Rate limiting — built-in with slowapi, applied to auth endpoints by default
  • Multi-database — SQLite, PostgreSQL, MySQL via DB_CONNECTION
  • Optional MCP — expose tools to LLMs via pip install -e ".[mcp]"

Requirements

  • Python 3.11+ (3.12 recommended)
  • Redis (optional, for background jobs via ARQ)

Installation

# Create a new project
pip install dezh
dezh new myapp
cd myapp

# Or install into an existing project
pip install -e ".[dev]"

Metadata

Release files for dezh 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dezh 0.1.0
File Size Uploaded Provenance Actions
dezh-0.1.0.tar.gz 28.2 kB With provenance Details for dezh-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dezh 0.1.0
File Interpreter ABI Platform Actions
dezh-0.1.0-py3-none-any.whl Python 3 none any Details for dezh-0.1.0-py3-none-any.whl

Total release size: 68.2 kB

Release files / dezh-0.1.0.tar.gz

Download URL dezh-0.1.0.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6dbd8101c528844d675f74b3a515ce18706b5b0ccc4dfca3e51609367d0501ac
BLAKE2b-256 checksum
How to use checksums
cb3b195e9e145f1e19afab3b9a722c071b8237e65361faf6d3a2e0ff8b885ee1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / dezh-0.1.0-py3-none-any.whl

Download URL dezh-0.1.0-py3-none-any.whl
Size 40.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f0684ffba687108d30a6c70ced654ceafdd6a618a010392452e86e3074e48c7
BLAKE2b-256 checksum
How to use checksums
3ce67d48308c1a311510007d4b182eb719a36da12c20f6a5aca5c5cda6a9b345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for dezh 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dezh-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page