{"id":24457,"library":"python-rrmngmnt","title":"python-rrmngmnt","description":"A tool to manage remote systems and services via SSH. Current version 0.2.2, released May 2025. Release cadence is irregular, with several releases in 2024-2025. Supports Python >=3.7.","status":"active","version":"0.2.2","language":"python","source_language":"en","source_url":"https://github.com/rhevm-qe-automation/python-rrmngmnt","tags":["remote","ssh","system management","testing"],"install":[{"cmd":"pip install python-rrmngmnt","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Module name is rrmngmnt (all lowercase), not CamelCase.","wrong":"import RRMngmnt","symbol":"RRMngmnt","correct":"from rrmngmnt import RRMngmnt"}],"quickstart":{"code":"from rrmngmnt import RRMngmnt\n\nhost = RRMngmnt(hostname='example.com', username='user', password='pass')\n# or with key:\n# host = RRMngmnt(hostname='example.com', username='user', pkey='/path/to/key')\nstatus = host.ping()\nprint(f\"Host reachable: {status}\")\n\n# Run a command\ncmd = host.execute(['uname', '-a'])\nprint(cmd.stdout)","lang":"python","description":"Basic usage: create a remote manager and execute commands."},"warnings":[{"fix":"Use from rrmngmnt import UserWithPKey; host = RRMngmnt(hostname='...', username='...', pkey=UserWithPKey('/path/to/key'))","message":"The 'pkey' parameter for passwordless SSH has been replaced by UserWithPKey class. Using pkey directly is deprecated since 0.1.27.","severity":"deprecated","affected_versions":">=0.1.27"},{"fix":"Ensure your build tools support building from source. pip should handle this automatically.","message":"In version 0.2.0, the project switched to source distribution only. Pre-built wheels are no longer provided. This may affect some installation scenarios.","severity":"breaking","affected_versions":">=0.2.0"},{"fix":"Use Python's signal or socket level timeout externally if needed.","message":"SSH connection may hang if the host is unreachable or requires interactive authentication. The library does not implement a timeout for connection attempts.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use 'from rrmngmnt import RRMngmnt' (note: module is lowercase 'rrmngmnt').","cause":"Incorrect import statement: trying to import module name with wrong casing.","error":"ModuleNotFoundError: No module named 'RRMngmnt'"},{"fix":"Use 'from rrmngmnt import RRMngmnt' or 'from rrmngmnt import *'.","cause":"Importing the module but not the class, then trying to use RRMngmnt as attribute of module.","error":"AttributeError: module 'rrmngmnt' has no attribute 'RRMngmnt'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}