github doronz88/pymobiledevice3 v4.0.0

latest releases: v11.23.0, v11.22.1, v11.22.0...
2 years ago

Highlights

This version refactors the whole RemoteXPC API stack to be fully asyncio.
For CLI users this change is completely transparent (except for being much faster! ⚡️)

For python API users, this means creating and connecting a RemoteServiceDiscoveryService clients will now require an active asyncio loop.

The project's README file was updated aswell to reflect this API change:

# Or you could connect manually to a specific tunnel created by `start-tunnel`
host = 'fded:c26b:3d2f::1'
port = 65177
async with RemoteServiceDiscoveryService((host, port)) as rsd:
    # you can now use this connection as any other LockdownClient connection
    pass

# Alternatively, you can use this API not in a context-manager
rsd = RemoteServiceDiscoveryService((host, port))
await rsd.connect()
await rsd.close()

What's Changed

Full Changelog: v3.4.4...v4.0.0

Don't miss a new pymobiledevice3 release

NewReleases is sending notifications on new releases.