deped-connectivity
deped-connectivity extracts workbook rows and builds a standalone connectivity SQLite database. It consumes the lookup artifact from deped-template and the entity artifact from deped-entity.
What This Package Owns
- Extracting flattened CSV rows from the connectivity workbook
- Building the connectivity database from extracted rows
- Matching rows to governance entities using the upstream entity artifact
- Connectivity-specific views and audit commands
This package owns both the extractor contract and the connectivity database contract.
Inputs And Outputs
Required inputs:
- a connectivity workbook for extraction
- an extracted connectivity CSV for the build step
- a lookup database produced by
deped-template - an entity database produced by
deped-entity
Primary outputs:
- extracted connectivity CSV
connectivity.db
The connectivity database includes staging rows, matched submissions, option lookup tables, and unmatched-stage diagnostics.
CLI
Extract workbook rows:
uv run web extract \
--xlsx data/2026-04-01-connectivity.xlsx \
--csv artifacts/connectivity.csv
Build the connectivity database:
uv run web build \
--connectivity artifacts/connectivity.csv \
--lookups artifacts/lookups.db \
--entities-db artifacts/entities.db \
--db artifacts/connectivity.db
Run the lightweight audit command:
uv run web audit \
--db artifacts/connectivity.db
Nuances
- Extraction and build are intentionally separate. If the workbook header layout changes, the fix belongs in the extractor layer, not in the database loader.
- Entity loading is artifact-driven. This package imports entities from
entities.dband matches connectivity rows against that upstream dimension. - This package does not own school staffing or equipment enrichment views. Those were monolith surfaces and are no longer part of the supported contract.
Tests
Run the package tests from this directory:
uv run pytest -q
Package-local coverage is split between:
- tests/test_connectivity_extractor.py for workbook extraction
- tests/test_connectivity_build.py for governance matching and database build behavior
Release files for deped-connectivity 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deped_connectivity-0.1.0.tar.gz | 31.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deped_connectivity-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.3 kB
Release files / deped_connectivity-0.1.0.tar.gz
| Download URL | deped_connectivity-0.1.0.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d0e40ade7e4401fada2e2ea8570b48119f176db61f6cbd742dda93abbbdfda8
|
|
BLAKE2b-256 checksum How to use checksums |
2f3884339dcaf26562e7fe11ef64139cf45f8605e72a9780fd1235138da04419
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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_connectivity-0.1.0-py3-none-any.whl
| Download URL | deped_connectivity-0.1.0-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29b9729eed0cba4cac6d299b18543a62ba5c4765a354e2435d90330b3768526f
|
|
BLAKE2b-256 checksum How to use checksums |
b18c0057ca2de8cf30c9583d6c2982bb0fba64019ef4c0a1f8e1a48e93464225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}
|