cvprac
Arista Cloudvision(R) Portal Rest API Client written in python
What it is and what it does
cvprac is a RESTful API client for Arista's Cloudvision Portal, a network management platform. It abstracts the HTTP complexity of CVP's REST API, providing Python methods to connect to CVP nodes (either on-premises or cloud-based CVaaS), authenticate, and issue GET and POST requests. The library handles connection management, automatic retry logic on timeouts and session errors, and failover across multiple CVP nodes if configured.
The package is designed for network engineers and developers building automation tools around Arista infrastructure. It supports both traditional username/password authentication and token-based authentication for CVaaS deployments. The client automatically manages session state and provides both low-level HTTP methods (get, post) and higher-level API wrappers for common CVP operations.
Use it for:
- Automate device configuration and monitoring across Arista network deployments via CVP REST APIs.
- Build custom network management dashboards or reporting tools that query CVP for device state and telemetry.
- Integrate Arista CVP with third-party orchestration or ITSM platforms that require REST API access.
- Develop CI/CD pipelines that validate network configurations by interacting with CVP programmatically.
- Create multi-node failover-aware scripts that tolerate CVP cluster node failures during API calls.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for the Arista Cloudvision Portal RESTful API, enabling programmatic interaction with CVP for network device management and automation.
Yes. The package has low install friction, active maintenance, a permissive BSD-3 license, no known vulnerabilities, and clear use cases for Arista network automation. Install it if you need to automate or integrate with Arista Cloudvision Portal; skip it if you have no CVP infrastructure.
Install
cvprac on PyPI
pip
pip install cvpracuv
uv add cvpracpoetry
poetry add cvpracInstalling cvprac
Before you install
Low install friction with only two runtime dependencies (requests and packaging). Active maintenance with a release within the last 50 days and ongoing repository activity.
License in practice
BSD-3 permissive license allows commercial and private use with minimal restrictions, making it suitable for most deployment scenarios.
Quickstart
pip install cvprac
from cvprac.cvp_client import CvpClient
client = CvpClient()
client.connect(['cvp_host'], 'username', 'password')
result = client.get('/api/v1/cvpInfo')
Verify before relying
- Whether the package supports Python versions earlier than 3.7 despite classifier listings for 3.7+
- Specific CVP version compatibility matrix and any breaking changes between major releases
- Whether token-based authentication (api_token parameter) works equally well across all CVP deployment types
Package facts
| License | BSD-3 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, packaging |
| Maintenance | actively maintained — 50 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 191,297/month — #9,884 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cvprac-2.2.0-py3-none-any.whl
Keywords: networking, CloudVision, development, rest, api
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
pyeapipyeapi is a Python library that wraps Arista…
permissive · top 15,000 on PyPI
antaANTA is a Python framework that automates…
permissive · top 15,000 on PyPI
twentyc.rpcA client library for consuming 20c's RESTful…
permissive · top 15,000 on PyPI
pan-os-pythonFramework for programmatically configuring and…
permissive · top 15,000 on PyPI
xinference-clientA Python client library for connecting to and…
permissive · top 15,000 on PyPI
vmware-vapi-common-clientProvides Python client bindings for VMware vAPI…
permissive · top 15,000 on PyPI
dicomweb-clientA Python client library for interacting with…
permissive · top 15,000 on PyPI
cloudflareProvides a Python client library for the…
permissive · top 5,000 on PyPI
scrapliscrapli is a Python library for connecting to…
permissive · top 15,000 on PyPI
pygnmiPure Python gNMI client for querying and…
permissive · top 15,000 on PyPI