awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
cosmicpython avatar

cosmicpython/book

0
View on GitHub↗
3,823 stars·566 forks·Python·14 viewswww.cosmicpython.com↗

Book

This project is a technical resource and pattern library for building enterprise applications with Python. It serves as a guide for implementing clean architecture, providing a framework for separating core business logic from infrastructure and external frameworks.

The material focuses on Domain-Driven Design and the application of architectural patterns to maintain complex business requirements. It provides specific guidance on the Repository pattern for data abstraction, Command-Query Responsibility Segregation for optimizing read and write paths, and the use of dependency inversion to decouple system components.

The scope covers a broad range of software architecture capabilities, including event-driven system design, unit-of-work transaction management, and API isolation through adapters. It also details methods for managing component dependencies via registries and implementing service-layer orchestration.

Features

  • Clean Architecture Implementations - Provides a technical reference for implementing clean architecture using ports and adapters to isolate business logic.
  • Domain-Driven Designs - Provides a comprehensive guide on aligning software architecture with complex business domains using DDD.
  • CQRS Patterns - Applies architectural patterns that separate read and write operations to optimize data retrieval and performance.
  • Data Access Abstractions - Implements interface layers that decouple application logic from specific underlying storage engines.
  • Read-Write Splitting - Implements the separation of read and write models to optimize performance and simplify complex business logic.
  • Storage-Agnostic Persistence Layers - Provides abstraction layers that allow application state to be persisted across different backends without changing business logic.
  • Layered Architectures - Uses structural patterns to divide the application into distinct layers of responsibility, isolating business logic.
  • Repository Pattern Abstractions - Implements the repository pattern to hide persistent storage details behind a collection-like interface for the domain model.
  • Dependency Argument Injection - Implements passing external services as arguments to functions to ensure testability and modularity.
  • API Adapters - Implements adapter classes to wrap external APIs and prevent third-party changes from leaking into the core business logic.
  • Python Patterns - Supplies a library of Python-specific architectural patterns, including unit-of-work and dependency inversion.
  • Command Query Responsibility Segregation - Provides a detailed implementation of the architectural pattern separating data modification commands from data retrieval queries.
  • CQRS Patterns - Offers guidance on separating read and write models to optimize system performance and data retrieval.
  • Domain Model Implementations - Guides the translation of complex business requirements into independent domain models for maintainability and testability.
  • Enterprise Application Architectures - Provides a framework for structuring complex Python applications by separating business logic from external frameworks.
  • Event Bus Architectures - Implements a domain-event message bus to communicate state changes and trigger secondary actions without tight coupling.
  • Event-Driven Logic - Implements event-driven logic using domain events and message buses to handle secondary actions and state changes.
  • Dependency Inversion Patterns - Demonstrates dependency inversion patterns to keep domain logic agnostic of specific infrastructure and database frameworks.
  • Repository Pattern Implementations - Implements the repository pattern to decouple domain logic from specific database technologies and schemas.
  • Logic And Infrastructure Decoupling - Demonstrates the decoupling of core domain rules from infrastructure concerns like database schemas and user interfaces.
  • Service Layers - Provides a dedicated service layer to orchestrate domain objects and infrastructure adapters for primary use cases.
  • Software Architecture Guides - Serves as a comprehensive guide for building enterprise Python applications by separating business logic from infrastructure.
  • Command Query Separation - Implements architectural designs that strictly separate methods that modify state from those that return data.
  • Logic Decoupling - Provides architectural patterns to separate core business rules from delivery mechanisms and database schemas.
  • Coupling and Dependency Management - Provides guidance on minimizing inter-module reliance and managing how components interact via centralized mechanisms.
  • Third-Party API Integrations - Provides adapter-based isolation to decouple business logic from the specifics of third-party API integrations.
  • In-Memory Fakes - Shows how to create in-memory fakes of external services to ensure deterministic and fast unit tests.
  • Event-Driven State Buses - Uses domain events and message buses to communicate state changes and trigger secondary actions across the system.
  • Service Entrypoints - Defines system entrypoints via a service layer to decouple use case orchestration from specific delivery mechanisms.
  • Component Registries - Implements a registry-based system to map identifiers to concrete implementations for decoupled component resolution.
  • Circular Dependency Resolution - Employs techniques to resolve circular module dependencies by inverting control for a single direction of flow.
  • Repository Patterns - Demonstrates architectural patterns that isolate the domain layer from data mapping and storage details.
  • Unit of Work Patterns - Implements the unit-of-work pattern to ensure atomic database updates by tracking changes during a business transaction.
  • Component Registries - Uses a centralized registry to map interfaces to concrete implementations for flexible runtime component resolution.

Star history

Star history chart for cosmicpython/bookStar history chart for cosmicpython/book

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Book

Similar open-source projects, ranked by how many features they share with Book.
  • threedotslabs/wild-workouts-go-ddd-exampleThreeDotsLabs avatar

    ThreeDotsLabs/wild-workouts-go-ddd-example

    6,348View on GitHub↗

    This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query Responsibility Segregation (CQRS) patterns using the Go programming language. It serves as a sample application to demonstrate how to decouple core domain rules from infrastructure and delivery mechanisms. The system is built as a gRPC microservices architecture, utilizing type-safe communication and service contracts. It implements an event-driven architecture to manage eventual consistency and asynchronous processing, specifically employing the Outbox pattern to ensure reliable messagin

    Goclean-architecturecqrsddd
    View on GitHub↗6,348
  • codelytv/typescript-ddd-exampleCodelyTV avatar

    CodelyTV/typescript-ddd-example

    1,473View on GitHub↗

    This project is a reference implementation for building scalable applications in TypeScript using Domain-Driven Design. It provides a structured codebase template that organizes business logic through tactical design patterns and strategic modeling to ensure the software reflects specific business requirements. The architecture utilizes a hexagonal pattern to isolate core business logic from external infrastructure concerns such as databases and delivery mechanisms. It implements Command Query Responsibility Segregation to separate data modification operations from information retrieval tasks

    TypeScriptcodelycodelytvcqrs
    View on GitHub↗1,473
  • ddd-by-examples/libraryddd-by-examples avatar

    ddd-by-examples/library

    5,805View on GitHub↗

    This project is a reference implementation of Domain-Driven Design patterns, functional domain modeling, and event-driven state coordination. It demonstrates the application of strategic and tactical design patterns to manage complex business requirements. The implementation utilizes a functional domain model with pure functions and immutable objects to manage state transitions and side effects. It features a Command Query Responsibility Segregation architecture to separate read and write models, alongside event-driven coordination to maintain consistency across autonomous business boundaries

    Java
    View on GitHub↗5,805
  • bufferapp/android-clean-architecture-boilerplatebufferapp avatar

    bufferapp/android-clean-architecture-boilerplate

    3,684View on GitHub↗

    This project is a clean architecture reference implementation and modular project template for Android development. It provides a structural blueprint designed to isolate business logic from external frameworks and user interfaces. The template emphasizes a modular approach to organize code into independent modules, which is intended to improve build times and long-term project scalability. It demonstrates the application of domain-driven design to keep core business rules and entities independent from the underlying platform. The implementation covers several key architectural patterns, inc

    Kotlinandroidandroid-applicationandroid-architecture
    View on GitHub↗3,684
See all 30 alternatives to Book→

Curated searches featuring Book

Hand-picked collections where Book appears.
  • Open Source Technical Books

Frequently asked questions

What does cosmicpython/book do?

This project is a technical resource and pattern library for building enterprise applications with Python. It serves as a guide for implementing clean architecture, providing a framework for separating core business logic from infrastructure and external frameworks.

What are the main features of cosmicpython/book?

The main features of cosmicpython/book are: Clean Architecture Implementations, Domain-Driven Designs, CQRS Patterns, Data Access Abstractions, Read-Write Splitting, Storage-Agnostic Persistence Layers, Layered Architectures, Repository Pattern Abstractions.

What are some open-source alternatives to cosmicpython/book?

Open-source alternatives to cosmicpython/book include: threedotslabs/wild-workouts-go-ddd-example — This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query… codelytv/typescript-ddd-example — This project is a reference implementation for building scalable applications in TypeScript using Domain-Driven… ddd-by-examples/library — This project is a reference implementation of Domain-Driven Design patterns, functional domain modeling, and… bufferapp/android-clean-architecture-boilerplate — This project is a clean architecture reference implementation and modular project template for Android development. It… stemmlerjs/ddd-forum — This project is a full-stack forum platform built with TypeScript that serves as a reference architecture for… zakirullin/cognitive-load — This project is a collection of software engineering principles and architectural design patterns designed to minimize…