Architecture Insights, Governance & Versioned Design
Warning: Experimental. Expect breaking changes until release 0.1.0
Pacta turns software architecture into versioned, queryable data — so teams can see, compare, and reason about architectural change over time, not just block violations.
pip install pacta
Supported languages:
- Python
- Java (coming soon)
- Go (coming soon)
- C# (coming soon)
Why?
Codebases rot. Architecture degrades through small changes no one tracks. Pacta turns architecture into something measurable, reviewable, and enforceable — catching drift early, not months later.
What it does
- Architecture snapshots — version your architecture like code
- History & trends — track how dependencies, coupling, and violations evolve over time
- Diffs — compare architectural states like Git commits
- Metrics & insights — nodes, edges, layers, instability, drift
- Rules & governance — express architectural intent and enforce it incrementally
- Baseline mode — govern change without being blocked by legacy debt
Think of Pacta like Git for architecture
| Git | Pacta |
|---|---|
git add |
pacta snapshot save — capture an architectural snapshot |
git commit --verify |
pacta check — evaluate rules against a snapshot |
git commit |
pacta scan — snapshot + check in one step |
git log |
pacta history — timeline and trends of architectural states |
git diff |
pacta diff — compare two snapshots |
| branch protection | rules.pacta.yml — governance that prevents drift |
See the Getting Started guide for a full walkthrough.
Docs
Roadmap (short)
- Open-source CLI and analysis engine
- Content-addressed snapshots with history tracking
- Trend analysis with chart export
- Architecture visualization (Mermaid, D2)
- Health metrics (drift score, instability)
- Future: Architecture Intelligence Layer:
- Cross-repository insights
- Historical trend analysis
- Team-level governance and reporting
License
Apache-2.0. See LICENSE.
Metadata
Release files for pacta 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pacta-0.0.7.tar.gz | 880.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pacta-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 984.3 kB
Release files / pacta-0.0.7.tar.gz
| Download URL | pacta-0.0.7.tar.gz |
|---|---|
| Size | 880.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
542566ddbeb7d5c9d2097680657ebf6b575253c6e87a4c286f69b57591e03b3c
|
|
BLAKE2b-256 checksum How to use checksums |
2d4556516ed6fbfeef2ff94b3d963fa8e706ad2c7c575a200e94e03c2659a0c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 29, 2026.
Transparency logRelease files / pacta-0.0.7-py3-none-any.whl
| Download URL | pacta-0.0.7-py3-none-any.whl |
|---|---|
| Size | 103.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86fd573bcf34cfd98d3b72e63bab6c975d032cd2579da9f8806a587fd62651bd
|
|
BLAKE2b-256 checksum How to use checksums |
093f9f1b41dfa86b2ba31f4ccea78c1c47f188ff0cef26eb35a2050e41af8a43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 29, 2026.
Transparency log