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

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.0
File Size Uploaded
deped_equipment-0.2.0.tar.gz 48.1 kB Details

Built distribution (wheel)

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

Total release size: 112.8 kB

Release files / deped_equipment-0.2.0.tar.gz

Download URL deped_equipment-0.2.0.tar.gz
Size 48.1 kB
Tags Source
SHA-256 checksum
How to use checksums
299c22d1cd91c692f06b5b8627cd3be7afbda0aa358b1bdb0dde954ceb1b765a
BLAKE2b-256 checksum
How to use checksums
586410d730477f5cce060d14b06f441f3485c6aa2e0a2d452e66050d955a960e
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.0-py3-none-any.whl

Download URL deped_equipment-0.2.0-py3-none-any.whl
Size 64.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb68efaf4cfca1f949adb732f17ac8f2263fc28aef1c97858a912f43e861464c
BLAKE2b-256 checksum
How to use checksums
ccae76918dc61c1ff042c85227f20e60a90fb46b42a5c1f55daac7ad1e06bbc9
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

0.2.1

2 release files

This release

0.2.0 This release

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