--- id: pyats-async version: "26.7" license: Apache 2.0 license_treatment: permissive maintenance: active --- # pyats.async — pyATS Async: Asynchronous Execution of Codes License: permissive · Maintenance: active · Downloads: 295.7K/mo ## What it is and what it does pyats.async is a sub-component of the pyATS testing framework that simplifies asynchronous execution by wrapping Python's multiprocessing module. It allows developers to run arbitrary functions concurrently without managing the complexity of multiprocessing directly, making it easier to scale test cases from simple linear scripts to large, complex asynchronous test suites. The package is part of Cisco's pyATS ecosystem, an end-to-end testing platform designed for data-driven, reusable testing in Agile environments. The package depends only on pyats.log at runtime and is actively maintained, with recent releases supporting modern Python versions (3.10 through 3.14). It is distributed as platform-specific wheels for macOS and Linux systems; Windows is not currently supported. Installation is straightforward via pip, either as part of the full pyats suite or as a standalone upgrade. Use it for: - Run multiple test functions in parallel to reduce overall test execution time in large test suites. - Execute independent test cases concurrently without manually managing multiprocessing pools or process lifecycle. - Scale from simple sequential tests to complex asynchronous workflows within the pyATS framework. - Integrate asynchronous execution into Agile testing pipelines that require rapid iteration and data-driven test design. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Wraps Python multiprocessing to enable simpler asynchronous execution of arbitrary functions within the pyATS testing ecosystem. Yes, if you are already using pyATS or building test suites that need concurrent execution. The package is actively maintained, has no known vulnerabilities, and offers a simpler abstraction over multiprocessing. Install friction is moderate due to platform-specific wheels and Python version requirements, but these are standard for compiled packages. Not relevant if you are not using pyATS or do not need asynchronous test execution. ## Install pip install pyats-async uv add pyats-async poetry add pyats-async ## Installing pyats.async Before you install: Active maintenance with a release 7 days ago. Medium install friction due to platform-specific wheels; supports Python 3.10–3.14 on macOS and Linux but requires a compatible Python version and the pyats.log runtime dependency. License in practice: Apache 2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects. Quickstart: pip install pyats.async from pyats.async import pcall # Execute a function asynchronously result = pcall(some_function, args=(arg1, arg2)) Requires Python 3.8 or later; Linux or macOS only (Windows not supported per documentation). Verify before relying: - Exact API surface and available functions beyond pcall wrapper mentioned in keywords. - Performance characteristics and scalability limits for concurrent execution. - Integration patterns with the broader pyATS ecosystem beyond the pyats.log dependency. ## Package facts - License: Apache 2.0 (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 295.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags async function execution python, multiprocessing wrapper, parallel test execution, asynchronous code runner, pyats async component, concurrent function calls, pcall multiprocessing, testing-framework, multiprocessing, cisco-devnet [View on SkillFed](https://skillfed.io/packages/pyats-async) · [View on PyPI](https://pypi.org/project/pyats-async/)