Skip to main content

quadkit-cli

The quadkit command line: project scaffolding, generators, a smart runner, and administrative commands for every stage of the application lifecycle. Contributor-based — other packages can register their own commands.

For day-to-day Quadkit developers: scaffold, generate, run, inspect.

Installation

uv add quadkit-cli
# or as a standalone tool:
uv tool install quadkit-cli

Requires Python >= 3.11.

Minimal working example

There is no code to write — the product is the command line:

# Create a new project (template defaults to web-api)
quadkit new project my-api

# Generate application code (list all generators: quadkit gen list)
quadkit gen provider MyProvider
quadkit gen controller Orders

# Serve the application; reload is on by default, pass --no-reload in prod
quadkit run my_app.app:create_app --host 0.0.0.0 --port 8000 --workers 4

Global options: --json for machine-readable output, --quiet, --debug, --no-color, and --config <path> to point at a specific application.yaml.

Command index

Command Purpose
quadkit new project / module / package scaffold projects, bounded contexts, and quadkit-* extensions
quadkit init initialize Quadkit in an existing project
quadkit add <provider> add a provider to a project (e.g. database, auth)
quadkit run [target] smart runner — auto-detects create_app, sets profile
quadkit dev start production-server startup
quadkit gen <what> code generation (controllers, providers, middleware, tests, more — see quadkit gen list)
quadkit test / quadkit lint project-level checks
quadkit db / quadkit events database / event-schema management
quadkit config / quadkit inspect / quadkit shell configuration, runtime introspection, REPL
quadkit project / quadkit contrib / quadkit system project tasks, contributors, system info
quadkit version framework and package versions

Per-distribution guide: quadkit-cli reference.

Optional extras

Verified against the package's pyproject.toml: [dev], [test], [all].

Configuration

The CLI reads application.yaml like any Quadkit application; its own section is cli (fields include default_template, default_database, color, verbose), overridable via QK_CLI__*, e.g. QK_CLI__COLOR=false.

Error handling

Commands report structured failures (use --json for machine-readable envelopes) and non-zero exit codes; --debug surfaces full tracebacks.

Testing

quadkit test runs the project suite; the CLI's own behavior is covered by the public test set the release pipeline executes from the exported tree.

Security

The CLI reads configuration and scaffolds code — it does not serve traffic. As with every distribution, keep the 0.x line pinned and review release notes on upgrade. Report vulnerabilities privately per SECURITY.md.

Stability

Version 0.0.3 in the 0.x series, released in lockstep with the other four distributions; APIs may change between minor versions until 1.0 — pin an exact version (quadkit-cli==0.0.3) or a tight range (>=0.0.3,<0.1.0). Full policy: stability and compatibility.

Issues: https://github.com/dbtinoy-/quadkit/issues

Release files for quadkit-cli 0.0.3

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

Source distribution (sdist)

Source distribution for quadkit-cli 0.0.3
File Size Uploaded
quadkit_cli-0.0.3.tar.gz 159.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quadkit-cli 0.0.3
File Interpreter ABI Platform
quadkit_cli-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 320.0 kB

Release files / quadkit_cli-0.0.3.tar.gz

Download URL quadkit_cli-0.0.3.tar.gz
Size 159.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c9364f7544052ab8accdc7518ef5397893563e2d8ae184b4d43f37771051568d
BLAKE2b-256 checksum
How to use checksums
7a16b3b6e28ccdd4b58c933f4182cc75906f12081a11b3acf66799ae459898b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Release files / quadkit_cli-0.0.3-py3-none-any.whl

Download URL quadkit_cli-0.0.3-py3-none-any.whl
Size 160.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0b0b9dba27157aa4dc55026e873e7495335e5d3a58df3f35a16cb2f89414bb3
BLAKE2b-256 checksum
How to use checksums
6da39ffa7ec2c3dc703f8ebbcd9e01c18e38cbdd9cd70e734e30bd0a13c929be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Release history Release notifications | RSS feed

0.0.42

2 release files

0.0.41

2 release files

0.0.4

2 release files

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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