Skip to main content

Forze

PyPI Python OpenSSF Scorecard CodeFactor codecov Socket Badge

Forze is an infrastructure toolkit for building backend services with Domain-Driven Design 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]'

Authentication extras:

# First-party authn (Argon2 / PyJWT / email-validator)
uv add 'forze[authn]'

# Generic OIDC verifier (RS256/ES256/HS256, JWKS) for external IdPs
uv add 'forze[oidc]'

Documentation

Full documentation is available at https://morzecrew.github.io/forze/.

Agent Skills

Forze ships with AI agent skills for applications that use Forze as a dependency. Install them in your service repo so assistants follow correct wiring, handlers, and integration patterns:

# Install all skills
npx skills add morzecrew/forze

# Install a specific skill
npx skills add morzecrew/forze@forze-wiring

Skills follow the Agent Skills format. See skills/README.md for more details.

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.

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.5.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

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

forze-0.5.0-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forze-0.5.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for forze-0.5.0.tar.gz
Algorithm Hash digest
SHA256 86d178ac6a7ee4e6f56319aed9480580a6d351aed4332072fb3418aaa8461bd2
MD5 0a1869ccc5ebbbd610919ddcdb68738e
BLAKE2b-256 9f1ddfac228a1c5839bd986729400b2450a3abb9075750ac256f249c9c61ec18

See more details on using hashes here.

Provenance

The following attestation bundles were made for forze-0.5.0.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.5.0-py3-none-any.whl.

File metadata

  • Download URL: forze-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for forze-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84378438ff9501943a8bdc1238ed0cc567e8d19aea6c41c5f4fa2361d4d7f7ea
MD5 dd36de584cbd16c291b3db93aa3a861b
BLAKE2b-256 d68356740941e6dcbf3388b4e2a732c07a81952c8a8524f7e48cd6adaee9f40f

See more details on using hashes here.

Provenance

The following attestation bundles were made for forze-0.5.0-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.

Release history Release notifications | RSS feed

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

This release

0.5.0 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page