Skip to main content

Holonomy

Local Data Governance for High-Performance Analytics

PyPI License: BSL Docs

Holonomy is a Data Governance tool designed specifically for local data processing. It enables Data Scientists and Engineers to run high-performance local analytics on highly sensitive enterprise data while strictly enforcing corporate access and data visibility policies.

By integrating directly into your Python process, Holonomy decrypts, filters, and masks data locally in memory without requiring complex proxy servers or remote compute clusters.

Holonomy Demo

Supported Stack:

  • KMS: AWS KMS, GCP KMS.
  • Storage: Local file systems and S3-compatible object storage (AWS S3, Cloudflare R2).
  • Format: Exclusively supports Apache Parquet (leveraging Parquet Modular Encryption).
  • Compute: Zero-copy integration with Polars, DuckDB, Pandas, and PyArrow.

Features

  • Local Processing, Enterprise Compliance: Safely pull encrypted datasets to your local machine. Holonomy evaluates centralized JSON Policy Manifests to dynamically enforce Row-Level Security (RLS) and Data Masking at read-time before the data ever reaches your DataFrame.
  • In-Process Execution (No Proxies): Forget deploying dedicated proxy servers, sidecars, or heavy compute clusters just for governance. Holonomy leverages your existing enterprise infrastructure (KMS, IdP, S3) and runs the actual decryption and policy filtering completely inside your application's Python process. Just run pip install holonomy.
  • Zero-Copy Performance: Built on a highly concurrent Rust core and the Apache Arrow C Data Interface, Holonomy operates with true zero-copy semantics. The computational overhead for cryptographic validation and policy linting is practically invisible.
  • Strong Cryptography: Data is protected at rest. In memory, your data is handled with extreme paranoia: cryptographic keys (DEKs) are forcefully wiped the moment they are no longer needed using the ZeroizeOnDrop pattern.

Installation

Install via pip or uv:

pip install holonomy
# or
uv add holonomy

Quick Start

Holonomy includes a zero-config local development mode. You can copy-paste this block and run it immediately without setting up any cloud infrastructure!

import holonomy
import pyarrow as pa
import polars as pl

# 1. Initialize local dev mode (Mock KMS and Mock Identity)
holonomy.init(kms_provider="mock", policy_bucket="local", identity_provider="mock")

# 2. Create sensitive dummy data
batch = pa.RecordBatch.from_arrays(
    [pa.array([1, 2]), pa.array(["alice@test.com", "bob@test.com"])], 
    names=["id", "email"]
)

# 3. Securely write data (Locally encrypts with Parquet Modular Encryption)
contract = '{"name": "Users", "version": "1.0", "columns": [{"name": "id", "type": "int64", "required": true}, {"name": "email", "type": "string", "required": true}]}'
holonomy.write(
    batch=batch, 
    target="file:///tmp/users.parquet",
    purpose="data-engineering",
    contract_json=contract
)

# 4. Securely read data (Decrypts locally and dynamically enforces Data Masking)
arrow_data = holonomy.read(
    target="file:///tmp/users.parquet", 
    columns_to_read=["email"],
    purpose="data-science-analytics"
)

# 5. Zero-Copy transition directly into Polars!
df = pl.from_arrow(arrow_data)
print(df)

Documentation

Comprehensive documentation is available in the docs/ directory:

Authoring Guides

License

Holonomy is licensed under the Business Source License (BSL). The BSL is an alternative to closed source or open core licensing models. Under the BSL, the source code is always publicly available. Non-production use of the code is always free, and the licensor can also make an Additional Use Grant allowing limited production use. On a specified Change Date, the BSL license converts into a standard open source license.

For Holonomy, the Change Date is 2029-01-01, at which point the license converts to MIT. Our Additional Use Grant permits you to use the Licensed Work for development, testing, and internal production on unlimited nodes. See the LICENSE file for full details and commercial exceptions.

Metadata

Release files for holonomy 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for holonomy 0.1.4
File
holonomy-0.1.4-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
holonomy-0.1.4-cp314-cp314-manylinux_2_39_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.39+ x86-64 Details
holonomy-0.1.4-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
holonomy-0.1.4-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details

Total release size: 55.7 MB

Release files / holonomy-0.1.4-cp314-cp314-win_amd64.whl

Download URL holonomy-0.1.4-cp314-cp314-win_amd64.whl
Size 12.7 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
6db72e65dd7d67d6839bf118660c3df3ba65f80203669d58878979a0814864a6
BLAKE2b-256 checksum
How to use checksums
004e19c9e9c2b20ad0dd333dde87ecc166929665045f4b973a81e2cd8d736269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release files / holonomy-0.1.4-cp314-cp314-manylinux_2_39_x86_64.whl

Download URL holonomy-0.1.4-cp314-cp314-manylinux_2_39_x86_64.whl
Size 15.5 MB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
7b436f767f65516a4adc4140ede4a7556f6f586fd5062a8374d08e573a93b90a
BLAKE2b-256 checksum
How to use checksums
678202a6cb31a3cbb1159332f1fe24fa6451d1f65ac29bacf783ebfdb3f711bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release files / holonomy-0.1.4-cp314-cp314-macosx_11_0_arm64.whl

Download URL holonomy-0.1.4-cp314-cp314-macosx_11_0_arm64.whl
Size 13.2 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
33c15cba6426035958cca6b3326afbd9c64e8cdef25cd64b84cd1ca36768c82c
BLAKE2b-256 checksum
How to use checksums
e2f4233c0d1d6a807c7b2c4000eea33f9f74768d65c5ee335b9d7bff231dfe1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release files / holonomy-0.1.4-cp314-cp314-macosx_10_12_x86_64.whl

Download URL holonomy-0.1.4-cp314-cp314-macosx_10_12_x86_64.whl
Size 14.2 MB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
73647ed47c6b784c651eb35eb54ce234ff3359ee9ef38afd0ae751dc0f42a5c1
BLAKE2b-256 checksum
How to use checksums
f26563a594165532c7bd1feab7992f1d19c34c21a7e048dab9cb80d2151aa68c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.4 This release

4 release 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