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.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-hr 0.5.1
File Size Uploaded
deped_hr-0.5.1.tar.gz 125.9 kB Details

Built distribution (wheel)

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

Total release size: 290.9 kB

Release files / deped_hr-0.5.1.tar.gz

Download URL deped_hr-0.5.1.tar.gz
Size 125.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b9ccdeffa58e76e38f22f48b537872796bd25e77a8ca29b2ebf84f5190f8c139
BLAKE2b-256 checksum
How to use checksums
678b7e2cde3ba6e25859bc430f75c9831ab1d7618e3aac6240263dc49c192005
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.1-py3-none-any.whl

Download URL deped_hr-0.5.1-py3-none-any.whl
Size 165.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be9fdb2a60676d99d0acb034d0cde8e59a17a7bfb7b9567e7aa2972ecbfb0111
BLAKE2b-256 checksum
How to use checksums
d47cc81357cc3a0a69d3cdfc602eb0b7fb02788bde4063a07fef20da1a29c96a
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.5.1 This release

2 release files

0.5.0

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