Skip to main content

DataForge Mask

High-performance data masking for Python.

Installation

pip install dataforge-mask

Usage

from dataforge_mask import mask
import pandas as pd

df = pd.DataFrame({
    "email": ["a@test.com", "b@test.com", "c@test.com"],
    "ssn": ["123-45-6789", "987-65-4321", "111-22-3333"]
})
transforms = [
    {"column": "email", "type": "hash"},
    {"column": "ssn", "type": "redact"}
]
result = mask(df, transforms, key="secret_key")

Metadata

Release files for dataforge-mask 0.1.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 dataforge-mask 0.1.0
File Interpreter ABI Platform
dataforge_mask-0.1.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details

Release files / dataforge_mask-0.1.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL dataforge_mask-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Size 674.3 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c82d1ccef9aefc8cc1769e10045edb0fc4c212d90e82e70ad9342b3b5995565f
BLAKE2b-256 checksum
How to use checksums
0bfcc7b6ba447cdd08ce055bdd6d8565aafe00351bb92f7992d79a9c2c516d00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

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