skillfed

pyats

pyATS - Python Automation Test System

pyats v26.7 302.0K downloads/30d#7,826 on PyPI
Permissive license Apache 2.0 Active released

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 pyats

uv

uv add pyats

poetry

poetry add pyats

Installing 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

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

network test automation frameworkdata-driven testing systemcisco test frameworkautomated testing infrastructurescalable test suite builderagile test developmentasynchronous test framework
network-automationtest-frameworkcisco

More Libraries packages