silueta
Profile the shape of your data — never the values.
silueta turns a dataset — CSV, Parquet, and soon multi-tab Excel and databases — into a compact, machine-readable profile of its shape: types, nulls, cardinality, value-shape masks, semantic PII/PHI flags, and red-flag anomalies. The profile contains no raw cell values, by construction, so an AI agent (or a teammate, or a ticket) can work from it safely.
The motivating workflow: you get a vendor workbook full of PII/PHI and need to model it — dbt sources, Snowflake landing tables, relationships. Most of what modeling needs is how the data behaves, not what it says. silueta captures the behavior so an agent like Claude Code can scaffold the models for data it is never allowed to read.
$ uvx silueta scan patients.csv --report report.md
wrote profile.json
wrote report.md
patients: 30 rows, 7 columns, 2 alerts
The profile tells the agent things like:
mrn— VARCHAR, 100% unique, maskAAA-999999→ this is your keyssn— matches SSN structure at 100% with plausibility checks → sensitive, alertamount— typed as text but 100% castable numeric, magnitude 10^2 → DECIMAL, fix at landingclinic— constant column (and that is all it says about it)visit_date— dates spanning 2025 (year granularity only)
The contract
A silueta profile never contains:
- raw cell values, sample rows, or frequent-value lists
- min/max for strings or dates (those are raw values) — numerics report order-of-magnitude and precision facts, dates report year spans
- serialized sketches or value hashes (hashing is not anonymization)
- any statistic derived from values observed in fewer than k rows (default 5); constant columns report nothing but their constancy
This contract is enforced by tests that scan every output for source values, and it travels inside the artifact itself (profile.json → silueta.contract).
What it is and is not: silueta protects against accidental context leakage — values ending up in an LLM conversation, a log, a pasted ticket. It does not claim formal anonymity (differential privacy) against an adversary reconstructing small populations from aggregates. The wording is "no raw values by construction," never "anonymized."
Status
Early alpha — CSV and Parquet profiling work today. On deck (see issues): messy-Excel header/type recovery (the headline feature), cross-table foreign-key candidates via exact containment, dbt/Snowflake scaffold emitters, database connections.
Install
uvx silueta # zero-install run
uv tool install silueta
pipx install silueta
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file silueta-0.0.1.tar.gz.
File metadata
- Download URL: silueta-0.0.1.tar.gz
- Upload date:
- Size: 37.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c83de817e85100142ae6ec214a3ca15f791426055e6e9dead4819de67b20f211
|
|
| MD5 |
912ac3b506589ca7153cca7a4861fccb
|
|
| BLAKE2b-256 |
67771f6d2c0e4107b178c57fa3601d557046ccf55a239239ac99698ef56c0758
|
Provenance
The following attestation bundles were made for silueta-0.0.1.tar.gz:
Publisher:
release.yml on chekos/silueta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
silueta-0.0.1.tar.gz -
Subject digest:
c83de817e85100142ae6ec214a3ca15f791426055e6e9dead4819de67b20f211 - Sigstore transparency entry: 2230136811
- Sigstore integration time:
-
Permalink:
chekos/silueta@f719c71e7d8bf1db428a22c3d0153bfa309fb4cf -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/chekos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f719c71e7d8bf1db428a22c3d0153bfa309fb4cf -
Trigger Event:
release
-
Statement type:
File details
Details for the file silueta-0.0.1-py3-none-any.whl.
File metadata
- Download URL: silueta-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7438f10af8260ff1d63f0475281b9deff6ef3c2a867a1e7b8bd26d8028e8e723
|
|
| MD5 |
73c669483f76112b43eeb36c4eca6a0e
|
|
| BLAKE2b-256 |
bbbd5a195686df3df7cde311635625ea5ffcd84ee194de78985d846f2b2d447a
|
Provenance
The following attestation bundles were made for silueta-0.0.1-py3-none-any.whl:
Publisher:
release.yml on chekos/silueta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
silueta-0.0.1-py3-none-any.whl -
Subject digest:
7438f10af8260ff1d63f0475281b9deff6ef3c2a867a1e7b8bd26d8028e8e723 - Sigstore transparency entry: 2230137696
- Sigstore integration time:
-
Permalink:
chekos/silueta@f719c71e7d8bf1db428a22c3d0153bfa309fb4cf -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/chekos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f719c71e7d8bf1db428a22c3d0153bfa309fb4cf -
Trigger Event:
release
-
Statement type: