Skip to main content

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

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

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: deped_dcp_template-0.4.1.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

Hashes for deped_dcp_template-0.4.1.tar.gz
Algorithm Hash digest
SHA256 8533bb6a585f4e15d3142234a8873657db488f2c7a08a89f5a8f6b5a15057868
MD5 a0bf236fa2b4c8ce5310862e68b1d6f3
BLAKE2b-256 cb3081bc0d27f35b19fc4e17f4a9ad6dd449c9f018714eaf85d8ff5c52777b9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deped_dcp_template-0.4.1-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

Hashes for deped_dcp_template-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f037b60e414c12d292a7f9437d89470000deafbd4a76c7668bb18f4ddd43aa3
MD5 bfba653cb4b78a3fa15afb3dab52869d
BLAKE2b-256 aaf19f4f9c102efd6cb8698bcd5f95338a43151826e10992b7cfa8d46c652528

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