Skip to main content

CLI tool for the QStack framework (qstack).

Project description

qstack-cli

Command-line tool for the QStack framework — scaffolds, generates, and manages FastAPI projects built on qstack.

Install

pip install qstack-cli

Dev install:

git clone https://github.com/yourname/qstack-cli.git
cd qstack-cli
pip install -e .

Commands

Command Purpose
qstack new <name> Interactive project scaffold
qstack generate <type> <name> Generate model / schema / repository / service / router / crud
qstack db migrate <msg> Alembic revision --autogenerate
qstack db upgrade [rev] Run migrations
qstack db downgrade [rev] Roll back
qstack db seed Run app/seeds.py
qstack dev Start Docker services + uvicorn with reload
qstack test [path] Run pytest (optional coverage)
qstack doctor Health-check the current project
qstack info Show project config and features

Quick Start

qstack new my-api
cd my-api
cp .env.example .env
docker compose up -d
# visit http://localhost:8000/docs

Generate CRUD

qstack generate crud Task

Creates app/models/task.py, app/schemas/task.py, app/repositories/task.py, app/services/task.py, app/routers/task.py — all wired to qstack base classes.

License

MIT

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

qstack_cli-0.2.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qstack_cli-0.2.0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file qstack_cli-0.2.0.tar.gz.

File metadata

  • Download URL: qstack_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qstack_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 76b050ef99624f46104002fddb3c28c7352453cc4fbbc856195fb95e51c85566
MD5 213b1fe3f6d07574ed36cbbd06329959
BLAKE2b-256 73131886b88d72da15ec22e9d36ed9d2f2d0770b6de8b1ebe190f0473916b8e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for qstack_cli-0.2.0.tar.gz:

Publisher: workflow.yml on QukzScpz/qstack-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qstack_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: qstack_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qstack_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91c01b1769793e5723ef589e54c3498932b11eae688fa8ba3b3bc425fe7a2980
MD5 4f7eb39a174c0fb611911535b28cf503
BLAKE2b-256 3251bd3d91e7b129d32789abd8601f4e228afbacf3faff4ca5253e5b5ac74edd

See more details on using hashes here.

Provenance

The following attestation bundles were made for qstack_cli-0.2.0-py3-none-any.whl:

Publisher: workflow.yml on QukzScpz/qstack-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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