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.2

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.2
File Size Uploaded Provenance Actions
dezh-0.1.2.tar.gz 27.8 kB With provenance Details for dezh-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 68.0 kB

Release files / dezh-0.1.2.tar.gz

Download URL dezh-0.1.2.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6bfe8d4826a3edd458385b9c8a43248744016b02a7fea80726746a8529f1ab7f
BLAKE2b-256 checksum
How to use checksums
0a0d029f3a702ff2efba4093dac7c90d8f454597853e5eb3be45c781ec032ec8
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.2-py3-none-any.whl

Download URL dezh-0.1.2-py3-none-any.whl
Size 40.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5d73577e3eeee9d8f116215eb94585e6cc97d2e93bcc9a1bc9645bc21ec2eea
BLAKE2b-256 checksum
How to use checksums
8d29bd32ce480a3b7a8322a603321ed8745036da874245c0c9d9be87a86ed14b
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.2

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.2.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.2 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