pyats
pyATS - Python Automation Test System
What it is and what it does
pyATS is Cisco's Python-based test automation framework designed to support both small, linear test cases and large, complex asynchronous test suites. It emphasizes data-driven testing patterns and reusability, enabling rapid iteration in agile development cycles. The package bundles 14 runtime components covering test execution (aetest), reporting (reporter, aereport), topology management, connections, logging, and utilities—all installed together as a cohesive ecosystem.
Developers use pyATS to define test cases declaratively, manage network device connections, organize test results, and scale test infrastructure without rewriting core logic. It is production-stable (Development Status 5 & 6), actively maintained, and widely used in telecommunications and network automation contexts. The framework runs on Python 3.10+ across Linux and macOS, with pre-built wheels for multiple architectures reducing setup friction.
Use it for:
- Automate network device testing workflows (configuration, state validation, failover scenarios) across multiple platforms.
- Build reusable, data-driven test suites that scale from unit-level checks to full system integration tests.
- Organize and report test results with built-in logging, topology tracking, and result aggregation.
- Develop rapid test iterations in CI/CD pipelines for network infrastructure validation.
- Create asynchronous test suites that execute device interactions in parallel without blocking.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
pyATS is Cisco's end-to-end testing framework for building data-driven, reusable test suites that scale from simple linear cases to large asynchronous test systems.
Yes. pyATS is production-stable, actively maintained (release within 7 days), carries no known vulnerabilities, and offers a permissive Apache 2.0 license. Install friction is moderate but manageable via pre-built wheels. It is the right choice if you need a mature, Cisco-backed framework for network or infrastructure test automation at scale; not necessary for simple unit testing or non-network domains.
Install
pyats on PyPI
pip
pip install pyatsuv
uv add pyatspoetry
poetry add pyatsInstalling pyats
Before you install
Active maintenance with a release within the last week. Medium install friction due to 14 runtime dependencies bundled as submodules (pyats.aetest, pyats.connections, pyats.topology, etc.), but pre-built wheels available for Python 3.10–3.14 across macOS and Linux platforms reduce compilation overhead.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for enterprise adoption.
Quickstart
pip install pyats
from pyats.aetest import Testcase, setup, test, cleanup
class MyTest(Testcase):
@setup
def setup(self):
pass
@test
def test_example(self):
pass
Requires Python >=3.8 (classifiers indicate 3.10+ recommended); Linux or macOS only.
Verify before relying
- Exact scope and maturity of the 14 bundled submodules (pyats.aereport, pyats.async, pyats.tcl, etc.) and whether they are all required for basic use.
- Whether the framework requires external network connectivity or device access to run test examples.
- Performance characteristics and typical test suite scale limits in production deployments.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 14 — packaging, pyats.aereport, pyats.aetest, pyats.async, pyats.log, pyats.kleenex, pyats.connections, pyats.datastructures, pyats.easypy, pyats.results, pyats.reporter, pyats.tcl, pyats.topology, pyats.utils |
| Maintenance | actively maintained — 7 days since the last release |
| First released | |
| Downloads | 302,035/month — #7,826 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyats-26.7-cp310-cp310-macosx_11_0_universal2.whl; pyats-26.7-cp310-cp310-manylinux2014_aarch64.whl; pyats-26.7-cp310-cp310-manylinux2014_x86_64.whl; pyats-26.7-cp311-cp311-macosx_11_0_universal2.whl; pyats-26.7-cp311-cp311-manylinux2014_aarch64.whl; pyats-26.7-cp311-cp311-manylinux2014_x86_64.whl; pyats-26.7-cp312-cp312-macosx_11_0_universal2.whl; pyats-26.7-cp312-cp312-manylinux2014_aarch64.whl; pyats-26.7-cp312-cp312-manylinux2014_x86_64.whl; pyats-26.7-cp312-cp312-musllinux_1_2_x86_64.whl; pyats-26.7-cp313-cp313-macosx_11_0_universal2.whl; pyats-26.7-cp313-cp313-manylinux2014_aarch64.whl; pyats-26.7-cp313-cp313-manylinux2014_x86_64.whl; pyats-26.7-cp314-cp314-macosx_11_0_universal2.whl; pyats-26.7-cp314-cp314-manylinux2014_aarch64.whl; pyats-26.7-cp314-cp314-manylinux2014_x86_64.whl
Keywords: pyats, test, automation
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
pyats.aetestpyats.aetest is the test script engine…
permissive · top 15,000 on PyPI
pyats.datastructuresProvides specialized data structures (WeakList,…
permissive · top 15,000 on PyPI
pyats.logProvides logging format and utilities for…
permissive · top 15,000 on PyPI
pyats.connectionsProvides device connection abstraction and base…
permissive · top 15,000 on PyPI
pyats.topologyModels network testbeds, devices, interfaces,…
permissive · top 15,000 on PyPI
pyats.robotIntegrates pyATS testing capabilities with…
permissive · top 15,000 on PyPI
pyats.utilspyats.utils provides utility functions and…
permissive · top 15,000 on PyPI
pyats.reporterCollects test results and generates reports for…
permissive · top 15,000 on PyPI
pyats.asyncWraps Python multiprocessing to enable simpler…
permissive · top 15,000 on PyPI
yang.connectorProvides NETCONF and gRPC/GNMI client…
permissive · top 15,000 on PyPI