Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Arista Network Test Automation (ANTA) Framework

Code Ruff Numpy Quality Gate Status codecov
License License
GitHub CI Commit GitHub commit activity (branch) GitHub release Contributors
PyPI PyPI Version Python Versions Python format PyPI - Downloads

ANTA is a Python framework that automates tests for Arista devices.

  • ANTA provides a set of tests to validate the state of your network
  • ANTA can be used to:
    • Automate NRFU (Network Ready For Use) tests on a preproduction network
    • Automate tests on a live network (periodically or on demand)
  • ANTA can be used:

anta nrfu

Install ANTA library

The library will NOT install the necessary dependencies for the CLI.

# Install ANTA as a library
pip install anta

Install ANTA CLI

If you plan to use ANTA only as a CLI tool you can use pipx to install it. pipx is a tool to install and run Python applications in isolated environments. Refer to pipx instructions to install on your system. pipx installs ANTA in an isolated Python environment and makes it available globally.

This is not recommended if you plan to contribute to ANTA

# Install ANTA CLI with pipx
$ pipx install anta[cli]

# Run ANTA CLI
$ anta --help
Usage: anta [OPTIONS] COMMAND [ARGS]...

  Arista Network Test Automation (ANTA) CLI.

Options:
  --help                          Show this message and exit.
  --version                       Show the version and exit.
  --log-file FILE                 Send the logs to a file. If logging level is
                                  DEBUG, only INFO or higher will be sent to
                                  stdout.  [env var: ANTA_LOG_FILE]
  -l, --log-level [critical|error|warning|info|debug]
                                  ANTA logging level  [env var:
                                  ANTA_LOG_LEVEL; default: INFO]

Commands:
  check  Commands to validate configuration files.
  debug  Commands to execute EOS commands on remote devices.
  exec   Commands to execute various scripts on EOS devices.
  get    Commands to get information from or generate inventories.
  nrfu   Run ANTA tests on selected inventory devices.
  psirt  Run ANTA tests for Arista security advisories.

You can also still choose to install it directly with pip:

pip install anta[cli]

Documentation

The documentation is published on the ANTA package website.

Contribution guide

Contributions are welcome. Please refer to the contribution guide.

Credits

Thank you to Jeremy Schulman for aio-eapi, the upstream source for ANTA's asynceapi client.

Thank you to Angélique Phillipps, Colin MacGiollaEáin, Khelil Sator, Matthieu Tache, Onur Gashi, Paul Lavelle, Guillaume Mulocher and Thomas Grimonet for their contributions and guidance.

Metadata

Release files for anta 1.10.0.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anta 1.10.0.dev2
File Size Uploaded
anta-1.10.0.dev2.tar.gz 248.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anta 1.10.0.dev2
File Interpreter ABI Platform
anta-1.10.0.dev2-py3-none-any.whl Python 3 none any Details

Total release size: 572.9 kB

Release files / anta-1.10.0.dev2.tar.gz

Download URL anta-1.10.0.dev2.tar.gz
Size 248.2 kB
Tags Source
SHA-256 checksum
How to use checksums
58d4d27b8cdda3a7834e7621d8c0ec61c6b25980b254aca3e2469d9fc0c43fe7
BLAKE2b-256 checksum
How to use checksums
2c3cb348ca054e80e33739e2496a5968f1a06e948f9368728cc6383d878cec25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / anta-1.10.0.dev2-py3-none-any.whl

Download URL anta-1.10.0.dev2-py3-none-any.whl
Size 324.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12796c8ed1707ae291b3c2c0729b380b532bd890b90c878e0938f8a7e2dfe66b
BLAKE2b-256 checksum
How to use checksums
22a764cce93199a1fb1500eee28ea7a30593ad756ca5959199e292d90852a825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page