skillfed

genie.libs.clean

Genie Library for device clean support

genie-libs-clean v26.7 268.8K downloads/30d#8,269 on PyPI
Permissive license Apache 2.0 Active released

What it is and what it does

Genie Clean is a sub-component of the Genie test automation framework that handles device recovery and state setup. It provides reusable implementations to bring devices into a known, testable state before running test cases. The package is part of Cisco's pyATS ecosystem, which emphasizes data-driven, reusable testing patterns suitable for rapid development cycles.

The package works as a library within the Genie framework, which itself is built on the modular pyATS architecture. It depends on the core genie package plus standard Python build tools (setuptools and wheel). The implementation is designed for Linux and Mac environments running Python 3.4 or later, with a focus on enabling teams to scale from simple linear test cases to complex asynchronous test suites.

Use it for:

  • Reset network devices to a baseline configuration before running test suites
  • Automate device bring-up procedures as part of test fixture setup
  • Implement reusable device recovery logic across multiple test scenarios
  • Integrate device state management into Genie-based test automation workflows

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Genie Clean provides device recovery and state management implementations for the Genie test automation framework, enabling test setups to bring devices to a known testable state.

Yes, if you are building test automation on the Genie and pyATS framework. The package is actively maintained, carries no known vulnerabilities, has low install friction, and is licensed permissively. Install it only if you need device cleanup and state recovery as part of a Genie-based test harness; it is not a standalone tool.

Install

genie-libs-clean on PyPI

pip

pip install genie-libs-clean

uv

uv add genie-libs-clean

poetry

poetry add genie-libs-clean

Installing genie.libs.clean

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a release within the past week. Depends on setuptools, wheel, and genie.

License in practice

Apache 2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install genie-libs-clean

import genie.libs.clean
# Use clean implementations to manage device state in test setup

Requires Python 3.4+ on Linux or Mac; Windows is not supported.

Verify before relying

  • Specific device types and platforms supported by the clean implementations
  • API stability and backward compatibility guarantees across major versions
  • Integration requirements with the broader pyATS ecosystem beyond the core genie dependency

Package facts

License Apache 2.0 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 3 — setuptools, wheel, genie
Maintenance actively maintained — 7 days since the last release
First released
Downloads 268,793/month — #8,269 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: genie_libs_clean-26.7-py3-none-any.whl

Keywords: genie, clean, pyats, cisco

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.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Build ToolsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing

Tags

device cleanup test automationgenie clean componentpyats device state recoverytest device setup harnesscisco genie testingdevice bring-up automationtest fixture device reset
test-automationdevice-managementcisco-pyats

More Libraries packages