Skip to main content

A quick start tool for FastAPI projects

Project description

FastAPI QuickStart

FastAPI QuickStart is a tool to quickly set up a basic structure for a FastAPI application.

Installation

pip install fastapi-quickstart-genesis

Usage

To create a new FastAPI project structure:

python -m fastapi_quickstart my_app

This will create a new directory my_app with a basic FastAPI application structure.

Project Structure

The generated project will have the following structure:

my_app/
├── app/
│   ├── main.py
│   └── models.py
├── tests/
└── requirements.txt

Development

To set up the development environment:

  1. Clone the repository
  2. Create a virtual environment: python -m venv venv
  3. Activate the virtual environment cd venv\Scripts\activate
  4. Install development dependencies: pip install -r requirements.txt
  5. Install the package in editable mode: pip install -e .

License

This project is licensed under the MIT License.

Build wheel

  1. First, let's install the necessary tools: pip install setuptools wheel twine
  2. Now, let's try building the distribution files again: python setup.py sdist bdist_wheel
  3. Before uploading to PyPI, it's a good practice to check your package: twine check dist/*
  4. If everything looks good, you can upload to PyPI: twine upload dist/*

You'll be prompted for your PyPI username and password. If you haven't registered on PyPI yet, you'll need to do that first at https://pypi.org/account/register/

  1. After uploading, you can install your package using pip: pip install fastapi-quickstart-genesis

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

fastapi-quickstart-genesis-0.1.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

fastapi_quickstart_genesis-0.1.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file fastapi-quickstart-genesis-0.1.3.tar.gz.

File metadata

File hashes

Hashes for fastapi-quickstart-genesis-0.1.3.tar.gz
Algorithm Hash digest
SHA256 646b00ecdcefc6080cb2b96980c00a5774892021aabc22322b2496705925d822
MD5 fd68fe548206c43d9bdca625631daa81
BLAKE2b-256 18aacf6a901b0816aec07fd568391ac63519c038c993eae48f2f6f604e02746f

See more details on using hashes here.

File details

Details for the file fastapi_quickstart_genesis-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_quickstart_genesis-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3bee9f3d0fb70367cab320470c5899b2585f1f738d1c0acdb8894564d351dbfb
MD5 dba833d2a3833bc2e93b6d86ffad5447
BLAKE2b-256 93d7593654882070a4e1ad7c83e6af99fd68c81b5c443395d4231e36e58d0823

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