deped-dcp-template
deped-dcp-template owns shared templates and cleaning semantics for DepEd DCP
data projects. It bundles the canonical v1.16 Excel collection templates,
extracts their controlled lists into SQLite lookup tables, and exposes
DCP-specific cleaners, catalogs, entity/personnel helpers, and staging models.
Version 0.9.0 is a breaking cutover. Generic operational plumbing now lives
in the sibling deped-runtime package; removed DCP utility modules and commands
have no compatibility aliases or re-exports.
Install
uv add deped-dcp-template deped-runtime
Sibling checkouts use editable sources for ../deped-dcp-template,
../deped-primitives, and ../deped-runtime.
Commands
uv run deped-dcp-template extract --templates-dir templates --output artifacts/base.db
uv run deped-dcp-template show --db artifacts/base.db
uv run deped-runtime r2 upload --source templates --prefix deped-dcp-template/templates --include 'ict-equipment-inventory-*-template_v1.16.xlsx'
uv run profile-table path/to/data.db table_name
The last two commands are provided by deped-runtime. Existing just upload,
just download, just ls-r2, and just profile recipe names are preserved.
Ownership
This package retains:
- canonical workbook files and lookup extraction;
- DCP configuration, constants, controlled catalogs, and accepted timestamps;
- null/review normalization and DCP school, contact, email, position, equipment, and person cleaners;
- collection-loader compatibility helpers, staging models,
SourceArtifact, and legacy DCP dataset-loader orchestration; - template-specific R2 asset metadata.
deped-runtime owns file/CSV/Excel/OOXML handling, console/progress output,
hashing, SQL and SQLite mechanics, source/frame readers, R2 transfers, and
profiling. Consumer repos continue to own ingestion policy, domain schemas,
promotion, and final artifact contracts.
deped-primitives owns ecosystem-wide DepEd identities and interpretation,
including canonical school-ID tokens and EBEIS rule semantics. The
similarly-named deped_dcp_template.cleaners.normalize_school_id remains only
as an integer-coercing compatibility helper for established collection loaders.
Documentation and checks
uv run pytest -q
uv run zensical build
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.9.0.tar.gz.
File metadata
- Download URL: deped_dcp_template-0.9.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","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 |
d8e48ab4cf46bda3518a9e36d37616572a6335481de8de68e19d2bf8830a0213
|
|
| MD5 |
52065fa601ffe7bdc407340ba7e06293
|
|
| BLAKE2b-256 |
5b58df9af39bcc00dcb45f672da03e7fc4b253a049b77ff5d3330969096f975e
|
File details
Details for the file deped_dcp_template-0.9.0-py3-none-any.whl.
File metadata
- Download URL: deped_dcp_template-0.9.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","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 |
ac243896c16f3b87e4cda66243764432ce44eafcf6554d97592fd6f92f8cd5a9
|
|
| MD5 |
0d09686b37cbbbb3c7c5afa72ce4bd0d
|
|
| BLAKE2b-256 |
2c7c7c0187fa3a1de09601f06749da1d653990f224cc2be4409e8553780fa780
|