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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5930bd04a12d019e3ab30cf5b9e0c3e7b98bb01b30f88cc3dd0626b41af6018e |
|
MD5 | 70a83ff1b08409b5bf59c1c6df7effe2 |
|
BLAKE2b-256 | 71a4de08ced559a686d91de420b08ad6b3881769dc3cfb057ce37e9fbd031435 |
Hashes for api_project_generator-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cfd36bc23f40f8c4a9eda44f0d60d640d879332f63771ccffb0f0410f00f44c |
|
MD5 | 22cde3db2dc99a64fec741ecce560835 |
|
BLAKE2b-256 | 8434bf3f1df756871e51d3fb4a05547152f8b6f9f8b9c39b93157e2873ef9b14 |