No description
Find a file
2026-05-22 17:42:59 -04:00
.github/workflows Add package publish action 2026-04-29 16:39:31 -04:00
debian Release 0.5.1 2026-05-22 17:42:59 -04:00
scripts Add added and removed lines to mp data 2026-05-21 16:59:37 -04:00
src/ubq General lp and snap code cleanup 2026-05-22 17:41:03 -04:00
tests Update query service tests to match new functions 2026-05-21 17:02:57 -04:00
.gitignore Add pyproject, tox, and gitignore files 2026-04-23 12:58:13 -04:00
LICENSE Initial commit 2026-04-23 12:49:37 -04:00
pyproject.toml Release 0.5.1 2026-05-22 17:42:59 -04:00
README.md Update architecture to remove services and bring queryservice to the 2026-05-12 14:42:27 +02:00
tox.ini Include scripts in ty check 2026-05-22 17:38:51 -04:00
uv.lock Release 0.5.1 2026-05-22 17:42:59 -04:00

PyPI - Version Code style: black

Ubuntu Query

Common Python library interface for interacting with services providing data on Ubuntu

Architecture

ubq is separated into two sets of components - models and providers.

The models component contains standardized data types for data that can be extracted from providers.

The providers component provides standardized classes for querying and sending information to external locations hosting Ubuntu-related data. It also contains the ProviderRegistry for managing provider sessions.

The top-level ubq package exposes QueryService as the primary entry point for external use.

Scripts

This repository includes a scripts directory for simple tools and examples for interacting with ubq. They can be run using uv:

uv run scripts/<script_name> [args]

Testing

Run unit tests and lint using tox-uv:

uvx tox