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

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.1
File Actions
pycosmicsdk-1.7.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for pycosmicsdk-1.7.1-cp314-cp314-win_amd64.whl
pycosmicsdk-1.7.1-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.1-cp314-cp314-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.1-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.1-cp314-cp314-macosx_11_0_arm64.whl
pycosmicsdk-1.7.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for pycosmicsdk-1.7.1-cp313-cp313-win_amd64.whl
pycosmicsdk-1.7.1-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.1-cp313-cp313-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.1-cp313-cp313-macosx_11_0_arm64.whl
pycosmicsdk-1.7.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for pycosmicsdk-1.7.1-cp312-cp312-win_amd64.whl
pycosmicsdk-1.7.1-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.1-cp312-cp312-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.1-cp312-cp312-macosx_11_0_arm64.whl
pycosmicsdk-1.7.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for pycosmicsdk-1.7.1-cp311-cp311-win_amd64.whl
pycosmicsdk-1.7.1-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.1-cp311-cp311-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.1-cp311-cp311-macosx_11_0_arm64.whl
pycosmicsdk-1.7.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for pycosmicsdk-1.7.1-cp310-cp310-win_amd64.whl
pycosmicsdk-1.7.1-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.1-cp310-cp310-manylinux_2_28_x86_64.whl
pycosmicsdk-1.7.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for pycosmicsdk-1.7.1-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 24.0 MB

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

Download URL pycosmicsdk-1.7.1-cp314-cp314-win_amd64.whl
Size 1.7 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
80fcd8b97ae73d6b29a35de63fd1c150134401eb723cfd7cd3b0875e78d63998
BLAKE2b-256 checksum
How to use checksums
74b25e00113b73c197911e2cb6e872d87fec6710bc129c19b60700f4cb9d4317
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
d37372c3467b07008382a83da73b3af81596ce483aed271de352c1351fe2005b
BLAKE2b-256 checksum
How to use checksums
722cfc1517474d1390ee00468894b3300876d9028920958b822fc178bb1f69d1
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
2c67199af38650c7c7941fb8b0aa0ba65d4ce626f93757abb6d72189bbeb4d4b
BLAKE2b-256 checksum
How to use checksums
e0fe4eaace944d84feeafa0666fb5bd30ec80cbfe6e49d7673f8021835b7086a
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-cp313-cp313-win_amd64.whl
Size 1.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
cfa522b3623bbb9987fcb0cdcea0edefff25e8e8ea82803b3e0cdfdd30807cd1
BLAKE2b-256 checksum
How to use checksums
1707e27cec798d9747030587a8f7cbda8c117cf877111e2e9d984f210bc6e710
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
9e757d0dcf4d776352fb3a9afba96fe53c1297c3832608d0ace22f89881907ab
BLAKE2b-256 checksum
How to use checksums
b1f4b5e5cc074a7ec04b16f7a7e9e9f559ce29f7fad3817c7721c97bb0589e4c
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
05926888dd96732a8fb268c8892554833190dadf2018ecff34cf4a31d82a81d2
BLAKE2b-256 checksum
How to use checksums
5a2468b8fc549e377d9ea646e5e66f9cb616fcac48c45b146a0bdf8c899d6232
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-cp312-cp312-win_amd64.whl
Size 1.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
db6029d6bec2c1a110eaae0c973ade2bba2b837a667658b86ac0093bae6badf2
BLAKE2b-256 checksum
How to use checksums
cd7eb9ebec444d4b51f0e85fceac888185bc9a7a13d32126a5f22647ce8d25d2
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
61a45f631d5c1f80be77103d03e40b16a1bbe3b80070f8b93fed193eff6d6852
BLAKE2b-256 checksum
How to use checksums
a5e6629891d4b0ee19451cfc85629f34dfa56f8fbf40ecceb4199d66b38744b4
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
1bc4da86170d354852925fabaa2a341d86a26ea7cf58584c64cf9073f953dd0e
BLAKE2b-256 checksum
How to use checksums
9bba2c515ade6c4167a4dea8898fc8fa2643c35edf5cfc8ece5ef720f37e43f7
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-cp311-cp311-win_amd64.whl
Size 1.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f4ef7e90b97550a34926d78d431fabf96063f4c450061f48d1539f8f33f03b00
BLAKE2b-256 checksum
How to use checksums
cbab370d54045a5a83799c1e1853899e3ca43cf74b56190bb77a85157d1bfb9d
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
bdc299ea1a94f501ee4c855034c2fa5142cf8cf407be539ed7d7c4c0146bb269
BLAKE2b-256 checksum
How to use checksums
a0070cd3270cebe134b0a92b761801a65fb16e2568ddd9e2a43bc5a16b874cff
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
0c43f57b8764ec93d399a7bd61ef572637bbd5fddcea7c580dc5ae4fabecc9f0
BLAKE2b-256 checksum
How to use checksums
c9a82c7a248319a13464ab5608da038e09fb68635cbd037caf90ef599f748aa3
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
76ff91a8d45943fa2ac8194be7d504c2c977175698cea3955b141b48cce44e00
BLAKE2b-256 checksum
How to use checksums
ad07cc19ca60bb8caf8d1262780ebd804bbfac3bbf152738c29e8f1d5d7823bc
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
b5161ebe31b7648c662725eb3dc24b6599f5a48a15f2b74965e8b6dade5a0f36
BLAKE2b-256 checksum
How to use checksums
a2257680ea91d187a4d7443a36e7bc570a99764f91ed49fb2ad28f1fba184742
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 Oct 28, 2026.

Transparency log

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

Download URL pycosmicsdk-1.7.1-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
31b0a8604828c2ddf7203871377e84924144c5ff63c4ac3c130d613f2803dfa8
BLAKE2b-256 checksum
How to use checksums
93710b5cd6d3a566605072e07be4a3aaffbc7cff4dc5282c160f533e569585f1
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 Oct 28, 2026.

Transparency log

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

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

Select from 15 files

Attestation for pycosmicsdk-1.7.1-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 28, 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