Skip to main content

deped-hr

DepEd HR prepares personnel records for contact lookup, survey follow-up, and source review. It combines the Portal survey with an InsightED ESF7 snapshot and writes a standalone SQLite database, artifacts/personnel.db.

Start with the guides, query examples, or the schema and table rationale.

just preflight
just build
just status --json
just audit

The build needs the source files and sibling packages described in the build guide. Add historical category evidence with just build-esf7-history; add workload and training details with just build-esf7-details. Neither optional layer runs during the normal build.

ESF7 records, survey responses, and BEIS position counts measure different things. An unmatched ESF7 record is a record to follow up, not a vacancy. Understand the sources before comparing counts.

The phase11 database uses contract personnel_v6, with Entity selection owned by Entity’s published current view. A rebuild is required to obtain this corrected selection; the reader can still inspect historical personnel_v5 artifacts. The three school/office reporting names remain available as saved queries (SQL views). Equipment uses the restricted personnel_matching view. “Public” in a view name means a supported interface; it does not grant permission to share personnel data.

For development, run just check and just package. See development for setup and checks.

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 publish uses op run --env-file=env.publish; only the upload process receives UV_PUBLISH_TOKEN. Package builds do not require vault access. 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/portal" --prefix "deped-hr/portal"
uv run deped-runtime r2 download --target "data/esf7" --prefix "deped-hr/esf7"
uv run deped-runtime r2 download --target "data/ito" --prefix "deped-hr/ito"
uv run deped-runtime r2 upload --source "data/portal" --prefix "deped-hr/portal" --overwrite
uv run deped-runtime r2 upload --source "data/esf7" --prefix "deped-hr/esf7" --overwrite
uv run deped-runtime r2 upload --source "data/ito" --prefix "deped-hr/ito" --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.

For package publication, build with just package, then supply UV_PUBLISH_TOKEN from your secret manager or CI secret store to uv publish:

just package
uv publish

This requires publishing permission for the package. just publish still invokes op; use the direct command above when 1Password is unavailable.

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-hr 0.5.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-hr 0.5.0
File Size Uploaded
deped_hr-0.5.0.tar.gz 125.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deped-hr 0.5.0
File Interpreter ABI Platform
deped_hr-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 290.7 kB

Release files / deped_hr-0.5.0.tar.gz

Download URL deped_hr-0.5.0.tar.gz
Size 125.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbb1bc6d1f995b2442cda0312cbac93993f9fe1d6714f7b5d0a77f051e369e49
BLAKE2b-256 checksum
How to use checksums
3008b98bf9ed5db3d551fa82068cf722317f9083c2af3ebd77b0da8be2bdabe3
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_hr-0.5.0-py3-none-any.whl

Download URL deped_hr-0.5.0-py3-none-any.whl
Size 164.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b850674c89df963a0f5a6417eee20ff49b43e0eeec89ac38d2bee84910a01f9
BLAKE2b-256 checksum
How to use checksums
6ac9e2f5b25528c65d3ad80d6e281c336497a12455967740b3a0206fccacbbce
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.5.1

2 release files

This release

0.5.0 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

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