Skip to main content

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.7.0.

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
  • read-only SQLite raw-source helpers for downstream loaders
  • governance entity and personnel primitives with no consumer schema dependency
  • the profile-table SQLite profiling CLI

Consumer repos still own operational source ingestion, domain schemas, views, promotion workflows, public table contracts, and final audit artifacts.

Documentation

Build the docs:

uv run zensical build

Development

uv run pytest -q
uv run zensical build

Publish, when credentials are available:

just publish

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deped_dcp_template-0.8.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deped_dcp_template-0.8.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file deped_dcp_template-0.8.0.tar.gz.

File metadata

  • Download URL: deped_dcp_template-0.8.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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

Hashes for deped_dcp_template-0.8.0.tar.gz
Algorithm Hash digest
SHA256 d47af5341eed86b0f627989a992953e8c252eb3342cb5f748daae628b17e0cbc
MD5 68eac485de7d49890a0c0364b98903e2
BLAKE2b-256 892f5e7e8d24c07b4577c6b2e56d50aac5c32b02ee4e61118f027a615caf74bd

See more details on using hashes here.

File details

Details for the file deped_dcp_template-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: deped_dcp_template-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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

Hashes for deped_dcp_template-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f754de10ae771bc85d122903984886730859dad95278b4d90f7df7840c20b26
MD5 ba5760320ac8f1b32aec0720eb12b334
BLAKE2b-256 abdf8c033fd57cf4c4f0402f310839e5891435a9fc8762eabf55f0f7ff2abce5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page