Skip to main content

DepEd Equipment

Equipment turns submitted inventory and ICT benchmarks into two SQLite files:

  • artifacts/provider.db contains school counts and grouped DCP procurement evidence for downstream applications.
  • artifacts/equipment.db contains the compact observations and source references used to explain those figures.

The public contract is equipment_v4, with schema equipment_provider_v1. The private schema is equipment_build_v2. Original source files remain the evidence for fields that Equipment does not copy.

Build and verify

Run from this repository with Python 3.14+, uv, and just installed:

uv sync
just preflight
just build
just status --json
just audit

The build requires Portal and InsightEd extracts, Entity and Dataset artifacts with valid receipts, DCP templates, the DCP procurement workbook, historical ICT workbooks, and the eCart CSV. Paths are configured in justfile and can be overridden through environment variables. No HR artifact is required.

just build regenerates the lookup input and performs a complete build. It publishes the private database, provider database, and receipt together with rollback on publication errors. just provider-artifact republishes a completed build after checking its inputs and receipts.

Read the build guide, table reference and ERDs, figure definitions, and measured validation.

Development checks are just check and just test. Run just docs to preview the documentation.

Command environment

R2 transfer recipes use op run --env-file=env.r2 to resolve the checked-in 1Password references only for the transfer process. Install the 1Password CLI and authorize access to the referenced vault before running them. Just does not load or generate .env. Export ordinary configuration overrides in your shell. Existing local .env files are not deleted automatically; move any needed overrides before removing old plaintext copies.

Without 1Password

Have your secret manager or CI secret store supply R2_ACCOUNT_ID, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, and R2_BUCKET to the command's environment, with R2_REGION=auto. Supply resolved values, not op:// references. Run the underlying CLI directly; the Just transfer recipes still invoke op, even when credentials are already exported:

uv run deped-runtime r2 download --target "data" --prefix "deped-equipment"
uv run deped-runtime r2 upload --source "data" --prefix "deped-equipment" --overwrite

These examples use the repository's default paths and prefixes. Adjust the explicit flags for another location, retaining any include/overwrite options. The upload command writes to the remote bucket. If you lack bucket access, obtain the required inputs from maintainers and place them at the documented local paths; installing 1Password does not itself grant data access.

Keep actual secrets out of reference files, committed files, and shell command history. Ordinary offline builds and checks do not require 1Password.

Metadata

Release files for deped-equipment 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deped-equipment 0.2.1
File Size Uploaded
deped_equipment-0.2.1.tar.gz 48.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deped-equipment 0.2.1
File Interpreter ABI Platform
deped_equipment-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 113.1 kB

Release files / deped_equipment-0.2.1.tar.gz

Download URL deped_equipment-0.2.1.tar.gz
Size 48.3 kB
Tags Source
SHA-256 checksum
How to use checksums
873a68450e6de2073168b1cac8b499be665c83d8ae27bf9d34299829548987cb
BLAKE2b-256 checksum
How to use checksums
44cd54d731c89f325775e1685d8378e9876d7ae237b0ecfcefb9383571886842
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release files / deped_equipment-0.2.1-py3-none-any.whl

Download URL deped_equipment-0.2.1-py3-none-any.whl
Size 64.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16bf1e9ce2df0115342892ecc17cb811c28eedb666ab63f022a21528cde12329
BLAKE2b-256 checksum
How to use checksums
405980856b643a671b40d3a74cc37960b5398d6243d4c83b1f0b780e80797bb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page