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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0783433cdc7551aea3358ed2a97946c5aff8967a50dc3e3085daab8efb1464e |
|
MD5 | 0233985bedcd7e2fe05a8b3d3a0741da |
|
BLAKE2b-256 | a9225ca1a0851ded414ea5c10bfc6da52ca66d26323923b918d38f99b548b4b1 |
Hashes for api_project_generator-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f36009d1904cf8b5dadb965d584a7c5d0b1c5d0cbe213d71fcc6b14cbf594ed |
|
MD5 | e71deeabbd612672b22307f0a0a57efd |
|
BLAKE2b-256 | 8ffee6ee108f2fcd922826f2e7055851245565910613c297c1aeebd26a81cf82 |