skillfed

pyats.log

pyATS Log: Logging Format and Utilities

pyats-log v26.7 295.0K downloads/30d#7,934 on PyPI
Permissive license Apache 2.0 Active released

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

uv

uv add pyats-log

poetry

poetry add pyats-log

Installing 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

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

pyats logging formattercisco log format outputpyats test loggingstructured logging for testinglog formatting utilitiespyats component loggingtest framework logging
cisco-networkingtest-loggingasync-logging

More Libraries packages