A private, local LLM-powered data dictionary parser and entity mapper with automated cleaning.
Project description
dd-parser-cleaner
A modular data engineering framework designed to bridge the gap between messy data dictionaries and production-ready datasets using local LLMs (Llama 3.2) and vectorized deterministic rules.
💡 Why use this tool?
In enterprise data science, data preparation is often the most fragile link. Scripts are frequently undocumented, and "semantic drift" occurs when the logic used to clean data no longer aligns with the business's Data Dictionary. This leads to non-reproducible results and high technical debt.
dd-parser-cleaner solves this by creating a deterministic, auditable link between your documentation and your data. It is specifically designed to support the KMDS Data Helper ecosystem—leveraging enterprise-grade open-source tools like Pandas and local LLM runtimes to ensure every step of your data journey is documented, reproducible, and ready for production.
🎯 Our Guarantee
dd_parser_cleaner ensures that your data is ready for analytics or ML applications because:
- Strict Schema Integrity: It enforces a "Clean Bucket" policy via the Integrity Sync, purging undocumented "Ghost" columns to ensure every feature is semantically mapped to a Data Dictionary entry.
- Semantic Type Enforcement: It automatically casts raw strings into high-precision, nullable physical types (e.g.,
Int64,float,datetime) grounded in verified logical metadata, eliminating type-related crashes downstream. - Deterministic Pipe Sequencing: It executes an idempotent, vectorized transformation sequence (Sync → Assessment → Filter → Impute → Derive) that prevents data contamination and ensures reproducible results.
- Audit-Ready Traceability: It generates a signed, synchronized operational matrix and a "Handshake" report, providing a 100% traceable link between source metadata and the final analytical payload.
🚀 Quick Start
1. Classification (The Handshake)
Run the parser to align your data dictionary with your physical data headers and perform semantic classification:
uv run classify-entities --workspace ./tests
2. Cleaning (The Pipeline)
Run the cleaner to apply types, filters, and transformations grounded in the parser's metadata:
uv run clean-dataset --action full --workspace ./tests
For detailed documentation and custom logic implementation, see the documents/ directory and USER_GUIDE.md.
Project details
Release history Release notifications | RSS feed
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 dd_parser_cleaner-0.3.0.tar.gz.
File metadata
- Download URL: dd_parser_cleaner-0.3.0.tar.gz
- Upload date:
- Size: 38.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77951e4c5b8ad389271594386bdabce7ce351292badbe679c812be94c7b4811b
|
|
| MD5 |
6b5afeb2eaa1f3518ca252550c6d70e5
|
|
| BLAKE2b-256 |
6768b62904a4d764ee9f514265c7b7edc86570fee26492784815f14c5dda5bd2
|
File details
Details for the file dd_parser_cleaner-0.3.0-py3-none-any.whl.
File metadata
- Download URL: dd_parser_cleaner-0.3.0-py3-none-any.whl
- Upload date:
- Size: 48.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
141bea8a3ceb1a1a7003fb847a4c05b25a3ca203de8e7a58b38210775b3aeae2
|
|
| MD5 |
33d2e9658f831160eb6b32038dd5b439
|
|
| BLAKE2b-256 |
45d5ed673e2fb14b099d5323532532fdd45d8ef9ba321c90ff54800d3ba89322
|