schemancer
schemancer scans a flat folder of CSV, TSV, and Parquet files, infers a
registry, adds conservative relationship hints, and generates a standalone
Python package with SQLAlchemy models and load helpers.
CLI
schemancer scan <source-dir> --registry-out <path>
schemancer infer-relationships <registry-path>
schemancer generate <registry-path> --output-dir <dir> --package-name <name>
schemancer build <source-dir> --output-dir <dir> --package-name <name>
Example With test_data
From the repo root:
schemancer scan --registry-out new_schema ~/CODE/schemancer/test_data
If new_schema is an existing directory, this writes:
new_schema/registry.json
Then infer relationships into the same file:
schemancer infer-relationships new_schema/registry.json
Generate a standalone package:
schemancer generate new_schema/registry.json --output-dir generated --package-name my_schema
Or do the whole flow in one command:
schemancer build /Users/z3061723/Documents/CODE/schemancer/test_data --output-dir generated --package-name my_schema
After generation, the package will be at:
generated/my_schema
Development
uv run --extra dev pytest
Metadata
Release files for schemancer 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 | |
|---|---|---|---|
| schemancer-0.1.0.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| schemancer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.7 kB
Release files / schemancer-0.1.0.tar.gz
| Download URL | schemancer-0.1.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cc0f2719bcb04cbd3f64fa23302e51765892e76608013e2b41ec0a7a6a978b2
|
|
BLAKE2b-256 checksum How to use checksums |
b58a1ca44b2a9ddf6e87311a43b3815aac62cfe9aa3c820755a41a68f0e6c5d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 5, 2026.
Transparency logRelease files / schemancer-0.1.0-py3-none-any.whl
| Download URL | schemancer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24a8eab437d7fbb9a5134cf5e4ec93205207ca12d246fcd3d6ce07193b17578e
|
|
BLAKE2b-256 checksum How to use checksums |
a0489f2f321f2390fcd60baa539b340d2952ebb95d42e5b62cf1db2660515e8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 5, 2026.
Transparency log