Skip to main content

ioregistry

Python library for IORegistry exploration.

Installation

python3 -m pip install -U ioregistry

Usage

See the following example as an example to query the associated USB-ethernet interface with a connected iDevice:

from ioregistry.exceptions import IORegistryException
from ioregistry.ioentry import get_io_services_by_type

for ethernet_interface_entry in get_io_services_by_type('IOEthernetInterface'):
    try:
        apple_usb_ncm_data = ethernet_interface_entry.get_parent_by_type('IOService', 'AppleUSBNCMData')
    except IORegistryException:
        continue

    if 'waitBsdStart' in apple_usb_ncm_data.properties:
        # RSD interface
        continue

    try:
        usb_host = ethernet_interface_entry.get_parent_by_type('IOService', 'IOUSBHostDevice')
    except IORegistryException:
        continue

    product_name = usb_host.properties['USB Product Name']
    usb_serial_number = usb_host.properties['USB Serial Number']
    print(product_name, usb_serial_number, ethernet_interface_entry.name)

Release files for ioregistry 0.0.6

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

Source distribution (sdist)

Source distribution for ioregistry 0.0.6
File Size Uploaded
ioregistry-0.0.6.tar.gz 22.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ioregistry 0.0.6
File Interpreter ABI Platform
ioregistry-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 41.3 kB

Release files / ioregistry-0.0.6.tar.gz

Download URL ioregistry-0.0.6.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d7187ad5f93276f1ca981f72f8bee74f6bef4754d9a058643d0726b611844f32
BLAKE2b-256 checksum
How to use checksums
b0979ca4605f8850c51c390103d2322df789210769bc6017f1d19c5d2b3bc3f3
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 23, 2026.

Transparency log

Release files / ioregistry-0.0.6-py3-none-any.whl

Download URL ioregistry-0.0.6-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5fe9ea3873213e8a1d31ab5573029f60f1114dc0ce6026b4cc7a7044e4e1be7
BLAKE2b-256 checksum
How to use checksums
4bf15c30cb18f7b49315e198b9d83f52f483c9a499b456cba94c93d91857c2fc
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 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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