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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: deped_dcp_template-0.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 1fc950a9940c23c1447f8c87891ca2d49a5d240e1ad61872448952d2fb266864
MD5 27172e207116fad3f4eccbe648a7ec58
BLAKE2b-256 20e0c4226a1c4d92f37fe92aab444648d0e9ed79e187bd810e7c45624b8c54de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deped_dcp_template-0.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c94a6a4dc0fe9eb2a9147d115f98e00fd1606c8e7dacd154810b5ad4eabf6b39
MD5 01d4efb3f99a643b5678c300be1aec0b
BLAKE2b-256 99396fcf6ccdcba6ddc5da6e2565c936f3f88bc65023a9b1875e8a259418d527

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