Skip to main content

deped-runtime

deped-runtime collects reusable file, database, download, console, and notebook helpers used across DepEd data repositories. Install only the optional features a project needs. Each project still defines its own schemas, source rules, data meaning, published formats, and application state.

See the DepEd Orchestrator for the full repository graph, build order, and verification workflow.

Install

The base package includes artifact, CSV, OOXML, text, SQL, SQLite, console, and profile-table support:

uv add deped-runtime

Install only the optional integration your project needs:

uv add 'deped-runtime[excel]'   # openpyxl workbook helpers
uv add 'deped-runtime[polars]'  # SQLite query/source frames
uv add 'deped-runtime[geoparquet]'  # GeoParquet and WKB polygon mechanics
uv add 'deped-runtime[geodesy]' # NumPy point distance and candidate search
uv add 'deped-runtime[r2]'      # Cloudflare R2 API and CLI
uv add 'deped-runtime[marimo]'  # standalone Marimo UI helpers
uv add 'deped-runtime[marimo-sql]' # standalone Marimo SQL integration
uv add 'deped-runtime[charts]'  # standalone Altair and Polars chart helpers
uv add 'deped-runtime[maps]'    # standalone Folium map helpers
uv add 'deped-runtime[notebooks]'      # Marimo and generic Altair components
uv add 'deped-runtime[notebooks-sql]'  # notebook components plus Marimo SQL
uv add 'deped-runtime[notebooks-maps]' # notebook components plus Folium maps
uv add 'deped-runtime[all]'     # all optional integrations

Start by task

The documentation routes to the complete module map, installation matrix, capability guides, and ownership boundary.

Quick examples

from deped_runtime.artifacts import file_identity, file_sha256
from deped_runtime.sqlite import fetch_required_int, open_readonly_sqlite, relation_columns

with open_readonly_sqlite("artifacts/example.db") as conn:
    print(file_sha256("artifacts/example.db"))
    print(file_identity("artifacts/example.db"))
    print(relation_columns(conn, "example"))
    print(fetch_required_int(conn, "SELECT COUNT(*) FROM example", label="example rows"))
uv run --extra r2 deped-runtime r2 download --target data --prefix deped-example
uv run profile-table artifacts/example.db example

Development

just docs   # serve documentation on http://localhost:8002
just check  # lint, type-check, test, build docs, and build the wheel

Release files for deped-runtime 0.7.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-runtime 0.7.1
File Size Uploaded
deped_runtime-0.7.1.tar.gz 63.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deped-runtime 0.7.1
File Interpreter ABI Platform
deped_runtime-0.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 141.0 kB

Release files / deped_runtime-0.7.1.tar.gz

Download URL deped_runtime-0.7.1.tar.gz
Size 63.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f0bc1442c504d5be7aacb560bb3dda3635cf95ec1c9cb894607c2da03926b8b7
BLAKE2b-256 checksum
How to use checksums
ee49dba171af6081f02d2fc5326043d2753fc618a67af0fce6af40bc2a87d3fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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_runtime-0.7.1-py3-none-any.whl

Download URL deped_runtime-0.7.1-py3-none-any.whl
Size 77.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6da9d337011c5a271d1cb109594c315ad67bf78c5251ac97e4ef413a0d2cfce5
BLAKE2b-256 checksum
How to use checksums
79d43f496b6390b22f60aeb8b38009ac9f9fd0c3787b8a16873011af1a4bc0a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.7.1 This release

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

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

0.2.1

2 release files

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