Skip to main content

mloda-enterprise

All enterprise plugins for mloda. Source-available: free for development, testing and evaluation; production use needs a license agreement: https://mloda.ai/enterprise

Extras:

  • [ed25519] Ed25519 manifest signer, and license token signing and verification
  • [otel] OTel audit log sink
  • [openlineage] lineage facets extender
  • [anonymizer] the anonymizer wheel and pyarrow

Quick start: anonymizer

pip install "mloda-enterprise[anonymizer]"

Platforms: Linux x86_64 and aarch64, macOS x86_64 and arm64, Windows x86_64, Python 3.10 to 3.14 (details on https://pypi.org/project/mloda-anonymizer-binary/).

License key: every run of a binary-backed plugin needs a key issued by mloda, for an evaluation (request one at https://mloda.ai/enterprise) or under a license agreement, read from the first of these that is set: MLODA_LICENSE_FILE (path to the key file), MLODA_LICENSE_KEY (the token itself). After exp a key keeps working for its grace days with a WARNING in the log; renew before. Without a usable key the feature still resolves and the run fails with LicenseMissingError or LicenseInvalidError; no other plugin takes its place. Development and testing use the simulated binary and test tokens signed with the published test key from mloda-testing[binary-model] instead (see the guide linked below).

Key: generate it once with python -c "import secrets; print(secrets.token_hex(32))", store it as a secret and export it as PII_KEY, and register it under a credential handle that the pii_key_handle option names (Secrets). A key with leading or trailing whitespace is refused, so strip it when reading from a file: Credential(key=Path("pii.key").read_text().strip()). Keep it stable, a new key gives unrelated pseudonyms. pii_key_handle replaces the former pii_key_env.

import os

from mloda.user import Credential, DataAccessCollection, Feature, Options, PluginLoader, mloda

PluginLoader.all()

result = mloda.run_all(
    [
        Feature(
            "pseudonymized_email",
            Options(
                group={"pii_key_handle": "pii-key"},
                context={"pseudonymization_algorithm": "hmac_sha256", "in_features": "email"},
            ),
        )
    ],
    compute_frameworks=["PyArrowTable"],
    api_data={"customers": {"email": ["ada@example.com", None]}},
    data_access_collection=DataAccessCollection(credentials={"pii-key": Credential(key=os.environ["PII_KEY"])}),
)
print(result[0])

Each value becomes 64 lowercase hex characters; nulls stay null.

Options and key derivation: https://github.com/mloda-ai/mloda-registry/blob/main/docs/guides/feature-group-patterns/29-binary-backed-features.md

Metadata

Release files for mloda-enterprise 0.14.0

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

Built distribution (wheel)

Table of built distributions (wheels) for mloda-enterprise 0.14.0
File Interpreter ABI Platform Actions
mloda_enterprise-0.14.0-py3-none-any.whl Python 3 none any Details for mloda_enterprise-0.14.0-py3-none-any.whl

Release files / mloda_enterprise-0.14.0-py3-none-any.whl

Download URL mloda_enterprise-0.14.0-py3-none-any.whl
Size 75.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a45210da17d70f61137a3015dfad407d5c7574444a7b79772b9ecb391f42ecc
BLAKE2b-256 checksum
How to use checksums
ad718f84e7db7512be56e58c55b1eac627be7c6057f4ca7c1e9d0a8d95e8136b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for mloda-enterprise 0.14.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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