Skip to main content

Library for initializing FastAPI projects - create-app-fastapi

Project description

create-app-fastapi

A simple CLI tool to creating a FastAPI project with a predefined structure, including APIs,DB, models, schemas, and settings for 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 install create-app-fastapi

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.0.tar.gz (5.7 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.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for create_app_fastapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f21fa6349b7d3bdf6380fbcb706f2117bb889d167eed6ed72ef5a85116011e78
MD5 2c15d78af8e4723c42a63fc282a6b732
BLAKE2b-256 b436773814da97d031d50267184af5a08e8b451e72fc60f655f86e2b7ca5ae45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for create_app_fastapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b92e9fe14ee4829d9c9568f9d1e46a01a911d22ec9ff06447da147094fd64b7
MD5 88326a8a313b39e4cb86c141fd4b1175
BLAKE2b-256 7013453ec142707f9a8df02c4128953c39aee1172d1d4d18ef41f30c6ee3a441

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