Registry / http-networking / pyone
library7.2.0pypypiunverified

Python bindings for the OpenNebula XML-RPC API. Current version: 7.2.0. Release cadence is irregular, tied to OpenNebula releases.

pip install pyone
INSTALL
IMPORT
SIG · PYONE
P
pyone
http-networkingpythonv7.2.0
Install
4.4s avg
Import
Disk
56MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v7.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 58.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.4s · import 0.000s · 56MB
56MB installed
● package 56MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

One
import pyone
from pyone import One

Connect to an OpenNebula instance and fetch version info.

import os from pyone import One, OneException server = 'https://your-opennebula-host:2633/RPC2' user = 'user' password = os.environ.get('ONE_PASSWORD', '') # use env var for auth client = One(server, user, password) try: version_info = client.one.system.version() print('OpenNebula version:', version_info) except OneException as e: print('Error:', e)
Debug
Known issues
breakingIn version 7.x, the `One` constructor no longer accepts positional arguments for `server`, `user`, `password`; you must use keyword arguments or a dict.
fix
Use `One(server=server, user=user, password=password)` instead of `One(server, user, password)`.
affects: >=7.0.0
deprecatedThe `One` class method `login` is deprecated; authentication should be done via the constructor.
fix
Pass credentials directly to `One()` instead of calling `.login()`.
affects: >=6.0.0
gotchaMany methods return a list of objects, but some return a dict. Always check the return type, especially for `one.vm.list()` which returns a list of dicts, not VM objects.
fix
Examine the raw response or use `pprint` to understand the structure.
affects: all
Upgrade
Version history
7.2.0latest on PyPI · released Mar 31, 2026
Audit
Dependencies
pyonerequiredThe library itself is self-contained; no external dependencies beyond stdlib.
Agent activity
19 hits · last 30 days
node
18
Resources
pyone — pip install pyone · libregistry