Bundled component data for hw-registry. Read-only SQLite + JSON catalog of curated embedded hardware (boards, modules, sensors, drivers).
Project description
hwlib-data
Bundled component data for hw-registry as a PyPI data wheel.
What this package is
A pure-data Python package containing the deterministic bundle of curated embedded hardware components — boards, modules, sensors, drivers, chips, connectors. The bundle ships as three artifacts:
library.sqlite— fully-resolved component catalog, indexed for FTS5 search and direct querylibrary.json— same data in JSON for tooling that prefers itindex.json— faceted summary (counts by kind, build provenance)
Updates to this package track the content of the registry. The MCP server (hwlib-mcp) and other consumers update independently.
Who uses this
hwlib-mcp— depends onhwlib-dataas the data source whenHWLIB_DATA_DIRisn't set. Afterpip install hwlib-mcp, the MCP server is self-contained.- KiCad / BOM tooling — reads
library.sqlitedirectly to resolve component refs without going through the MCP layer. - Custom integrations — any Python tool that wants the catalog without the MCP protocol overhead.
Humans browsing the catalog should use the doc site instead.
Usage
from hwlib_data import data_path
import sqlite3
conn = sqlite3.connect(data_path() / "library.sqlite")
rows = conn.execute("SELECT id, summary FROM components WHERE kind = 'sensor'").fetchall()
The path is also valid for json.load:
import json
from hwlib_data import data_path
with open(data_path() / "library.json") as f:
catalog = json.load(f)
License
Data: CC-BY-4.0. Quote, redistribute, build derivatives — attribution required.
Versioning
hwlib-data follows semver against the bundle schema, not the component count. Adding a component is a PATCH bump. Adding a column to library.sqlite is a MINOR bump. Removing or renaming a column is a MAJOR bump. Component IDs themselves carry their own per-component revision (MAJOR.MINOR.PATCH per BLUEPRINT.md §6).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hwlib_data-0.1.0.tar.gz.
File metadata
- Download URL: hwlib_data-0.1.0.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
648be26fc0bcafdded0ca81f6883e5cca12ce6d4c9bf323d8c14329c9836a0cd
|
|
| MD5 |
8093319ea25290be1ed0d069d628906e
|
|
| BLAKE2b-256 |
7fbe99161ea116d8f76321b34d4c5374dcdf684c4275df170f72d7e917e013b0
|
Provenance
The following attestation bundles were made for hwlib_data-0.1.0.tar.gz:
Publisher:
release.yml on rnd-southerniot/hw-registry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hwlib_data-0.1.0.tar.gz -
Subject digest:
648be26fc0bcafdded0ca81f6883e5cca12ce6d4c9bf323d8c14329c9836a0cd - Sigstore transparency entry: 1399497768
- Sigstore integration time:
-
Permalink:
rnd-southerniot/hw-registry@a41e4a7e5e7eb71e08cc86d8d44ccab79afc92be -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/rnd-southerniot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a41e4a7e5e7eb71e08cc86d8d44ccab79afc92be -
Trigger Event:
push
-
Statement type:
File details
Details for the file hwlib_data-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hwlib_data-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e25dafa6dbdd42834406a9b6ee88b623a08ce43d0dc1d86163c53e5d652588a
|
|
| MD5 |
6d50d5b0850a079fa83c6b82060ee003
|
|
| BLAKE2b-256 |
041b52b4e856b9396ea7737a8d009e4b9e19c81a2be75af92f0df623325ec12d
|
Provenance
The following attestation bundles were made for hwlib_data-0.1.0-py3-none-any.whl:
Publisher:
release.yml on rnd-southerniot/hw-registry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hwlib_data-0.1.0-py3-none-any.whl -
Subject digest:
7e25dafa6dbdd42834406a9b6ee88b623a08ce43d0dc1d86163c53e5d652588a - Sigstore transparency entry: 1399497779
- Sigstore integration time:
-
Permalink:
rnd-southerniot/hw-registry@a41e4a7e5e7eb71e08cc86d8d44ccab79afc92be -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/rnd-southerniot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a41e4a7e5e7eb71e08cc86d8d44ccab79afc92be -
Trigger Event:
push
-
Statement type: