pyats.aetest
pyATS AEtest: Testscript Engine
What it is and what it does
pyats.aetest is the test execution engine within the broader pyATS ecosystem, a Cisco-developed testing platform designed for data-driven and reusable test automation. It provides a framework for writing test scripts that can scale from simple linear cases to large, complex asynchronous test suites, with built-in support for test templating and script definition.
The package integrates with other pyATS components (results, logging, reporting, datastructures, utilities) and external libraries (PyYAML, Jinja2, prettytable) to deliver test execution, result tracking, and formatted output. It is actively maintained, supports current Python versions (3.9–3.14), and is distributed as pre-built wheels for macOS and Linux.
Use it for:
- Write and execute data-driven network or infrastructure test scripts that scale from simple to complex asynchronous scenarios.
- Define reusable test templates and scripts for rapid, iterative test development in agile environments.
- Integrate test execution with pyATS result tracking and reporting for centralized test outcome management.
- Automate testing workflows on Linux or macOS systems where Windows is not a requirement.
- Build test suites that leverage Jinja2 templating and YAML configuration for parameterized test cases.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
pyats.aetest is the test script engine component of pyATS, providing a framework for defining and executing data-driven test cases with support for linear to complex asynchronous test suites.
Yes, if you are building test automation on Linux or macOS and want a mature, actively maintained framework for data-driven testing. The Apache 2.0 license and broad Python version support (3.9–3.14) are favorable. Medium install friction is acceptable for a multi-component testing platform. Not suitable if you require Windows support.
Install
pyats-aetest on PyPI
pip
pip install pyats-aetestuv
uv add pyats-aetestpoetry
poetry add pyats-aetestInstalling pyats.aetest
Before you install
Medium install friction due to 8 runtime dependencies including pyats subcomponents and external libraries. Active maintenance with a release 7 days ago. Supports Python 3.9–3.14 across macOS, Linux, and ARM architectures with pre-built wheels.
License in practice
Licensed under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions. No copyleft obligations.
Quickstart
pip install pyats.aetest
from pyats.aetest import testscript
@testscript
def my_test(testbed):
pass
Requires Python 3.8 or later. Linux and macOS only; Windows is not supported.
Verify before relying
- Whether the 8 runtime dependencies (including pyats.results, pyats.log, pyats.aereport, etc.) are all necessary for basic test script execution or if some are optional.
- Specific test execution capabilities and assertion/reporting features beyond the framework structure.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 8 — pyats.results, pyats.log, pyats.aereport, pyats.datastructures, pyats.utils, pyyaml, jinja2, prettytable |
| Maintenance | actively maintained — 7 days since the last release |
| First released | |
| Downloads | 295,826/month — #7,913 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyats_aetest-26.7-cp310-cp310-macosx_11_0_universal2.whl; pyats_aetest-26.7-cp310-cp310-manylinux2014_aarch64.whl; pyats_aetest-26.7-cp310-cp310-manylinux2014_x86_64.whl; pyats_aetest-26.7-cp311-cp311-macosx_11_0_universal2.whl; pyats_aetest-26.7-cp311-cp311-manylinux2014_aarch64.whl; pyats_aetest-26.7-cp311-cp311-manylinux2014_x86_64.whl; pyats_aetest-26.7-cp312-cp312-macosx_11_0_universal2.whl; pyats_aetest-26.7-cp312-cp312-manylinux2014_aarch64.whl; pyats_aetest-26.7-cp312-cp312-manylinux2014_x86_64.whl; pyats_aetest-26.7-cp312-cp312-musllinux_1_2_x86_64.whl; pyats_aetest-26.7-cp313-cp313-macosx_11_0_universal2.whl; pyats_aetest-26.7-cp313-cp313-manylinux2014_aarch64.whl; pyats_aetest-26.7-cp313-cp313-manylinux2014_x86_64.whl; pyats_aetest-26.7-cp314-cp314-macosx_11_0_universal2.whl; pyats_aetest-26.7-cp314-cp314-manylinux2014_aarch64.whl; pyats_aetest-26.7-cp314-cp314-manylinux2014_x86_64.whl
Keywords: pyats, aetest, template, script, testing
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
pyatspyATS is Cisco's end-to-end testing framework…
permissive · top 15,000 on PyPI
pyats.asyncWraps Python multiprocessing to enable simpler…
permissive · top 15,000 on PyPI
pyats.connectionsProvides device connection abstraction and base…
permissive · top 15,000 on PyPI
pyats.kleenexStandardizes testbed device preparation,…
permissive · top 15,000 on PyPI
pyats.logProvides logging format and utilities for…
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.aereportCollects test results and generates reports as…
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