Skip to main content

Business Rule Driven Design (BRDD) core components for Python.

Project description

🐍 BRDD Python

A minimalist implementation of the Business Rule Driven Design (BRDD) pattern for the Python ecosystem (FastAPI, Flask, Django).

🎯 Goal

Provide the core interfaces and base classes to implement BRDD with zero friction and maximum type safety.

🚀 Quick Start (Initialization)

  1. Create the Project Structure:

    mkdir brdd-python-lib && cd brdd-python-lib
    python -m venv venv
    source venv/bin/activate
    pip install pydantic  # Recommended for ExecutionContext
    
  2. Define the Base Interfaces: Create a brdd/core.py with ExecutionContext and ValidationContext.

  3. Implement your first UseCase: Follow the Practical Example.

🚀 Publication & Metadata

To publish this library to PyPI, ensure the following fields are set in pyproject.toml:

Step-by-step to Publish:

  1. Update version in pyproject.toml.
  2. Build the package: python -m build.
  3. Upload: twine upload dist/*.

📚 Documentation

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

brdd_python-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brdd_python-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file brdd_python-0.1.0.tar.gz.

File metadata

  • Download URL: brdd_python-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for brdd_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ccd9e6df63f94208e69ad3b06c97867b2ac31d2e89ffa1d9250cc9847e1cfa7
MD5 e3eaf70752da2bbc07b2ca0c477cfba1
BLAKE2b-256 ce336f5a9c14e91008a2fb951ace360c05bc65ea3d439d2c6698aa5a5e58e480

See more details on using hashes here.

File details

Details for the file brdd_python-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: brdd_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for brdd_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 944cc1a4e7c7289dba0b6622b66b3e8b58414b1e33031c424322bece7a1ba010
MD5 5f88beed3d46c837d7fd7e4cc5c2bf62
BLAKE2b-256 1c2035b3e803a767edab75cf1de025c021383a1b0600e9bc1d9b66d2850c1e27

See more details on using hashes here.

Supported by

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