{"id":23221553,"url":"https://github.com/null-none/py-kvm","last_synced_at":"2025-07-01T13:07:19.804Z","repository":{"id":268656244,"uuid":"903890719","full_name":"null-none/py-kvm","owner":"null-none","description":"Module for managing KVM hosts. ","archived":false,"fork":false,"pushed_at":"2024-12-25T19:01:12.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T13:07:04.266Z","etag":null,"topics":["hosts","kvm","kvm-hypervisor","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/null-none.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-15T20:20:38.000Z","updated_at":"2024-12-25T19:01:15.000Z","dependencies_parsed_at":"2025-02-11T12:33:35.979Z","dependency_job_id":"d975ea70-6889-4f25-97cd-bb2a53af8911","html_url":"https://github.com/null-none/py-kvm","commit_stats":null,"previous_names":["null-none/py-kvm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/null-none/py-kvm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fpy-kvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fpy-kvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fpy-kvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fpy-kvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/null-none","download_url":"https://codeload.github.com/null-none/py-kvm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fpy-kvm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262969883,"owners_count":23392529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hosts","kvm","kvm-hypervisor","python"],"created_at":"2024-12-18T22:17:50.933Z","updated_at":"2025-07-01T13:07:19.776Z","avatar_url":"https://github.com/null-none.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-kvm\n\nThis module aims to manage KVM hypervisors. For this it use the unix module which allow to manage Unix-like systems, both locally and remotely, in the same by overloading class instances.\n\n## Usage\n\n```python\n\u003e\u003e\u003e from unix import Local, Remote, UnixError\n\u003e\u003e\u003e from unix.linux import Linux\n\u003e\u003e\u003e from kvm.hypervisor import Hypervisor\n\u003e\u003e\u003e import json\n\n\u003e\u003e\u003e localhost = Hypervisor(Linux(Local()))\n\u003e\u003e\u003e localhost.hypervisor.nodeinfo()\n\n{'nb_cpu': 1,\n 'nb_threads_per_core': 2,\n 'memory': 16331936,\n 'numa_cells': 1,\n 'cpu_model': 'x86_64',\n 'nb_cores_per_cpu': 4,\n 'nb_cores': 8,\n 'cpu_freq': 1340}\n\n\u003e\u003e\u003e localhost.list_domains(all=True)\n\n{'guest1': {'id': -1, 'state': 'shut off'}}\n{'guest2': {'id': 1, 'state': 'running'}}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnull-none%2Fpy-kvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnull-none%2Fpy-kvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnull-none%2Fpy-kvm/lists"}