A framework for implementing Clean Architecture using SQLAlchemy for FastAPI.
Project description
CleanAlchemy
CleanAlchemy is a Python package that provides a framework for implementing Clean Architecture using SQLAlchemy. It includes base classes for entities, DAOs, services, and repositories, making it easier to structure and organize your code. While it is intended to be framework-agnostic, it currently only supports FastAPI.
Features
- Abstract Base Classes: For DAOs, repositories, and services.
- SQLAlchemy Integration: Simplifies database interactions.
- Clean Architecture Principles: Promotes separation of concerns and maintainability.
- Framework Agnostic: Can be used with FastAPI, Flask, Django, etc.
- Pydantic Integration: For data validation and settings management.
Installation
You can install CleanAlchemy using pip:
pip install clean-alchemy
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
clean_alchemy-0.1.14.tar.gz
(11.3 kB
view details)
Built Distribution
File details
Details for the file clean_alchemy-0.1.14.tar.gz
.
File metadata
- Download URL: clean_alchemy-0.1.14.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f9c53b938684ff337059e8859b5a7f82e571bf9fecdd3f16b7fe0035ae18c8c |
|
MD5 | a4f029bd6a33d14c1c6f3318d283bcc9 |
|
BLAKE2b-256 | 5396a1f2513827ac5a43d4479b8cd0f2363ccb7710e95314a04de12651606104 |
File details
Details for the file clean_alchemy-0.1.14-py3-none-any.whl
.
File metadata
- Download URL: clean_alchemy-0.1.14-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3b50c6a3e5ad95e39b1665528f34fd023c1d3a967a1f76b3999adec00f45b4f |
|
MD5 | 7eb96e0984458bd600eba16793bb0cd7 |
|
BLAKE2b-256 | 80949a9667805f5dfd5d9f16ead94c516e0c61afb4464b1e46fb6e8fb309a4ca |