Skip to main content

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

Metadata

Release files for hwlib-data 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hwlib-data 0.1.0
File Size Uploaded Provenance Actions
hwlib_data-0.1.0.tar.gz 17.5 kB With provenance Details for hwlib_data-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hwlib-data 0.1.0
File Interpreter ABI Platform Actions
hwlib_data-0.1.0-py3-none-any.whl Python 3 none any Details for hwlib_data-0.1.0-py3-none-any.whl

Total release size: 35.0 kB

Release files / hwlib_data-0.1.0.tar.gz

Download URL hwlib_data-0.1.0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
648be26fc0bcafdded0ca81f6883e5cca12ce6d4c9bf323d8c14329c9836a0cd
BLAKE2b-256 checksum
How to use checksums
7fbe99161ea116d8f76321b34d4c5374dcdf684c4275df170f72d7e917e013b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 29, 2026.

Transparency log

Release files / hwlib_data-0.1.0-py3-none-any.whl

Download URL hwlib_data-0.1.0-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e25dafa6dbdd42834406a9b6ee88b623a08ce43d0dc1d86163c53e5d652588a
BLAKE2b-256 checksum
How to use checksums
041b52b4e856b9396ea7737a8d009e4b9e19c81a2be75af92f0df623325ec12d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 29, 2026.

Transparency log

Security for hwlib-data 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hwlib_data-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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