Skip to main content

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 query
  • library.json — same data in JSON for tooling that prefers it
  • index.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 on hwlib-data as the data source when HWLIB_DATA_DIR isn't set. After pip install hwlib-mcp, the MCP server is self-contained.
  • KiCad / BOM tooling — reads library.sqlite directly 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hwlib_data-0.1.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hwlib_data-0.1.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

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

Hashes for hwlib_data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 648be26fc0bcafdded0ca81f6883e5cca12ce6d4c9bf323d8c14329c9836a0cd
MD5 8093319ea25290be1ed0d069d628906e
BLAKE2b-256 7fbe99161ea116d8f76321b34d4c5374dcdf684c4275df170f72d7e917e013b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hwlib_data-0.1.0.tar.gz:

Publisher: release.yml on rnd-southerniot/hw-registry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for hwlib_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e25dafa6dbdd42834406a9b6ee88b623a08ce43d0dc1d86163c53e5d652588a
MD5 6d50d5b0850a079fa83c6b82060ee003
BLAKE2b-256 041b52b4e856b9396ea7737a8d009e4b9e19c81a2be75af92f0df623325ec12d

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page