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.7.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.7.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deped_dcp_template-0.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 bf447e89b55529e2faebbe6155a795af00a233ed1af6bc3c0c97505ac1469162
MD5 d6324e381c1afe5f283ce649d27ac1d2
BLAKE2b-256 d84c4d59e79521c9580a23c7cdae3a84bd9a1e8412d2314541465951e131fe70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deped_dcp_template-0.7.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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59630a11d79e8f762e06e9b5e1886c335afd6ef1e86ca8c0d84ce599b30619f5
MD5 be488e0c3120f4c304b25854628ee093
BLAKE2b-256 7d1e70c14ec59a121f0c890c391ae9f6b8caa7b47ce0c2a3f2cdc0d56c2b700d

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