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.6.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
  • governance entity and personnel primitives with no consumer schema dependency
  • the profile-table SQLite profiling CLI

Consumer repos still own operational CSV 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.6.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.6.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deped_dcp_template-0.6.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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.6.0.tar.gz
Algorithm Hash digest
SHA256 047024b53a4cdf2cb162c1cb653d381d7ff50c91414024ebedab2558cfa58af9
MD5 62873b01fc3b6b38b105e977cda13d0f
BLAKE2b-256 11b51eb7bdc5d3d40951f89bc242991dce1dda6dd496925526802a7f8be98508

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deped_dcp_template-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b7dc845c5fff130f9e9ecc05a51d0df164d916cfd2584df3c0494717e8bc824
MD5 1ffe57c1d95507a2a2d892d6fa21e94c
BLAKE2b-256 631202da3428ab56f2345b0e2a1d07c84c2241fe470e3d1e003c6f7abdcd46bf

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