Skip to main content

pycosmicsdk

Python SDK for the Binho Supernova and Binho Pulsar USB host adapters: I2C, I3C, SPI, UART and GPIO from Python, with a blocking API and an asyncio twin for every protocol.

pip install pycosmicsdk

Binary wheels ship for CPython 3.10–3.14 on Linux x86_64, macOS arm64 and Windows AMD64. The native CosmicSDK library is linked into the wheel, so there is nothing else to install and no path to configure.

First steps

import pycosmicsdk as p

print(p.list_devices())                      # every attached Supernova / Pulsar

with p.Device.open() as dev:                 # the first adapter found
    print(dev.info.fw_version)
    i2c = dev.i2c()
    i2c.set_voltage(voltage_mv=3300)
    i2c.bring_up(frequency_hz=400_000, pull_up=p.I2cPullUp.KOHM_1_0)
    print(sorted(i2c.scan().addresses_7bit))  # addresses that ACKed
Protocol Supernova Pulsar
I2C controller and target bus A buses A and B
I3C controller (all CCCs) and target yes —
SPI controller and target yes (target not on rev B) yes
UART yes yes
GPIO, with interrupts yes yes

Large transfers can use the adapter's USB bulk endpoint: up to 32 KB on a Supernova and 16 KB on a Pulsar per call.

Linux

The adapters are USB HID devices and need no driver on any platform. On Linux, add a udev rule so they are reachable without root. Without it, list_devices() still finds the adapter but its serial number comes back empty.

# /etc/udev/rules.d/65-binho.rules
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="82fc", MODE="0660", GROUP="plugdev"
SUBSYSTEM=="usb",    ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="82fc", MODE="0660", GROUP="plugdev"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="82fd", MODE="0660", GROUP="plugdev"
SUBSYSTEM=="usb",    ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="82fd", MODE="0660", GROUP="plugdev"

Then run sudo udevadm control --reload && sudo udevadm trigger and add your user to plugdev.

Versions and firmware

MAJOR.MINOR follows the CosmicSDK release embedded in the wheel: pycosmicsdk 1.6 carries CosmicSDK 1.6. Features that need newer adapter firmware say so, and older firmware answers them with FW_UNSUPPORTED_COMMAND rather than failing silently. Update the adapter's firmware from Mission Control.

Support

Metadata

Release files for pycosmicsdk 1.7.0

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

Built distributions (wheels)

Table of built distributions (wheels) for pycosmicsdk 1.7.0
File Actions
pycosmicsdk-1.7.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for pycosmicsdk-1.7.0-cp314-cp314-win_amd64.whl
pycosmicsdk-1.7.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for pycosmicsdk-1.7.0-cp314-cp314-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.0-cp314-cp314-macosx_11_0_arm64.whl
pycosmicsdk-1.7.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for pycosmicsdk-1.7.0-cp313-cp313-win_amd64.whl
pycosmicsdk-1.7.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for pycosmicsdk-1.7.0-cp313-cp313-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.0-cp313-cp313-macosx_11_0_arm64.whl
pycosmicsdk-1.7.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for pycosmicsdk-1.7.0-cp312-cp312-win_amd64.whl
pycosmicsdk-1.7.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for pycosmicsdk-1.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.0-cp312-cp312-macosx_11_0_arm64.whl
pycosmicsdk-1.7.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for pycosmicsdk-1.7.0-cp311-cp311-win_amd64.whl
pycosmicsdk-1.7.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for pycosmicsdk-1.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.0-cp311-cp311-macosx_11_0_arm64.whl
pycosmicsdk-1.7.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for pycosmicsdk-1.7.0-cp310-cp310-win_amd64.whl
pycosmicsdk-1.7.0-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for pycosmicsdk-1.7.0-cp310-cp310-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.0-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 24.1 MB

Release files / pycosmicsdk-1.7.0-cp314-cp314-win_amd64.whl

Download URL pycosmicsdk-1.7.0-cp314-cp314-win_amd64.whl
Size 1.7 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
5684d3ffd90682e0daf58421cb08be5b916abb0e9d3ecdc2dd62bdad19560221
BLAKE2b-256 checksum
How to use checksums
1cb967f29720609b555deeff5140db973c7f74d71dfaf2e6d0a0eb4311765070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL pycosmicsdk-1.7.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d24330ba1435415afbf20e2ea3267050e304abf04869935f5cc18cdd89df509c
BLAKE2b-256 checksum
How to use checksums
8a5074cd0b711fb777ef86af15e49bfdddada076af61cefa77b7f6459004518f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL pycosmicsdk-1.7.0-cp314-cp314-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
aad906dade8e04451325fe60a3ea828022d63adab4e5f24452303b7cc99e6191
BLAKE2b-256 checksum
How to use checksums
b7223dd1408d8d2a4e178618281c69fe9a79f4331185e8052166270c3240d551
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp313-cp313-win_amd64.whl

Download URL pycosmicsdk-1.7.0-cp313-cp313-win_amd64.whl
Size 1.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
5f94ff0b21beadeded71da5ea077d013bced064f97df84ac8b7ffa814faa3d77
BLAKE2b-256 checksum
How to use checksums
cc64b7ed6b4bcdbc0c7097d3822c773e6bb45a9dae9505fb95e7b9f91541b501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL pycosmicsdk-1.7.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2ec566f557616dbdaa7fb503857b08dedcb19227201c0da2d7e8f8f51409a5eb
BLAKE2b-256 checksum
How to use checksums
e86fa8c17d6439c20a2a0c3295b4921717e5c2dfc55facdf514278ef2ce6edc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL pycosmicsdk-1.7.0-cp313-cp313-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
219c2a0518b4d2c8aba048ecff23384b66f8a62228c7426c35466f3faba79fb8
BLAKE2b-256 checksum
How to use checksums
4cb55d971965fc1a1b506c443565850a40d27271ec1fbfb8d49f42cd6ed233f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp312-cp312-win_amd64.whl

Download URL pycosmicsdk-1.7.0-cp312-cp312-win_amd64.whl
Size 1.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c0e905947fc903b2e2f697b54eb7c083130d43e241246709f87c62fde6b862d7
BLAKE2b-256 checksum
How to use checksums
9454f421fd1f3ab3681979533d86ad2dffb876f1da4a09cca5005e1f392ee8d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL pycosmicsdk-1.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
91b3e6e9ccba42309882f94612b253da338a42f1571127c29b0a909567fcc818
BLAKE2b-256 checksum
How to use checksums
043afb27937b0f392ffdbfe38abce28ec35c909858fe6a8c36d6f46706dd6d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL pycosmicsdk-1.7.0-cp312-cp312-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ba767964f00c2f886ecd417080075e233f6271ced7b2504f6ce561c966a10370
BLAKE2b-256 checksum
How to use checksums
fe2608a0fe1d0365d6931cdc16e40706d95820daf218ed8aaf76db91ce0c6987
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp311-cp311-win_amd64.whl

Download URL pycosmicsdk-1.7.0-cp311-cp311-win_amd64.whl
Size 1.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
9643d1c18721a6e78f8e4aa9434d6c1e3b9a96241a4d1c4ae704baf348406f32
BLAKE2b-256 checksum
How to use checksums
dcd33140aac41dcd00ee727191ba0ca5e863713321e3983889d729dae7ede3ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL pycosmicsdk-1.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
29979f89d3d2ad0045917108bcd213eef9bb0fc2e71e49665ad682c6a3f46773
BLAKE2b-256 checksum
How to use checksums
3a0bc977400fd4c7182dc5905542fe72f2af9f4c7e5e34ef9c023e7f34b004d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL pycosmicsdk-1.7.0-cp311-cp311-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
27aa51bed6854a515a36d631237c5b1a1e25fc63e17925875e4b8b996451e95f
BLAKE2b-256 checksum
How to use checksums
8e3c725488a8522250e636517e686a7f50245a4f9ae40d4c65c31d4635674595
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp310-cp310-win_amd64.whl

Download URL pycosmicsdk-1.7.0-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c09e665e9a16d4ea0aab1f12d7ec6452112b7736df62a224cd023b65d37a8d2d
BLAKE2b-256 checksum
How to use checksums
88bfad3f58ead1a9197fd4cec53c9c0d1b855f5bd1ea66f05b859650c9bfe1a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL pycosmicsdk-1.7.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6e9d2c8dce23aa75f679fd9b24bcecda9c417c944749ca31d611a97b748634fd
BLAKE2b-256 checksum
How to use checksums
68d39d1b4bb2863dff8ff181bf562b77ac7bc047e5bffb79ae092a911eec3e6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Release files / pycosmicsdk-1.7.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL pycosmicsdk-1.7.0-cp310-cp310-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d8bec5950625cd220aa4e91972be8fe129a072c83e555b95b3761321fbfb8897
BLAKE2b-256 checksum
How to use checksums
cbe11abff7d4da3101b38187e9315a06ef614adc0aeb4005ee1a47138077b6b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Security for pycosmicsdk 1.7.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

All 15 files in this release have been uploaded with provenance metadata.

Select from 15 files

Attestation for pycosmicsdk-1.7.0-cp314-cp314-win_amd64.whl

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 Oct 19, 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