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.14.tar.gz (11.3 kB view hashes)

Uploaded Source

Built Distribution

clean_alchemy-0.1.14-py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 3

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