Skip to main content

Library for initializing FastAPI projects - create-app-fastapi

Project description

create-app-fastapi

A simple CLI tool for generating FastAPI projects with a predefined structure, including APIs, database setup, models, schemas, and configuration files, enabling a quick start to development.

Installation

To install this package, use the following command:

pip install create-app-fastapi

Usage

After installation, create a new FastAPI project by running:

pip create-app-fastapi project-name

Output

The generated project will have the following structure:

root-folder/
|- APIs/
|  |- __init__.py
|  |- api.py
|- models/
|  |- __init__.py
|  |- model.py
|- schemas/
|  |- __init__.py
|  |- schema.py
|- settings/
|  |- __init__.py
|  |- auth.py
|  |- config.py
|  |- db.py
|- testcase/
|  |- __init__.py
|  |- test_main.py
|- venv/
|-.gitignore
|- main.py
|- requirements.txt

Features

  • Predefined project structure for FastAPI applications.

  • Includes APIs, models, schemas, and settings files.

  • Ready-to-use database connection file (db.py).

  • Simplifies setting up new FastAPI projects.

    ------- Happy Coding! 🎉 --------

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

create_app_fastapi-0.1.4.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_app_fastapi-0.1.4-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file create_app_fastapi-0.1.4.tar.gz.

File metadata

  • Download URL: create_app_fastapi-0.1.4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for create_app_fastapi-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ce32564b8b72a39d79f609bc0c2455a229b8699c5ad9ded6bd32f2d424bb3dbc
MD5 b66fea8814a45879c18977ba28abeeaf
BLAKE2b-256 1ab871dfa8ddffc680091ebeee2c87c11de622ae796cdef4152e52efe1a11612

See more details on using hashes here.

File details

Details for the file create_app_fastapi-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for create_app_fastapi-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7572285372bcd950bdb07ef5de32390bde3650e25aea81cc8fbac2ca57db8253
MD5 f5a4c84b2bbef7590db24dda49732585
BLAKE2b-256 cc6fe380d80cc52c900b5a77abd02e7bc1d44abbb281b7ed2c89c108674a8c5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page