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

Total release size: 19.7 MB

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

Download URL pycosmicsdk-1.6.0-cp314-cp314-win_amd64.whl
Size 1.2 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
b0bb6a701df16291c6fcf4bd2cae640a9774e0687778c7af849dfae5c6a18384
BLAKE2b-256 checksum
How to use checksums
c8e4d9fa2d46363fbeeb256fe74a4cc283a4fc5f2a7d76a53a1ab3056bb0d83f
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 1.8 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cd7e95305c9547fe82b0316be4e6dfff6ed36447ae8fd1d1cc7f3bf8fc1097c9
BLAKE2b-256 checksum
How to use checksums
c1f74a4278d06f6e7ee41f17e92f508059a2ee10ffa0ae9ba475add0e3098e2e
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp314-cp314-macosx_11_0_arm64.whl
Size 883.9 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0db2c6e6f274869e1ebcaabfacce4ddb6051a50325151d1d43706c8cec025b21
BLAKE2b-256 checksum
How to use checksums
0d8e6090913ecb9a9994f9a5cfa37af859c31d3887f1dd9943c4bd4bc139f8aa
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp313-cp313-win_amd64.whl
Size 1.2 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b52e8893a8237d92ad7742527b65d9f229813c77616ab6f7612080f3faa26e0d
BLAKE2b-256 checksum
How to use checksums
d8690b09c53743529bb677f75d5fc057baf82f521a780a07b645445257a5fe8b
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.8 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
32566ccb38adcb49c50c61512ca8f39f9596521e282e7b330ef4120ed3f69ec2
BLAKE2b-256 checksum
How to use checksums
b5c8b229e077dac8af28be2e5b061e7eb4355dfc21a2785bbf08d7b99fc08a62
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp313-cp313-macosx_11_0_arm64.whl
Size 883.9 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8f61ee365a1627f19a595de6ff5acd71b91802568051d6e952099e3148d61c5b
BLAKE2b-256 checksum
How to use checksums
80d7a6cd18432669796be8386ae9443ccc1dc0f91ad8a18ffa4acbcf8aa54a60
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp312-cp312-win_amd64.whl
Size 1.2 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
7fabcba3c69f88ea4af31892d3b954f0cd4f58b57dfc3831c550d57483a6db9e
BLAKE2b-256 checksum
How to use checksums
f5633a2eca96223e6b46254565d4605dcae0beaa22f63b8a4c8849e741907305
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.8 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c6d83d36c88604841d9eb5475a740879385924c04c7ed0f34233ae4c288fd21a
BLAKE2b-256 checksum
How to use checksums
464c3ec028fd4465f484e2a630db2749d683d1e29e14eb21a13ffbaca25995bc
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp312-cp312-macosx_11_0_arm64.whl
Size 884.0 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8e03a0535d8c5f2c3099e3411a305f6adba99ac76a859c44a282a7409b9258af
BLAKE2b-256 checksum
How to use checksums
19ba3073a00527b55f322c376d4add8e94a5819530b9daeb8c39c33fbd09719f
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp311-cp311-win_amd64.whl
Size 1.2 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
4d069a037600050b80ab30e7e4a12b8175b87a663a398211e489dc2d5bdb13d0
BLAKE2b-256 checksum
How to use checksums
2e81b5109edc991448cd583a3d9c3d9e8b63599117edc26599ca46d4b0e3f7dd
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 1.8 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2b00be492fa615f1e4cf6f3aa981100226e34d4c0d98019f2885d4ad979c9273
BLAKE2b-256 checksum
How to use checksums
37dfc18ecaf8988e0e53cbb3c01bccfc47eaae1fcd32b6b6e89383cde7abbf07
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp311-cp311-macosx_11_0_arm64.whl
Size 884.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
eeef19a13ceb1d08d6e77c16fc0d03411773e8a8a3dcba47893d9dd61bf5926b
BLAKE2b-256 checksum
How to use checksums
15860e9595c1effb37b236a58cb33581f0209f53493acec796eee161551a0bdf
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp310-cp310-win_amd64.whl
Size 1.2 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
16b1c13aa391dcfc2dca3d62101c0e993327ca12e49340e80ff646b55212e2e2
BLAKE2b-256 checksum
How to use checksums
85d2825ff61fd30b0887da8749b344e117eea82e3cf2e8370b3a1fe2eba041c6
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 1.8 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2ba20fb7ab5ac3b9600cdf5e66c6c6bb23091772f4b87eca6a803eb5b9bc36ee
BLAKE2b-256 checksum
How to use checksums
4c7da2be3ab529d250fee24adca411e5b1a8a69f811e2da2047aa46407308e7e
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 Sep 29, 2026.

Transparency log

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

Download URL pycosmicsdk-1.6.0-cp310-cp310-macosx_11_0_arm64.whl
Size 884.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f8741a24cfe691ecb9e4df00e33e97fb6bd4db0fd979fbbface4506edc1f0e21
BLAKE2b-256 checksum
How to use checksums
078cafd593af22cb3bdb9415a5be29cbda3ef008c0a943a2d53f8a3c43ae8db9
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 Sep 29, 2026.

Transparency log

Security for pycosmicsdk 1.6.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.6.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 Sep 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.

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