Skip to main content

Hardware Knowledge Hub

Checks PyPI License: MIT

Give your AI assistant the whole build, one time.

A hardware project comes with dozens of facts an assistant needs to make a good suggestion. Which parts are on hand? Which GPIO pins are already taken? What actually fits in the enclosure? Keep those details in one editable project notebook, then let your coding assistant read the same notes each time you work together.

Explore the live Bike Logger demo · Source on GitHub

Try it in a few minutes

pip install hardware-knowledge-hub
hardware-knowledge-hub init my-first-build
cd my-first-build
python3 hardware/knowledge/kb.py serve

Open the local editor. Your new folder starts with Bike Logger, a real Raspberry Pi project with a rear camera, sensors, and a printed enclosure.

  1. Explore the build. Find where parts sit in Bike, trace connections in Wiring, and inspect the enclosure in 3D Parts.
  2. Record what you learn. Edit Notes when a component, dimension, or design decision changes. Saving updates the project notes your assistant reads.
  3. Ask about the build. Open the project folder in Codex or Claude Code. The starter project points both assistants to the generated hardware notes.

Read the hardware notes. Where is the rear camera mounted, how is its cable routed, and which dimensions should I measure before changing the bracket?

You can ask the next question in a fresh chat. The project folder carries the measurements, parts list, print log, and decisions forward.

From the 3D view to your slicer

In the local editor on macOS, select a finished print in 3D Parts, choose an app, and click Open model. The app needs to be installed.

Application File opened
Bambu Studio Matching 3MF when available, otherwise STL
OrcaSlicer Matching 3MF when available, otherwise STL
PrusaSlicer Matching 3MF when available, otherwise STL
FreeCAD Matching STEP when available, otherwise STL

You can also open the files directly from hardware/print/. The hosted demo runs in the browser. The local editor is where you save changes and launch desktop apps.

Make it yours

Use Notes for your own parts, measurements, decisions, and build log. The Bike Logger diagrams and CAD controls are examples configured for that build. Project data lives in hardware/knowledge/knowledge.json, with the generated assistant-readable notes in hardware/CLAUDE.md.

Contributing

The hub is one Python file and a few plain JavaScript files, with no dependencies and no build step, so it is quick to get into. You do not need a 3D printer or a Raspberry Pi to help.

CONTRIBUTING.md covers setup, where things are, and the checks to run. The project is MIT-licensed.

Metadata

Release files for hardware-knowledge-hub 0.2.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 hardware-knowledge-hub 0.2.1
File Size Uploaded Provenance Actions
hardware_knowledge_hub-0.2.1.tar.gz 3.1 MB With provenance Details for hardware_knowledge_hub-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hardware-knowledge-hub 0.2.1
File Interpreter ABI Platform Actions
hardware_knowledge_hub-0.2.1-py3-none-any.whl Python 3 none any Details for hardware_knowledge_hub-0.2.1-py3-none-any.whl

Total release size: 6.3 MB

Release files / hardware_knowledge_hub-0.2.1.tar.gz

Download URL hardware_knowledge_hub-0.2.1.tar.gz
Size 3.1 MB
Tags Source
SHA-256 checksum
How to use checksums
7d7bdcb603dfdd8211d29ff76624ea279dc079eb35282e6851ee8aac3a4d65d0
BLAKE2b-256 checksum
How to use checksums
d92da6a7c9003ef34d6ac19cb68bd7a7efb28897add31d886ce718ff902d2e25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Release files / hardware_knowledge_hub-0.2.1-py3-none-any.whl

Download URL hardware_knowledge_hub-0.2.1-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3a2240e61ca4195ecf0c0581c68fac5aa689ec9bd8df6d19837f042ca5a30be7
BLAKE2b-256 checksum
How to use checksums
724e500279e01cd3131549c82d999b0ec6dbfbc70f1034705cfb363f9c13253d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Security for hardware-knowledge-hub 0.2.1

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 hardware_knowledge_hub-0.2.1.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 Nov 12, 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.

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