Shared runtime helpers for DepEd DCP data-cleaning packages.
Project description
deped-dcp-template
deped-dcp-template is the shared runtime package for DepEd DCP data-cleaning projects. It bundles the canonical Excel collection templates, extracts their controlled lists into SQLite lookup tables, and exposes common helpers that downstream personnel, equipment, connectivity, and registry packages should reuse instead of copying locally.
The package is currently versioned as 0.4.2.
Install
Published package:
uv add deped-dcp-template
Sibling checkout during local development:
[tool.uv.sources]
deped-dcp-template = { path = "../deped-dcp-template" }
Main Commands
Build a template-derived lookup database:
uv run deped-dcp-template extract \
--templates-dir templates \
--output artifacts/base.db
Show a lookup summary:
uv run deped-dcp-template show --db artifacts/base.db
Upload the canonical templates to R2:
uv run deped-dcp-template r2 upload \
--source templates \
--prefix deped-dcp-template/templates
Profile a SQLite table:
uv run profile-table path/to/data.db table_name
What This Package Owns
- canonical v1.16 workbook templates in
templates/ - lookup database extraction from the school, division, and region templates
- R2 source-artifact upload, download, and listing helpers
- Rich console, logging, status, and progress helpers
- CSV, workbook, timestamp, SQL-file, and normalization helpers
- governance entity and personnel primitives with no consumer schema dependency
- the
profile-tableSQLite profiling CLI
Consumer repos still own operational CSV ingestion, domain schemas, views, promotion workflows, public table contracts, and final audit artifacts.
Documentation
- Docs index
- Architecture
- Lookup extraction
- R2 transfer
- Normalization helpers
- File and SQL helpers
- Rich logging and progress
- SQLite profiling
- Downstream adoption
Build the docs:
uv run zensical build
Development
uv run pytest -q
uv run zensical build
Publish, when credentials are available:
just publish
Project details
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 deped_dcp_template-0.4.2.tar.gz.
File metadata
- Download URL: deped_dcp_template-0.4.2.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"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 |
ef1ca991746c453245a0d2fdcc6678539608df476472c5dd3d2873715dece0f9
|
|
| MD5 |
079f8d2ac94f817a2e2b6cb4759793ce
|
|
| BLAKE2b-256 |
218ed717c4d3ecf3779e21fbaa31a3f0deda90df66df18b9eaa82f8e02f39796
|
File details
Details for the file deped_dcp_template-0.4.2-py3-none-any.whl.
File metadata
- Download URL: deped_dcp_template-0.4.2-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"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 |
bd9c88838318ff71d9a837e7fcf060fef7bbeadbe4a2e2369212d6f2050c312a
|
|
| MD5 |
e33f489a2d6ce79d89ec812ff84b4042
|
|
| BLAKE2b-256 |
cb8edae164f2e474469e33146abc86580be060159fda9002cb236fa2571bfa36
|