No project description provided
Project description
API Project Generator
Simple API Structure Generator using tecnologies:
- FastAPI
- SQLAlchemy
- aiohttp
- aiomysql or asyncpg
Commands
-
create:api
: Creates the project structure and base classesOptional
--code
option auto opens code through acode project_folder_name
command. Optional--db-type
option allows to select database type from "postgres" or "mysql". (default: mysql)api-project create
-
create:table
: Creates a new table in file in {project_name}/database/tables/{table_module}/{table_file}.pyapi-project create:table [table_module] [table_name]
-
create:dto
: Creates a new DTO file in {project_name}/dtos/{dtos_module}/{dto_name}.pyapi-project create:dto [dtos_module] [dto_name]
-
create:enum
: Creates a new Enum file in {project_name}/dtos/enums/{enum_name}.pyThe
auto-opts
option in the command can be repeated and will be used as the enum fieldapi-project create:enum [enum_name] --auto-opts [opt_name]
Observations
All filenames and foldernames are
normalized automatically to snake_case.
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
Hashes for api-project-generator-0.3.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12f19074e49ec4a6b514e11890358fb1e1048a379fcbb0aef56c46aee46fb5c7 |
|
MD5 | a7c18d94a412d7fe76026939bf93cd39 |
|
BLAKE2b-256 | 663b4e32766aa9ba3444d54ca60d0bcf8c2b4087285657b1653213b2ec090bcc |
Hashes for api_project_generator-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24597d4816a74ef428045d3a03bd5b653804631f9072627c057a88aeb7b3fa5c |
|
MD5 | a66be0003cca2cb00852812a71f7f366 |
|
BLAKE2b-256 | deb4cc5b621d3aab49d17deff9f4c6ec725e817039b5c8fa0ab32800e076158d |