An Universal Command Line Interface (CLI) manager for FastAPI applications
Project description
octocli
CLI tool for managing FastAPI SQLAlchemy models — add, remove and inspect columns from the terminal.
Installation
pip install octocli
Usage
# Interactive mode
octo <directory> <tablename>
# Read model file
octo <directory> <tablename> read
# List columns
octo <directory> <tablename> list
# Add a column
octo <directory> <tablename> add <column> <type>
octo <directory> <tablename> add age int --nullable
# Remove a column
octo <directory> <tablename> rm <column>
License
MIT © Samuel Bagatelli
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 octocli-0.3.0.tar.gz.
File metadata
- Download URL: octocli-0.3.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f45f8705164bea8a5c8a790b2e8397867b686531b27593f849a642208c01821
|
|
| MD5 |
be9a3465d4b6c0774496df5e6020b125
|
|
| BLAKE2b-256 |
2bdad3cf221e6e9e218cbfb488dc4670b98a0849537c9e68c22acb5834cc36da
|
Provenance
The following attestation bundles were made for octocli-0.3.0.tar.gz:
Publisher:
publish.yml on samuelbagatelli/octocli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
octocli-0.3.0.tar.gz -
Subject digest:
6f45f8705164bea8a5c8a790b2e8397867b686531b27593f849a642208c01821 - Sigstore transparency entry: 1050907454
- Sigstore integration time:
-
Permalink:
samuelbagatelli/octocli@9d9789f8185410fd692cc5f7e10b3ea27edc3fde -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/samuelbagatelli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d9789f8185410fd692cc5f7e10b3ea27edc3fde -
Trigger Event:
push
-
Statement type:
File details
Details for the file octocli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: octocli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aba0cc35a48003c9be3ccdfd069235ce01165e2a98e1e9389436a4e87bd4f07a
|
|
| MD5 |
0ca5fa48e5dcde4dfeacc92a9a5f90e5
|
|
| BLAKE2b-256 |
81f415eef99147eed30a12a541500d34c6d8792e149e05f44c6e5268466152c1
|
Provenance
The following attestation bundles were made for octocli-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on samuelbagatelli/octocli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
octocli-0.3.0-py3-none-any.whl -
Subject digest:
aba0cc35a48003c9be3ccdfd069235ce01165e2a98e1e9389436a4e87bd4f07a - Sigstore transparency entry: 1050907551
- Sigstore integration time:
-
Permalink:
samuelbagatelli/octocli@9d9789f8185410fd692cc5f7e10b3ea27edc3fde -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/samuelbagatelli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d9789f8185410fd692cc5f7e10b3ea27edc3fde -
Trigger Event:
push
-
Statement type: