{"id":15481703,"url":"https://github.com/fbarresi/pynmcli","last_synced_at":"2025-04-22T16:43:25.756Z","repository":{"id":62582093,"uuid":"115941150","full_name":"fbarresi/PyNmcli","owner":"fbarresi","description":"Simple python interface to Network Manager CLI","archived":false,"fork":false,"pushed_at":"2018-12-12T19:44:55.000Z","size":36,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T09:44:05.022Z","etag":null,"topics":["debian","networking","networkmanager","python","ubuntu"],"latest_commit_sha":null,"homepage":null,"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/fbarresi.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2018-01-01T19:17:05.000Z","updated_at":"2023-04-06T22:23:24.000Z","dependencies_parsed_at":"2022-11-03T21:21:51.765Z","dependency_job_id":null,"html_url":"https://github.com/fbarresi/PyNmcli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbarresi%2FPyNmcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbarresi%2FPyNmcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbarresi%2FPyNmcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbarresi%2FPyNmcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbarresi","download_url":"https://codeload.github.com/fbarresi/PyNmcli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250279558,"owners_count":21404408,"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":["debian","networking","networkmanager","python","ubuntu"],"created_at":"2024-10-02T05:05:42.483Z","updated_at":"2025-04-22T16:43:25.737Z","avatar_url":"https://github.com/fbarresi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"*************************\nPyNmcli\n*************************\n\n.. image:: https://travis-ci.org/fbarresi/PyNmcli.svg?branch=master\n    :alt: Travis CI build status\n\nSimple python interface to Network Manager CLI\n\nPyNmcli provides a easy to use python (2.7+ or 3+) interface to Network Manager CLI.\nOfficial documentation of nmcli under: https://developer.gnome.org/NetworkManager/stable/nmcli.html\n\nDependencies\n========\n\nThis project has no dependencies and works with python 2.7+ (python 3 as well)\n\nThis package directly uses ``Network-Manager``.\n\nYour can install it running the following command from shell: ::\n\n\tsudo apt-get install network-manager\n\nInstallation\n========\n\nYou may install this package in two ways:\n\n- Compile from code ::\n\n    git clone https://github.com/fbarresi/PyNmcli.git\n    cd PyNmcli\n    python setup.py install\n\n- Pypi ::\n\n    pip install pynmcli\n\nUsage\n========\n\nJust import the package::\n\n    import pynmcli\n\nand call Network Manager function just like: ::\n\n    result = pynmcli.NetworkManager('--version').execute()\n\nor ::\n\n    result = pynmcli.NetworkManager.Device().wifi('list').execute()\n\nyou can also use some built-in help methods in order to convert output tables in more handy python dictionaries: ::\n\n    wifi_dict = pynmcli.get_data(pynmcli.NetworkManager.Device().wifi().execute())\n\nContribute\n========\n\nWhould you like to contribute to this project? YES, PLEASE!\n\nJust fork this repository and submit your pull request.\n\nChange log\n========\n- Version 1.0.5 - Fixed table-header handling\n\n- Version 1.0.4 - Fixed localization issues in the use of nmcli\n\n- Version 1.0.3 - Enhanced usability\n\n- Version 1.0.2 - Added utils for converting cli outputs into python dicts \n\n- Version 1.0.1 - First working release\n\n- Version 1.0.0 - Test release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbarresi%2Fpynmcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbarresi%2Fpynmcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbarresi%2Fpynmcli/lists"}