Skip to main content

DDD building blocks: entities, value objects, bounded contexts, and validation helpers.

Project description

deedee

Helpers for domain-driven design in Python: entities, value objects, bounded contexts, domain events, and Pydantic v2–based validation.

Install

pip install deedee-domain

With uv in another project (adds the dependency to that project’s pyproject.toml):

uv add deedee-domain

Or install into the active environment without editing a project file:

uv pip install deedee-domain

The installed module is still named deedee, so imports do not change.

Usage

Import only from the top-level package:

from deedee import (
    BoundedContext,
    DomainEvent,
    DomainException,
    Entity,
    ValueObject,
)

Requires Python 3.14+.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

deedee_domain-0.1.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for deedee_domain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae4d694ba72f7c7b417a5eecfc70680e8c2fe4aaab38bd8104b10dfa551fc188
MD5 25dd514a7e72332e132e04ef3b76f6cf
BLAKE2b-256 b61c9d84a91e0e19797ab60a0bb019f4d7260157aa2c8e821f9fd7f41980037a

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