Skip to main content

ドメイン駆動開発のモジュール開発ワークスペース

Project description

dddlib

dddlib is a Python library that collects commonly used building blocks for DDD implementations.

This repository uses a workspace layout, and the library itself and the CLI are managed as separate packages.

日本語版 README

Packages

  • dddlib: Provides infrastructure for domain model base classes, value objects, entities, aggregate roots, domain events, errors, and messages.
  • dddlib_cli: Provides a CLI built on dddlib.

Branch Strategy

This repository follows GitFlow.

  • develop: integration branch for daily development
  • feature/*: individual features and fixes are developed from develop and merged back into develop
  • release/*: final adjustments before release are developed from develop and merged into main and develop
  • hotfix/*: urgent fixes are branched from main and merged into main and develop
  • main: production branch

GitHub Actions is configured as follows:

  • CI runs on pull requests and pushes for develop, release/*, and hotfix/*
  • CD is triggered manually for a version tag on main and publishes to TestPyPI or PyPI

Release Process

Release notes and publication follow these steps:

  1. Prepare the release content on release/*.
  2. Merge the release branch into main.
  3. Tag the main commit with a version tag such as v1.2.3.
  4. Write the release notes for that tag in GitHub Release or CHANGELOG.md.
  5. Run the CD workflow manually with publish_target=testpypi and release_ref=v1.2.3.
  6. Verify the package on TestPyPI.
  7. Run the CD workflow again with publish_target=pypi and the same tag when the verification is successful.

Start Here

Detailed usage is delegated to each package README.

  • For installation and basic usage of the library, see dddlib
  • For CLI startup instructions and command lists, see dddlib_cli

License

See LICENSE.md for this project.

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

dddlib-0.1.0a0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

dddlib-0.1.0a0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file dddlib-0.1.0a0.tar.gz.

File metadata

  • Download URL: dddlib-0.1.0a0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dddlib-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 11bf87f5147d82d21f4d3b10999e4f8685726fbdf066859e9e50ca39e5ffc776
MD5 30978d09e5c08e47be238a36825266f4
BLAKE2b-256 ca4598b49da5b532ff61a793d20a8d09b300013ec2f5f1aef1118e98d7fb8faf

See more details on using hashes here.

Provenance

The following attestation bundles were made for dddlib-0.1.0a0.tar.gz:

Publisher: cd.yml on pochinoritaro/dddlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dddlib-0.1.0a0-py3-none-any.whl.

File metadata

  • Download URL: dddlib-0.1.0a0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dddlib-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c007dc2b460beb082d74d1ad8d3283628f710a3ce24c11e2c55913bfd5fe7f4
MD5 43ac0723e5c31e640bae8ed0a136ceae
BLAKE2b-256 986b6ebc43252ea316e89a09c19c5bccd6b42e578b1d3f3d019e14cbd8504428

See more details on using hashes here.

Provenance

The following attestation bundles were made for dddlib-0.1.0a0-py3-none-any.whl:

Publisher: cd.yml on pochinoritaro/dddlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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