Registry / devops / ucsmsdk

ucsmsdk

JSON →
library0.9.26pypypi✓ verified 88d ago

Python SDK for managing Cisco UCS Manager and UCS Central systems. Provides object-oriented bindings to the UCS XML API. Current version is 0.9.26, released in April 2022. Maintenance mode with infrequent updates.

pip install ucsmsdk
INSTALL
IMPORT
SIG · UCSMSDK
U
ucsmsdk
devopspythonv0.9.26
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

UcsHandle
✓ from ucsmsdk.ucshandle import UcsHandle

Basic login/logout example. Replace IP, username, password with actual credentials.

from ucsmsdk.ucshandle import UcsHandle handle = UcsHandle("10.10.10.10", "username", "password") handle.login() print("Logged in to UCS") handle.logout()
Debug
Known issues
gotchaThe SDK does not support Python 3.11+ due to incompatible dependencies (pyparsing). Use Python 3.8-3.10.
fix
Use Python 3.8, 3.9, or 3.10.
affects: >=0.9.26
breakingVersion 0.9.22 changed the import path for UcsHandle from ucsmsdk.ucsexception to ucsmsdk.ucshandle.
fix
Use 'from ucsmsdk.ucshandle import UcsHandle' instead of 'from ucsmsdk.ucsexception import UcsHandle'.
affects: 0.9.22 and later
Errors
Common errors & fixes
ImportError: No module named 'ucsmsdk.ucshandle'
Older version of ucsmsdk (pre 0.9.22) used a different module name.
fix
Upgrade to latest version: pip install --upgrade ucsmsdk
AttributeError: module 'ucsmsdk' has no attribute 'UcsHandle'
Incorrect import: trying to use 'import ucsmsdk' then 'ucsmsdk.UcsHandle'.
fix
Use 'from ucsmsdk.ucshandle import UcsHandle'.
Upgrade
Version history
0.9.26latest on PyPI · released May 22, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
ucsmsdk — pip install ucsmsdk · libregistry