pyats.log
pyATS Log: Logging Format and Utilities
What it is and what it does
pyats.log is a logging subcomponent of the pyATS end-to-end testing framework, developed by Cisco. It provides formatters and utilities to emit test logs in Cisco's standard log format, integrating with the broader pyATS ecosystem for data-driven and reusable testing. The package wraps Python's logging module and depends on 9 runtime libraries including aiohttp, pyyaml, jinja2, and async utilities, suggesting support for both synchronous and asynchronous logging contexts.
The package is actively maintained (latest release 26.7 from August 2026) and supports modern Python versions 3.8 through 3.14 with prebuilt wheels for macOS and Linux. It is positioned as a utility for developers, system administrators, and test engineers working within the pyATS testing framework, particularly in telecommunications and network automation contexts.
Use it for:
- Format test logs to Cisco standard format when running pyATS test suites in network automation workflows.
- Integrate structured logging into pyATS test cases to ensure compliance with enterprise log standards.
- Emit asynchronous test logs from concurrent test scenarios using pyATS's async capabilities.
- Standardize log output across heterogeneous test environments using a shared Cisco log format.
- Build custom logging handlers on top of pyATS log utilities for specialized test reporting.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides logging format and utilities for pyATS, enabling test output to conform to Cisco log format standards.
Yes, if you are using pyATS for testing and need Cisco-compliant log formatting. The package is actively maintained, permissively licensed, and well-integrated into the pyATS ecosystem. Install friction is moderate due to multiple async dependencies, but prebuilt wheels minimize compilation overhead. Not relevant outside the pyATS testing context.
Install
pyats-log on PyPI
pip
pip install pyats-loguv
uv add pyats-logpoetry
poetry add pyats-logInstalling pyats.log
Before you install
Active maintenance with a release 7 days ago. Medium install friction due to 9 runtime dependencies including aiohttp, pyyaml, and async utilities. Supports Python 3.10–3.14 with prebuilt wheels across macOS, Linux, and ARM architectures.
License in practice
Licensed under Apache 2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.
Quickstart
pip install pyats.log
from pyats.log import logging
logger = logging.getLogger(__name__)
logger.info('Test message')
Requires Python 3.8 or later; Linux and macOS only (Windows not supported per documentation).
Verify before relying
- Specific Cisco log format schema or output examples not detailed in excerpt.
- Whether async_lru, aiofiles, and socketio dependencies are always required or only for certain features.
- Integration points with the broader pyATS ecosystem beyond the logs subcomponent.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 9 — pyats.datastructures, chardet, aiohttp, pyyaml, python-socketio, python-engineio, jinja2, aiofiles, async_lru |
| Maintenance | actively maintained — 7 days since the last release |
| First released | |
| Downloads | 295,013/month — #7,934 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyats_log-26.7-cp310-cp310-macosx_11_0_universal2.whl; pyats_log-26.7-cp310-cp310-manylinux2014_aarch64.whl; pyats_log-26.7-cp310-cp310-manylinux2014_x86_64.whl; pyats_log-26.7-cp311-cp311-macosx_11_0_universal2.whl; pyats_log-26.7-cp311-cp311-manylinux2014_aarch64.whl; pyats_log-26.7-cp311-cp311-manylinux2014_x86_64.whl; pyats_log-26.7-cp312-cp312-macosx_11_0_universal2.whl; pyats_log-26.7-cp312-cp312-manylinux2014_aarch64.whl; pyats_log-26.7-cp312-cp312-manylinux2014_x86_64.whl; pyats_log-26.7-cp312-cp312-musllinux_1_2_x86_64.whl; pyats_log-26.7-cp313-cp313-macosx_11_0_universal2.whl; pyats_log-26.7-cp313-cp313-manylinux2014_aarch64.whl; pyats_log-26.7-cp313-cp313-manylinux2014_x86_64.whl; pyats_log-26.7-cp314-cp314-macosx_11_0_universal2.whl; pyats_log-26.7-cp314-cp314-manylinux2014_aarch64.whl; pyats_log-26.7-cp314-cp314-manylinux2014_x86_64.whl
Keywords: pyats, log, logging, formatter
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.reporterCollects test results and generates reports for…
permissive · top 15,000 on PyPI
pyats.utilspyats.utils provides utility functions and…
permissive · top 15,000 on PyPI
pyats.aereportCollects test results and generates reports as…
permissive · top 15,000 on PyPI
pyats.connectionsProvides device connection abstraction and base…
permissive · top 15,000 on PyPI
pyatspyATS is Cisco's end-to-end testing framework…
permissive · top 15,000 on PyPI
pyats.kleenexStandardizes testbed device preparation,…
permissive · top 15,000 on PyPI
pyats.easypyEasypy is a launcher and runtime environment…
permissive · top 15,000 on PyPI
pyats.tclWraps Python's tkinter module to provide Tcl…
permissive · top 15,000 on PyPI
pyats.asyncWraps Python multiprocessing to enable simpler…
permissive · top 15,000 on PyPI