skillfed

pyats.aetest

pyATS AEtest: Testscript Engine

pyats-aetest v26.7 295.8K downloads/30d#7,913 on PyPI
Permissive license Apache 2.0 Active released

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-aetest

uv

uv add pyats-aetest

poetry

poetry add pyats-aetest

Installing 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

Development Status :: 5 - Production/StableDevelopment Status :: 6 - MatureEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsIntended Audience :: Telecommunications IndustryLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Build ToolsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing

Tags

test script frameworkdata-driven testingtest execution engineagile test automationnetwork testing frameworkreusable test templatesasynchronous test suites
test-automationdata-driven-testingnetwork-testing

More Libraries packages