FastAPI EasyStart simplifies FastAPI project setup with ready-to-use templates and configurations for environment management, CORS, and authentication. It lets you focus on coding by handling the boilerplate, making it easy to launch projects quickly.
Project description
FastAPI EasyStart
FastAPI EasyStart is a streamlined library designed to help developers quickly set up and configure a FastAPI project with essential components. It simplifies the process of creating APIs by providing ready-to-use templates and configurations for common tasks such as authentication, database integration, and CORS settings.
Features
- 🚀 Quick Start Templates: Get started with FastAPI in seconds using predefined project structures and configurations.
- 🔧 Environment Management: Easily manage environment variables and settings.
- 🌍 CORS Configuration: Simplify CORS setup with built-in configurations.
- 📦 Modular Components: Use only what you need with modular and customizable components.
- 💡 Custom Exception Classes: Enhance error handling with predefined, customizable exception classes tailored for FastAPI.
- 🔐 Authentication: Easily integrate JWT-based authentication. (Coming Soon)
- 💾 Database Support: Seamless integration with popular databases like SQLite, PostgreSQL, and MongoDB. (Coming Soon)
Installation
You can install the fastapi-easystart package using either pip or pipenv:
pip install fastapi-easystart
Quickstart
1. Initialize a New FastAPI Project
Begin by creating a new FastAPI project with the default settings and configurations. Run the following command:
python -m fastapi_easystart.main init
This command will generate the basic project structure, including directories and initial files, based on the easy start template.
2. Configure the main.py File
After initializing your project, configure the main.py file to set up the FastAPI application. If you want to either override or merge the existing main.py file with a new configuration, use the following command:
python -m fastapi_easystart.main config-main
3. Running the Development Server
Once the project is set up, you can start the development server:
uvicorn main:app --reload
Alternatively, you can use the FastAPI CLI command:
fastapi dev main.py
Documentation
For full documentation, visit the FastAPI EasyStart Documentation (Coming Soon).
License
This project is licensed under a modified MIT License - see the LICENSE file for details.
This version organizes the information clearly, ensures that placeholders for future content are marked, and maintains a professional tone throughout. Adjust the documentation and URLs when they are available.
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
File details
Details for the file fastapi_easystart-0.0.7.tar.gz
.
File metadata
- Download URL: fastapi_easystart-0.0.7.tar.gz
- Upload date:
- Size: 37.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 137d51887944abc1354d8032d83c512499d9d65f44799c1f07e9e2a55095b0de |
|
MD5 | e669e5c2b779d7475909474eb817939f |
|
BLAKE2b-256 | dcaa83bad0601ace0366cdbe0541f6e7c9575e8e91172de5d5f52c6f27cfd11a |
File details
Details for the file fastapi_easystart-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: fastapi_easystart-0.0.7-py3-none-any.whl
- Upload date:
- Size: 56.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36887d1787fe38f7671b1053d865beb1c9ff98ff9f223d7ec0bbfe181fd7718e |
|
MD5 | 65e4318483453f8d857d9eb8c94b780f |
|
BLAKE2b-256 | 673f07db6cd578c3294be1af1e04ff0a3ac2c6b4ce0c1cbca462e2779ffb5a1a |