A template for FastAPI projects with state management, performance optimization, flexibility, and integration.
Project description
FastAPI-Flex
FastAPI-Flex is a template library designed to streamline the development of FastAPI projects by incorporating principles of efficient state management, performance optimization, flexibility, and seamless integration. This library aims to provide developers with a robust foundation for building efficient, scalable, and maintainable FastAPI applications.
Features
- Efficient State Management: Manage the state of your application effectively with minimal overhead.
- Performance Optimization: Includes various optimizations to ensure your FastAPI application runs smoothly and efficiently.
- Flexibility: Easily extend and customize the library to fit your specific project requirements.
- Seamless Integration: Integrates effortlessly with other tools and libraries commonly used in FastAPI projects.
Installation
Install FastAPI-Flex using pip:
pip install fastapi-flex
Getting Started
Here's a quick example to get you started with FastAPI-Flex:
from fastapi import FastAPI
from fastapi_flex import FlexApp
app = FastAPI()
flex_app = FlexApp(app)
@app.get("/")
def read_root():
return {"message": "Hello World"}
# Add your routes and configuration here
if __name__ == "__main__":
import uvicorn
uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True)
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
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_flex-0.1.0.tar.gz.
File metadata
- Download URL: fastapi_flex-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2abeff9a0aca48b525a732470bb2a3094bc69e9d71a290c2a7f399a4ba26cba6
|
|
| MD5 |
85b50c31ce89bff15187525a35d4d32a
|
|
| BLAKE2b-256 |
c0d27601187574e65af8e541a4c0d96ac81ab32458dad72d1203e14d1d4af341
|
File details
Details for the file fastapi_flex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fastapi_flex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d96b6561e20012e140192672d832886184df30db92ef289ea6774008bc16966
|
|
| MD5 |
4e3e2f5d892467bbb82d61a51a9faf11
|
|
| BLAKE2b-256 |
ed1849bde912fd7dd58bc189a69ef7953275f496c37b668603115186c26a6f52
|