{"repo":"tmunzer/mist_library","free":true,"listed":false,"github":"https://github.com/tmunzer/mist_library","clone":"git clone https://github.com/tmunzer/mist_library.git","description":"Python scripts demoing Mist APIs possibilities.","language":"Python","stars":60,"topics":["python3","mist","api","script","configuration","backup","monitoring","reporting"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"mist library Utilities and example Python scripts that use the Mist Cloud APIs (via the mistapi package) to automate configuration, backups, imports and reporting for Mist organizations and sites. This repository collects small, focused scripts that are ready to run and easy to adapt for your environment. License This project is licensed under the MIT License — see the LICENSE file for details. Highlights - Collection of scripts for: configuration, EVPN, device operations, org/site backups & restores, imports, and reports. - Uses the mistapi Python package for authentication and API calls. - Scripts accept an environment file or interactive credentials and support dry-run modes where applicable. Quick start Prerequisites: - Python = 3.10 - A Mist API token or username/password with appropriate privileges - Repository checked out locally Install dependencies (recommended in a virtualenv): Run a script example (prints help): Or run with a specific environment file: Environment file You can store credentials and common options in an environment file. By default the scripts look for /.mist env (scripts commonly use ENV FILE = \" /.mist env\" ) but you can pass -e /path/to/env to use a different file. Authoritative env vars: - MIST HOST — Mist API host (for example api.mist.com ). - MIST APITOKEN — API token (preferred authentication). - MIST USER / MIST PASSWORD — username / password fallback when no token is provided. - MIST VAULT MOUNT POINT , MIST VAULT PATH , MIST VAULT TOKEN ,","default_branch":null,"files":null,"tree":[],"storefront":"/r/tmunzer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tmunzer/mist_library/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}