{"id":15292070,"url":"https://github.com/mp-es/vmm_manager","last_synced_at":"2025-04-13T10:43:09.806Z","repository":{"id":40462163,"uuid":"248307776","full_name":"MP-ES/vmm_manager","owner":"MP-ES","description":"Management of resources on System Center Virtual Machine Manager (SCVMM) in a declarative way.","archived":false,"fork":false,"pushed_at":"2025-02-07T23:02:59.000Z","size":434,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T02:07:58.505Z","etag":null,"topics":["ansible","hacktoberfest","python","scvmm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MP-ES.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":"2020-03-18T18:10:11.000Z","updated_at":"2025-03-19T15:48:38.000Z","dependencies_parsed_at":"2024-01-15T22:06:28.845Z","dependency_job_id":"9736a51d-c9db-4072-bcbb-eb052bb8a406","html_url":"https://github.com/MP-ES/vmm_manager","commit_stats":{"total_commits":58,"total_committers":3,"mean_commits":"19.333333333333332","dds":0.4137931034482759,"last_synced_commit":"136bceea3396e1c4168b544d78665c85dcb7f11f"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP-ES%2Fvmm_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP-ES%2Fvmm_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP-ES%2Fvmm_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP-ES%2Fvmm_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MP-ES","download_url":"https://codeload.github.com/MP-ES/vmm_manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248701976,"owners_count":21148111,"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":["ansible","hacktoberfest","python","scvmm"],"created_at":"2024-09-30T16:16:22.724Z","updated_at":"2025-04-13T10:43:09.785Z","avatar_url":"https://github.com/MP-ES.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vmm-manager\n\nPython script that manages resources in the System Center Virtual Machine Manager (SCVMM), in a declarative way, based on a YAML configuration file.\n\n[![License](https://img.shields.io/github/license/MP-ES/vmm_manager.svg)](LICENSE)\n[![Integration](https://github.com/MP-ES/vmm_manager/workflows/Integration/badge.svg)](https://github.com/MP-ES/vmm_manager/actions?query=workflow%3AIntegration)\n[![Release](https://github.com/MP-ES/vmm_manager/workflows/Release/badge.svg)](https://github.com/MP-ES/vmm_manager/actions?query=workflow%3ARelease)\n[![Python](https://img.shields.io/pypi/pyversions/vmm-manager.svg)](https://pypi.python.org/pypi/vmm-manager)\n[![PyPI](http://img.shields.io/pypi/v/vmm-manager.svg)](https://pypi.python.org/pypi/vmm-manager)\n\n## Breaking changes\n\n### 1.0.0\n\n- The inventory file schema has completely changed. See the [**inventory_example.yaml**](inventory_example.yaml) file for more details.\n- The command parameters were renamed to be more consistent.\n- The API and inventory schema are now stable.\n\n## Prerequisites\n\nYou need a Windows machine, which will serve as the access point to SCVMM, with the following tools:\n\n- OpenSSH\n- SCVMM's PowerShell Module (**virtualmachinemanager**), installed with the Virtual Machine Manager (VMM) Console. You can also get it at \u003chttps://github.com/MP-ES/VirtualMachineManager-PowerShellModule\u003e\n\n## Installation\n\n```shell\npip install -U vmm-manager\n```\n\n## How to use\n\nUse the command below to see the available options:\n\n```shell\nvmm_manager -h\n```\n\n### Environment variables\n\nYou can set environment variables to avoid passing the same parameters every time you run the script. See an example in the [**.env.default**](.env.default) file.\n\n### Example of a inventory file\n\n[inventory_example.yaml](inventory_example.yaml)\n\n## Development\n\n### Install Poetry\n\nRun the following commands to install Poetry:\n\n```shell\n# install\ncurl -sSL https://install.python-poetry.org | python3 -\n\n# auto-completion\n# Bash\npoetry completions bash \u003e\u003e ~/.bash_completion\n```\n\n### Environment variables (optional)\n\nUse the **.env.default** file as a template to create a **.env** file with the environment variables needed to run the script. You can load them by running the command `export $(cat .env | xargs)` before executing the script.\n\n### How to run\n\n```shell\n# Loading environment variables (optional)\nexport $(cat .env | xargs)\n\n# Install dependencies\npoetry install --no-root\n\n# Run\npoetry run python -m vmm_manager -h\n```\n\n### Helpful commands\n\n```shell\n# Add a dependency\npoetry add \u003cpacote\u003e [--dev]\n\n# Update dependencies\npoetry update\n\n# Run linting\npoetry run ./lint.sh\n\n# Fix dependencies sorting\npoetry run isort .\n\n# Run tests\npoetry run python -m pytest -vv\n\n# List virtualenvs\npoetry env list\n\n# Remove a virtualenv\npoetry env remove \u003cname\u003e\n```\n\n## References\n\n- [Virtual Machine Manager](https://docs.microsoft.com/en-us/powershell/module/virtualmachinemanager/?view=systemcenter-ps-2019)\n- [Poetry](https://python-poetry.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp-es%2Fvmm_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmp-es%2Fvmm_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp-es%2Fvmm_manager/lists"}