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

Total release size: 27.2 MB

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

Download URL pycosmicsdk-1.9.0-cp314-cp314-win_amd64.whl
Size 1.8 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
2f936da17bb0ff4836bdc40e216ba816a1fb711f2bdbf0b751457236af9c521a
BLAKE2b-256 checksum
How to use checksums
14361bb6801123c678e067365a2906fec081333086ddec14e91702a782daf47d
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b6abc539f8cc9bda2f4bc812d055317683bef4f1baf14431fed2940b1301e1ab
BLAKE2b-256 checksum
How to use checksums
f85b069ef3ac32bcaf3e7ed41a736ec9a868c22f4f2f102d818bedfc6fae2d66
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp314-cp314-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
49467be50d3ee7c90b70da9f5818614f963ee328c4f3bf19173ea7b57db5e796
BLAKE2b-256 checksum
How to use checksums
d01856aef3c681bc326d0ef986a05bc196c7eb63b59ba5bd40fb423e324a8b26
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp313-cp313-win_amd64.whl
Size 1.8 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b30e85621a778c933f53fff6dda79d5a239e725f159bda3880f18df04405641e
BLAKE2b-256 checksum
How to use checksums
af580a64e9defc1304cb805b91db0ae36bd9b694d8a0b3ca4e2e642d2832e458
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a8931e032fcdf5e9a50ed63a1c8a9e93b6b579e22df09321c2aa9ce0eb2fa8f1
BLAKE2b-256 checksum
How to use checksums
cdc0e6e302e22acdf5e17024e429f50d6983902ac37a045c22bfab29326298dd
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp313-cp313-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d210af2dab65bbee2ccff3ec73288e719e41dc8004fcb916c313c6797b713425
BLAKE2b-256 checksum
How to use checksums
64958883d6996f8e193f741f4f4cd5e79c557500bd547afc1dc0b9c52f969294
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp312-cp312-win_amd64.whl
Size 1.8 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
16bcc63bde5ff2934cd39e2463e16c59e9a4d481292223b843715aa719a8278a
BLAKE2b-256 checksum
How to use checksums
406c0edca0fc51214c37648202b91f6a30d7d2d9512e22592305086f20871fa1
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
11f2972fb68df8106569d72f95a8d02232df967910d6b4cfb3828f170d3878ca
BLAKE2b-256 checksum
How to use checksums
8e98d2a2701ca5df9f12456efe447514f34045bd68dfa5f234a1a6c277f90eca
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp312-cp312-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3a2da145b5701299afffd0c5ab3ffa90e7b8af53957479cb8505680e261bf574
BLAKE2b-256 checksum
How to use checksums
8486a54f26cf60f3ce1cb91aa69ae3ec021cf46a0db5ad1a72e3253e9dbc0cbc
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp311-cp311-win_amd64.whl
Size 1.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
450e7f26744d1960358710de2db58812cce0fe905acf119ff5333d46c9b1e773
BLAKE2b-256 checksum
How to use checksums
defd9dad0b1acd94baa5a6221b4ca505fa05e3fd75c482044555c056d696b067
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fa724c2aa5aecddb07d4b9a6464226803d8bcb6e3ce8f72443a0dc1c144e030f
BLAKE2b-256 checksum
How to use checksums
7d3d83951b06f5498cadef276dc826da9d2795c1b2f309db5419afb0fe5ef4d4
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp311-cp311-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
301046b29149e58fbb35910b9738fcb7819aff8ad1386b5c118be1534b204165
BLAKE2b-256 checksum
How to use checksums
7a729683cb3f629a8a9673729732d31a4e23ca6b66877e4d5e5a6bf51c44064a
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp310-cp310-win_amd64.whl
Size 1.8 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
1c5585b861fafdb731db8448f10f76570555a5ac8108daeef4cc66ddc8578a7f
BLAKE2b-256 checksum
How to use checksums
d90b5adb60d23bcbde764a97aa50f843a8663bae6f4bcc6434b3226bb3ec693b
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
626696c40543f37419a59d915b363e62b3dc8b8fca6f34610f5c6e236265d429
BLAKE2b-256 checksum
How to use checksums
954610acc724a0ae4fb93f1e1dd3f791a063363f90cf206df88a9d6527343f2c
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 30, 2026.

Transparency log

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

Download URL pycosmicsdk-1.9.0-cp310-cp310-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fcbbc58ba261eb3c2613e0aa37e443e51fed96cee505de0ac80c7f5490304577
BLAKE2b-256 checksum
How to use checksums
297dd4c0ff662b70061ab4ccf461fc19670082dae239cbbe97e05b6197e133a5
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 30, 2026.

Transparency log

Security for pycosmicsdk 1.9.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.9.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 30, 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