Ectype
Learn the statistical fingerprint of a table, generate unlimited realistic rows from it, and prove how faithful they are.
Quickstart · Features · Uses · Guide · Format spec
An ectype is a faithful reproduction of an original: the counterpart of an archetype.
Ectype learns a fingerprint of your table: a small, portable, inspectable file that captures how your data behaves. That includes distributions, dependencies, missingness, constraints, time patterns and relationships between tables. From the fingerprint you can generate any number of rows, simulate what-if scenarios and detect drift, and you never need the original data again.
The validator also measures fidelity on held-back targets the generator was never tuned on, so the report reflects how well the generator reproduces the data rather than how well the optimizer did its job.
your table ──fit──▶ fingerprint.dfp ──generate──▶ 10 rows … 10 million rows
│ │
├──compare──▶ drift report └──validate──▶ evidence report
└──mutate / merge──▶ what-if scenarios
Quickstart
pip install ectype-data
The package is published on PyPI as ectype-data. You import it as ectype, and the command is ectype.
import polars as pl
import ectype
df = pl.read_csv("customers.csv")
fp = ectype.fit(df) # learn the fingerprint, with the defaults
fp.save("customers.dfp") # a small file of statistics, no raw rows
synthetic = ectype.Generator.from_fingerprint("customers.dfp").generate(1_000_000, seed=42)
print(ectype.validate(fp, synthetic).summary()) # calibration | sealed | holdout, never merged
ectype.report(fp).to_html("profile.html") # one page that describes the table
The defaults fit the closest model within a work budget. ectype.fit(df, effort="fast") fits
in the shortest time, and effort="best" fits in full however wide the table is.
Or with no code at all:
ectype profile customers.csv -o customers.dfp
ectype report customers.dfp -o profile.html # the profile report
ectype generate customers.dfp --rows 1000000 -o synthetic.parquet
ectype validate customers.dfp synthetic.parquet --html report.html
The Quickstart walks through the same loop on a sample table, with every output shown.
Features
What people use it for
Anywhere real data is needed but hard to use: it is locked down, it holds personal details, there is not enough of it, or it does not exist yet.
By the job to be done
| Job | Examples |
|---|---|
| Build and test software | Lifelike test databases, load tests at 100 times your volume, migration rehearsals, reproducible bug reports, test data in CI |
| Develop analytics and models | Prototype before access is granted, share a working sample with a vendor, tutorial data that runs for everyone |
| Share across a boundary | Between teams, with partners and auditors, with researchers and students, across regions where rows must stay put |
| Watch for change | Month-over-month drift checks, pipeline gates, acceptance checks on vendor deliveries |
| Explore what could happen | What-if scenarios, more of the rare cases, data for a table that does not exist yet |
| Teach, demonstrate and sell | Product demos, training environments, classroom datasets, hackathons |
By industry
| Industry | Examples |
|---|---|
| Banking and payments | Transactions for testing fraud rules; loan applications for credit-model development |
| Insurance | Policies and claims for pricing prototypes; shareable samples for reinsurers |
| Healthcare and life sciences | Encounter and claims tables for health IT testing; teaching datasets; trial-style tables |
| Retail and e-commerce | Orders, baskets and returns; store-by-day sales series for forecasting |
| Telecommunications | Usage records for billing tests; subscriber tables for churn analysis |
| Manufacturing | Sensor logs for maintenance software; inspection tables for quality dashboards |
| Energy and utilities | Meter readings for billing and forecasting; outage and work-order tables |
| Logistics and transportation | Shipments and delivery events; fleet and ridership tables |
| Government | Permits, inspections and service requests; shareable versions of administrative tables |
| Education and research | Course datasets; companion data for publications that cannot release the original |
| Human resources | Employee and payroll tables for software testing; workforce scenarios |
| Marketing and customer analytics | Campaign and survey tables for building reports before fieldwork ends |
| Software and SaaS | Seed data for demos, trials and sandboxes |
| Cybersecurity and IT operations | Log and event tables for testing detection rules; training exercises |
| Real estate and construction | Listings, permits and bids for analysis and estimating tools |
| Nonprofits and development | Beneficiary and survey tables for case-management tools and analyst training |
The full list has more examples for each, and the cases Ectype is not designed for.
How well does it work?
Closer to real data than every deep-learning synthesizer we tested, on a CPU, in seconds.
A head-to-head on nine public datasets with five seeds each: every method at its library defaults, every score taken on held-out real rows that no method saw.
| Method | Classifier AUC (0.5 = cannot tell from real) | Mean rank | Quality | Utility kept | Worst-case membership AUC | Median fit |
|---|---|---|---|---|---|---|
| Sequential trees (CART) | 0.596 | 1.0 | 0.980 | 98.3% | 0.533 | 2 s, CPU |
| Ectype (chain model) | 0.700 | 2.6 | 0.975 | 97.8% | 0.508 | 10 s, CPU |
| Diffusion (Synthcity TabDDPM) | 0.744 | 3.4 | 0.908 | 97.3% | 0.505 | 6.4 min, GPU |
| Deep autoregressive (MOSTLY AI SDK) | 0.790 | 3.7 | 0.966 | 96.3% | 0.507 | 2.3 min, GPU |
| Adversarial random forest (ARF) | 0.941 | 6.8 | 0.922 | 97.0% | 0.517 | 3.9 min, CPU |
| VAE (SDV TVAE) | 0.975 | 8.0 | 0.896 | 89.9% | 0.505 | 2.9 min, GPU |
| GAN (SDV CTGAN) | 0.976 | 8.1 | 0.882 | 88.5% | 0.505 | 6.5 min, GPU |
| Gaussian copula (SDV) | 0.994 | 9.3 | 0.869 | 86.8% | 0.506 | 6 s, CPU |
- Second of ten methods at passing for real data, and ahead of every deep-learning model tested.
- 97.8% of real-data predictive score kept by models trained on Ectype's rows (median).
- Membership-inference attacks score at chance: at most 0.508 on any dataset. Sequential trees rank first on fidelity by emitting values sampled from real rows, and they have the highest worst-case membership score of any method (0.533).
- Beyond the benchmark: run on 29 further public government, health and finance tables, from 184 rows to 60,000-row samples and up to 287 columns, with no failures. It fits a 2.4-million-row, 78-column table on a desktop CPU.
Every number, every method and every dataset, including where others lead, is in the benchmark report. Ectype's chain model was tuned on two of the nine datasets; the diffusion model failed on 2 of its 45 runs.
Why Ectype?
| Ectype | |
|---|---|
| Saved model | A declarative .dfp file: inspectable, diffable, and safe to load (no code runs) |
| Fidelity evidence | Sealed targets the generator never saw, plus an optional real holdout, reported separately |
| Privacy | A disclosure policy on every fit, stand-ins for personal columns, and a built-in attack suite |
| Useful without generating | Profile reports and drift comparisons straight from the fingerprint |
| Rules | Declared or confirmed constraints hold on every generated row |
| Runs where | A laptop, CI or an air-gapped server: CPU only, no network |
Install
pip install ectype-data # core: polars, numpy, scipy, pyarrow, pydantic
pip install "ectype-data[temporal]" # time-series models
pip install "ectype-data[sql]" # DuckDB sources
pip install "ectype-data[pandas]" # pandas in and out
pip install "ectype-data[llm]" # optional: draft scenarios from plain English
pip install "ectype-data[all]" # all of the above
The PyPI name is ectype-data; the import name and the command are both ectype. Python
3.11, 3.12 and 3.13 on Linux, macOS and Windows. Installation
has the details.
Documentation
The user guide runs from installation and a five-minute walkthrough to time series, multi-table data, privacy, drift checks in CI and the full CLI and Python API reference. A test executes every example in the guide.
- Using Ectype from an AI agent: how an agent calls the
library and the CLI from its shell, and
ectype-mcp, the MCP server coming next as a separate package (tested with Claude Code) - Versions and compatibility: what a newer or older engine does with your fingerprints, and how version numbers move
- Design document: concepts, architecture and research plan
- Format specification: the
.dfpcontainer and manifest schema - Architecture decisions
- Size, fidelity and leakage study
Status
Version 0.1.0, the first public release, covered by 2,666 automated tests, including one that
runs every example in the user guide. The fingerprint format is 0.4.0, versioned separately
from the package: a newer engine reads every fingerprint written by an older one of the same
major format version, and the repository keeps a saved fingerprint of each released format
that every test run loads. Versions and compatibility
has the full set of promises.
Contributing
Contributions are welcome. See CONTRIBUTING.md; contributors sign the CLA on their first pull request. Three rules matter most:
- format changes need an ADR;
- no pickle or
eval; - fidelity claims must come from sealed targets or a real holdout.
License
Licensed under Apache-2.0. Copyright 2026 ZeroPoint Holdings LLC. "Ectype" is a trademark of ZeroPoint Holdings LLC.
Metadata
Release files for ectype-data 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ectype_data-0.1.0.tar.gz | 2.0 MB | With provenance | Details for ectype_data-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ectype_data-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ectype_data-0.1.0-py3-none-any.whl |
Total release size: 2.8 MB
Release files / ectype_data-0.1.0.tar.gz
| Download URL | ectype_data-0.1.0.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a57c9d6ca2e5b651111eeb2cc53fff2469f0721cb3c54e7991fb6a55efca560
|
|
BLAKE2b-256 checksum How to use checksums |
d5e6a84b44b40853fed357ba149c93a1c3786a33e432685fd105a87b4b11e156
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 27, 2026.
Transparency logRelease files / ectype_data-0.1.0-py3-none-any.whl
| Download URL | ectype_data-0.1.0-py3-none-any.whl |
|---|---|
| Size | 778.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f649c077e1b040229fde9647b4491541f3c80806bcd5da65c6c4fa016c16ae74
|
|
BLAKE2b-256 checksum How to use checksums |
72e555b2a7348be6069b9389afcbf04c6872095ac5695815e30d9e4cdd73d2a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 27, 2026.
Transparency logSecurity for ectype-data 0.1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ectype_data-0.1.0.tar.gz
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 Nov 27, 2026.
Transparency logA 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.