{"id":27655,"library":"cloudshell-pdu-core","title":"CloudShell PDU Core","description":"QualiSystems PDU core package for managing Power Distribution Units (PDUs) in CloudShell sandboxes. Version 1.0.21 provides abstract base classes and interfaces for PDU integration, including power control commands and resource modeling. Release cadence is low (approximately yearly).","status":"maintenance","version":"1.0.21","language":"python","source_language":"en","source_url":"https://github.com/QualiSystems/cloudshell-pdu-core","tags":["cloudshell","pdu","qualisystems"],"install":[{"cmd":"pip install cloudshell-pdu-core","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Provides base QualiSystems utilities and modeling.","package":"cloudshell-core","optional":true}],"imports":[{"wrong":"from cloudshell.pdu.core.driver import PDUResourceDriver","symbol":"PDUResourceDriver","correct":"from cloudshell.pdu.core.driver import PDUResourceDriver"}],"quickstart":{"code":"from cloudshell.pdu.core.driver import PDUResourceDriver\nfrom cloudshell.pdu.core.interfaces import PowerControlInterface\n\nclass MyPDUDriver(PDUResourceDriver):\n    def __init__(self):\n        super().__init__()\n        # No authentication required for this example\n\ndriver = MyPDUDriver()\nprint(\"PDU driver initialized successfully.\")","lang":"python","description":"Minimal example of subclassing PDUResourceDriver."},"warnings":[{"fix":"Use 'from cloudshell.pdu.core.driver import PDUResourceDriver'","message":"Import paths use 'cloudshell.pdu.core' (dots), not underscores. Wrong imports from underscores will fail.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to Python 3.8+","message":"Python 3.7 and lower are no longer supported; requires Python >= 3.8.","severity":"deprecated","affected_versions":">=1.0.20"},{"fix":"Subclass PDUResourceDriver and implement abstract methods.","message":"The package is a utility library, not a standalone driver. Direct instantiation of PDUResourceDriver without a concrete implementation will raise errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.0.21':18 'abstract':20 'approxim':39 'base':21 'cadenc':36 'class':22 'cloudshel':1,15,41 'command':31 'control':30 'core':3,6 'distribut':11 'includ':28 'integr':27 'interfac':24 'low':38 'manag':9 'model':34 'packag':7 'pdu':2,5,26,42 'pdus':13 'power':10,29 'provid':19 'qualisystem':4,43 'releas':35 'resourc':33 'sandbox':16 'unit':12 'version':17 'year':40","created_at":"2026-05-09T05:51:22.998875+00:00","updated_at":"2026-05-09T05:51:22.998875+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'cloudshell.pdu'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":"http://www.qualisystems.com/","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/cloudshell-pdu-core/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}