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)

Metadata

Release files for ioregistry 0.0.7

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.7
File Size Uploaded Provenance Actions
ioregistry-0.0.7.tar.gz 10.8 kB With provenance Details for ioregistry-0.0.7.tar.gz

Built distribution (wheel)

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

Total release size: 18.1 kB

Release files / ioregistry-0.0.7.tar.gz

Download URL ioregistry-0.0.7.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
62af741e5fa5899df3f7acd6a3df5caa023070593766f1e11f14e564cf3ef7a1
BLAKE2b-256 checksum
How to use checksums
08ebf15fca903def10fc5e5930b53fd4739c450db9eef75451b51c94d59f6355
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 Nov 19, 2026.

Transparency log

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

Download URL ioregistry-0.0.7-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5f0f70c01c4b4fa929ed830812a1dd65805895119f7752156222ace9d058c05
BLAKE2b-256 checksum
How to use checksums
fa826f38248f603aed9b99b197438fc3a41d7c8303467688a03550ceda6f456e
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 Nov 19, 2026.

Transparency log

Security for ioregistry 0.0.7

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ioregistry-0.0.7.tar.gz

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 Nov 19, 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