Skip to main content

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


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.13.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

clean_alchemy-0.1.13-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file clean_alchemy-0.1.13.tar.gz.

File metadata

  • Download URL: clean_alchemy-0.1.13.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for clean_alchemy-0.1.13.tar.gz
Algorithm Hash digest
SHA256 20f5c27bd5b9ccb83eb0c26b193efbfd8e297d84d7857e6d8f8e309eb92410af
MD5 fa4c489c7c8b573b57ead542220e74a7
BLAKE2b-256 7a5ae0ee38e7650f9688923a5cf6d9b8367b314d48da62673602b88ca8b767c9

See more details on using hashes here.

File details

Details for the file clean_alchemy-0.1.13-py3-none-any.whl.

File metadata

File hashes

Hashes for clean_alchemy-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 5b2d5415c871198a4a1e2fd092aeca0a7586e5976bab799fe9f17d8501b4a3b9
MD5 b07102cd982f06dbce110921092557ed
BLAKE2b-256 63313c3b1d9dec49157342739ef7ade45ece70b05ef326b9ab2912c8f7d7ccb7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page