No project description provided
Project description
🚀 Karigor CLI
A Laravel Artisan-inspired CLI for Python FastAPI projects.
Quick Start
Install:
pip install karigor
Show available commands:
karigor --help
Available Commands
karigor init— initialize a new projectkarigor serve— run the applicationkarigor alembic:install— install Alembic and setup configurationkarigor alembic:migrate [message]— run Alembic revision and upgrade headkarigor alembic:fresh— run Alembic upgrade headkarigor create:modules <path> -a|--all— create a new module with all componentskarigor create:model <path>— create a model filekarigor create:repository <path>— create a repository filekarigor create:route <path>— create a route filekarigor create:schema <path>— create a schema filekarigor create:services <path>— create a services file
Command Reference
karigor init
Creates starter files and directories for a FastAPI project.
karigor serve
Starts the application from main.py.
karigor alembic:install
Sets up Alembic with the required configuration.
karigor alembic:migrate [message]
Generates and applies a database migration. If no message is provided, a timestamp is used.
karigor alembic:fresh
Runs alembic upgrade head to bring the database schema to the latest revision.
karigor create:modules
Creates a new module and all related components. This command requires the -a or --all flag.
karigor create:model
Creates a new Python model file.
karigor create:repository
Creates a new repository file.
karigor create:route
Creates a new route file.
karigor create:schema
Creates a new schema file.
karigor create:services
Creates a new services file.
Requirements
- Python 3.10+
- FastAPI
- SQLAlchemy
- Alembic
Contributing
git clone https://github.com/yourusername/karigor.git
cd karigor
pip install -e .
pytest
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 karigor-1.3.1.tar.gz.
File metadata
- Download URL: karigor-1.3.1.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa9105f149c0e4fdf33d9f9cc6edad17f93f8c98a940d7ad5ba80cbd29274524
|
|
| MD5 |
87da31fba88644fd2aff885f38644388
|
|
| BLAKE2b-256 |
4360a8d944a4d4f18b251b3b8ba943b8b915bea81591188b68d52f22cfdfb556
|
Provenance
The following attestation bundles were made for karigor-1.3.1.tar.gz:
Publisher:
publish.yml on tawhidjony/karigor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
karigor-1.3.1.tar.gz -
Subject digest:
aa9105f149c0e4fdf33d9f9cc6edad17f93f8c98a940d7ad5ba80cbd29274524 - Sigstore transparency entry: 2046614981
- Sigstore integration time:
-
Permalink:
tawhidjony/karigor@d79506af58b4db400099e525adf855c0ec70afee -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tawhidjony
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d79506af58b4db400099e525adf855c0ec70afee -
Trigger Event:
push
-
Statement type:
File details
Details for the file karigor-1.3.1-py3-none-any.whl.
File metadata
- Download URL: karigor-1.3.1-py3-none-any.whl
- Upload date:
- Size: 23.1 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 |
a296ec907fb874395d59e21daf3b79f0777888488fee494eeef0b1e3d26e4b1b
|
|
| MD5 |
b7daf003c36647523f1ac8aca9697557
|
|
| BLAKE2b-256 |
a0c0cf6c0aefeab567f7b765fa3bfcb7c6b054d863a5c48c612867d9defeaaa4
|
Provenance
The following attestation bundles were made for karigor-1.3.1-py3-none-any.whl:
Publisher:
publish.yml on tawhidjony/karigor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
karigor-1.3.1-py3-none-any.whl -
Subject digest:
a296ec907fb874395d59e21daf3b79f0777888488fee494eeef0b1e3d26e4b1b - Sigstore transparency entry: 2046615098
- Sigstore integration time:
-
Permalink:
tawhidjony/karigor@d79506af58b4db400099e525adf855c0ec70afee -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tawhidjony
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d79506af58b4db400099e525adf855c0ec70afee -
Trigger Event:
push
-
Statement type: