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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76b050ef99624f46104002fddb3c28c7352453cc4fbbc856195fb95e51c85566
|
|
| MD5 |
213b1fe3f6d07574ed36cbbd06329959
|
|
| BLAKE2b-256 |
73131886b88d72da15ec22e9d36ed9d2f2d0770b6de8b1ebe190f0473916b8e3
|
Provenance
The following attestation bundles were made for qstack_cli-0.2.0.tar.gz:
Publisher:
workflow.yml on QukzScpz/qstack-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qstack_cli-0.2.0.tar.gz -
Subject digest:
76b050ef99624f46104002fddb3c28c7352453cc4fbbc856195fb95e51c85566 - Sigstore transparency entry: 1318922524
- Sigstore integration time:
-
Permalink:
QukzScpz/qstack-cli@502b7c0e1317f350c7adcfbdec5cbc700cf70fa1 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/QukzScpz
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@502b7c0e1317f350c7adcfbdec5cbc700cf70fa1 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91c01b1769793e5723ef589e54c3498932b11eae688fa8ba3b3bc425fe7a2980
|
|
| MD5 |
4f7eb39a174c0fb611911535b28cf503
|
|
| BLAKE2b-256 |
3251bd3d91e7b129d32789abd8601f4e228afbacf3faff4ca5253e5b5ac74edd
|
Provenance
The following attestation bundles were made for qstack_cli-0.2.0-py3-none-any.whl:
Publisher:
workflow.yml on QukzScpz/qstack-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qstack_cli-0.2.0-py3-none-any.whl -
Subject digest:
91c01b1769793e5723ef589e54c3498932b11eae688fa8ba3b3bc425fe7a2980 - Sigstore transparency entry: 1318922634
- Sigstore integration time:
-
Permalink:
QukzScpz/qstack-cli@502b7c0e1317f350c7adcfbdec5cbc700cf70fa1 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/QukzScpz
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@502b7c0e1317f350c7adcfbdec5cbc700cf70fa1 -
Trigger Event:
push
-
Statement type: