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:
- Clone the repository
- Create a virtual environment:
python -m venv venv - Activate the virtual environment
cd venv\Scripts\activate - Install development dependencies:
pip install -r requirements.txt - Install the package in editable mode:
pip install -e .
License
This project is licensed under the MIT License.
Build wheel
- First, let's install the necessary tools:
pip install setuptools wheel twine - Now, let's try building the distribution files again:
python setup.py sdist bdist_wheel - Before uploading to PyPI, it's a good practice to check your package:
twine check dist/* - 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/
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi-quickstart-genesis-0.1.3.tar.gz.
File metadata
- Download URL: fastapi-quickstart-genesis-0.1.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
646b00ecdcefc6080cb2b96980c00a5774892021aabc22322b2496705925d822
|
|
| MD5 |
fd68fe548206c43d9bdca625631daa81
|
|
| BLAKE2b-256 |
18aacf6a901b0816aec07fd568391ac63519c038c993eae48f2f6f604e02746f
|
File details
Details for the file fastapi_quickstart_genesis-0.1.3-py3-none-any.whl.
File metadata
- Download URL: fastapi_quickstart_genesis-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bee9f3d0fb70367cab320470c5899b2585f1f738d1c0acdb8894564d351dbfb
|
|
| MD5 |
dba833d2a3833bc2e93b6d86ffad5447
|
|
| BLAKE2b-256 |
93d7593654882070a4e1ad7c83e6af99fd68c81b5c443395d4231e36e58d0823
|