Skip to main content

Domain-Driven Design and Hexagonal Architecture for backend services

Project description

Forze

CI CodeQL PyPI Python

Forze is a lightweight infrastructure toolkit for building backend services with Domain-Driven Design (DDD) and Hexagonal Architecture.

It provides a set of reusable primitives, contracts, and structural patterns that help organize backend applications into clear, maintainable layers.

Design Goals

Forze aims to support backend systems that are:

  • Layered — clear separation between domain, application, and infrastructure
  • Explicit — well-defined ports, adapters, and boundaries
  • Testable — components can be tested in isolation
  • Composable — infrastructure pieces can be replaced or extended
  • Framework-agnostic — the core does not depend on a specific framework

The library focuses on providing structure and contracts, not a full-stack framework.

Quick Start

Install the core package:

uv add forze

Install with optional integrations:

uv add 'forze[fastapi,postgres,socketio]'

Versioning

Forze follows Semantic Versioning (SemVer). Pre-release builds may include experimental APIs and are not guaranteed to be stable.

Contributing

Contributions, issues, and feature requests are welcome. See CONTRIBUTING.md for details.

Security

Please report security vulnerabilities privately as described in SECURITY.md.

License

Forze is licensed under the MIT License - see LICENSE for details.

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

forze-0.1.12.tar.gz (382.9 kB view details)

Uploaded Source

Built Distribution

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

forze-0.1.12-py3-none-any.whl (284.5 kB view details)

Uploaded Python 3

File details

Details for the file forze-0.1.12.tar.gz.

File metadata

  • Download URL: forze-0.1.12.tar.gz
  • Upload date:
  • Size: 382.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for forze-0.1.12.tar.gz
Algorithm Hash digest
SHA256 f09ded5a38b2baa7a229d1bd45fdac248cfdbf08160a4ea64f56d95ab8b7bcfa
MD5 4c469daa485a283444bac11c4b4982a3
BLAKE2b-256 821a3d22c24d73697b3943c2796560747c80c569c877adbb51a4951fa15a2191

See more details on using hashes here.

Provenance

The following attestation bundles were made for forze-0.1.12.tar.gz:

Publisher: release.yaml on morzecrew/forze

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

File details

Details for the file forze-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: forze-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 284.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for forze-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1acf2a62b8b372b859507903750255fc0355451b44ebab5ecb9df385db223c78
MD5 a313884aa21fc14faf034c10a4a56096
BLAKE2b-256 48d3a88c9909da01e0ff279367b610b27c5c1487a5249ec23b3d5a73a1e56c87

See more details on using hashes here.

Provenance

The following attestation bundles were made for forze-0.1.12-py3-none-any.whl:

Publisher: release.yaml on morzecrew/forze

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