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

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.5
File Size Uploaded
ioregistry-0.0.5.tar.gz 21.8 kB Details

Built distribution (wheel)

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

Total release size: 40.2 kB

Release files / ioregistry-0.0.5.tar.gz

Download URL ioregistry-0.0.5.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d84a65db560f287a8871c8ef124c2cb8573c2c83b6fdb934807f04efc7dd3303
BLAKE2b-256 checksum
How to use checksums
313b5e1b12995f3478897f910dd207a3d6fb9a8f040c2276f04bf3dfb1113f25
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 17, 2026.

Transparency log

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

Download URL ioregistry-0.0.5-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f7fd53a3926e127c374f2b512c72992838fcc525d2d3bcfa305e2979611b7d2
BLAKE2b-256 checksum
How to use checksums
58f3d3251dba247c1d19fb5c842a987308dd785206cbfa61781da38690700801
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 17, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.6

2 release files

This release

0.0.5 This release

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