This is client side implementation of Qubes Admin API. See https://www.qubes-os.org/doc/admin-api/ for protocol specification.
Most of the API modules are compatible with Python >= 2.7. Very few parts require Python >= 3.4:
- tools (
- qubesadmin.events module (for asyncio module)
Parts not compatible with Python < 3.4, are not installed in such environment.