skillfed

cvprac

Arista Cloudvision(R) Portal Rest API Client written in python

cvprac v2.2.0 191.3K downloads/30d#9,884 on PyPI51
Permissive license BSD-3 Active released

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 cvprac

uv

uv add cvprac

poetry

poetry add cvprac

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Networking

Tags

arista cloudvision api clientcvp rest api pythonnetwork device management automationarista cvp integrationcloudvision portal client librarynetwork automation rest api
network-automationarista-ecosystemrest-client

More Libraries packages