Skip to main content

Deterministic synthetic data generator for realistic, correlated, and noisy test records across 68 locales. Rust CLI + Python + Node.js + Go + PHP + Ruby + MCP.

Project description

seedfaker

Python binding for seedfaker — deterministic synthetic data with 200+ fields, 68 locales, same seed = same output.

CLI · Node.js · Python · Browser/WASM · Go · PHP · Ruby · MCP

pip install seedfaker

Pre-1.0 notice: The API may change between minor versions until 1.0.0 is released. Pin your version and check CHANGELOG.md before upgrading.

Python API

from seedfaker import SeedFaker

f = SeedFaker(seed="ci", locale="en")

# Single values
f.field("name")
f.field("phone", e164=True)
f.field("credit-card", space=True)
f.field("email", omit=30)                    # "" for 30% of calls

# Weighted locales: 70% English, 20% German, 10% French
mixed = SeedFaker(seed="ci", locale="en=7,de=2,fr=1")

# Single correlated record
f.record(["name", "email", "phone"], ctx="strict")
# → {"name": "Zoe Kumar", "email": "zoe.kumar@...", "phone": "+1..."}

# Batch
f.records(["name", "email", "phone"], n=5, ctx="strict")

# Validate without generating
f.validate(["name", "email:e164"])  # raises ValueError if invalid

# Corruption
f.records(["name", "email", "ssn"], n=100, corrupt="high")

# Determinism — same seed = same output
a = SeedFaker(seed="test")
b = SeedFaker(seed="test")
assert a.field("name") == b.field("name")

# Fingerprint — detect algorithm changes after upgrade
SeedFaker.fingerprint()  # 'sf0-...'

# All field names
SeedFaker.fields()

Documentation


Disclaimer

This software generates synthetic data that may resemble real-world identifiers, credentials, or personal information. All output is artificial. See LICENSE for the full legal disclaimer.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

seedfaker-0.2.0a6-cp38-abi3-manylinux_2_34_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.34+ x86-64

seedfaker-0.2.0a6-cp38-abi3-manylinux_2_34_aarch64.whl (996.7 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.34+ ARM64

seedfaker-0.2.0a6-cp38-abi3-macosx_11_0_arm64.whl (772.9 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

seedfaker-0.2.0a6-cp38-abi3-macosx_10_12_x86_64.whl (774.6 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file seedfaker-0.2.0a6-cp38-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for seedfaker-0.2.0a6-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 713ca078d1ade77b58720a7257713dd1f97906b2f09efe8508db87c53e3ba908
MD5 3b73cb0fe52787e2f6444f519a950d7e
BLAKE2b-256 ba9d134d9eca40e093d1b10d96da906df8955663d2181569c681c88417c7c7f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for seedfaker-0.2.0a6-cp38-abi3-manylinux_2_34_x86_64.whl:

Publisher: release.yml on opendsr-std/seedfaker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file seedfaker-0.2.0a6-cp38-abi3-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for seedfaker-0.2.0a6-cp38-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 27996e9b8595ae5251227c753972c29abe12934ad719016c67ba5f4e550c081c
MD5 f66eb3bae6bea8b264e7860853e4d55e
BLAKE2b-256 6baf397e4ed9d720fdc44d9858414f6c8104c059f7e8afa225ace559706b7601

See more details on using hashes here.

Provenance

The following attestation bundles were made for seedfaker-0.2.0a6-cp38-abi3-manylinux_2_34_aarch64.whl:

Publisher: release.yml on opendsr-std/seedfaker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file seedfaker-0.2.0a6-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for seedfaker-0.2.0a6-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87765c79f47a68c464f4e7ac8a4967a7383412db95afccc6c05f3205dc2cfc0d
MD5 bdf0b9bf4c5dca9f05c12f46ee589e4f
BLAKE2b-256 23db9613ea18cd9fd236da4a033f37a801ea830e1534c6c833cbb80c62eb1d4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for seedfaker-0.2.0a6-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on opendsr-std/seedfaker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file seedfaker-0.2.0a6-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for seedfaker-0.2.0a6-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b87c8a1ee3fd03738c18f946d4816b9a26fcdcf04032929b14fb2e993aebbe08
MD5 d0aa8fe55b3e5843a7305504c819aec8
BLAKE2b-256 03ac89cfe89927f2f5203eb4350f77f0be784ba5eacbad080cc25794fdb556d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for seedfaker-0.2.0a6-cp38-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on opendsr-std/seedfaker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page