Skip to main content

harp-hobgoblin

The Python interface for the Harp Hobgoblin device. It carries the register classes for the device, the payload and enumeration types those registers use, and a REGISTER_MAP pairing every address with its register.

Installation

pip install harp-hobgoblin

Reading and writing registers

Register classes are passed to read and write on an open device transport, such as the serial transport in Harp Python.

from harp import serial
from harp.device import hobgoblin, client

SERIAL_PORT = "/dev/ttyUSB0"  # or "COMx" in Windows, where "x" is the serial port number

with serial.open_device(client.Device, port=SERIAL_PORT) as device:
    print("device:", hobgoblin.DEVICE_NAME, "WhoAmI:", hobgoblin.WHO_AM_I)
    print("analog data:", device.read(hobgoblin.AnalogData).payload)

open_dataset in harp.data takes this module as its second argument, and decodes recorded data through the same register classes.

Feedback and contributing

harp-hobgoblin is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Metadata

Release files for harp-hobgoblin 0.2.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 harp-hobgoblin 0.2.0
File Size Uploaded Provenance Actions
harp_hobgoblin-0.2.0.tar.gz 37.4 kB Without provenance Details for harp_hobgoblin-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for harp-hobgoblin 0.2.0
File Interpreter ABI Platform Actions
harp_hobgoblin-0.2.0-py3-none-any.whl Python 3 none any Details for harp_hobgoblin-0.2.0-py3-none-any.whl

Total release size: 42.6 kB

Release files / harp_hobgoblin-0.2.0.tar.gz

Download URL harp_hobgoblin-0.2.0.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4bed0b9370d5944d5a0f76cb9d32793fafe6ffc08855e9531bb8040ee5c06d26
BLAKE2b-256 checksum
How to use checksums
7623568ceeb6e039cf3b042025e223ffc9fa36f484bd648d51ee1a06ef87cb3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / harp_hobgoblin-0.2.0-py3-none-any.whl

Download URL harp_hobgoblin-0.2.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc8d037b23a0fb1bbb3d94aef7aee9eeedc4f27f9564451855a0e926ad7a7e12
BLAKE2b-256 checksum
How to use checksums
2773712205ef0fc75914c0f1e62afa68b2119e52a9006bf7e78fcb2c33f14ab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for harp-hobgoblin 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.2.0 This release

2 release files No 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