--- id: pyats-datastructures version: "26.7" license: Apache 2.0 license_treatment: permissive maintenance: active --- # pyats.datastructures — pyATS Datastructures: Extended Datastructures for Grownups License: permissive · Maintenance: active · Downloads: 297.1K/mo ## What it is and what it does pyats.datastructures is a sub-component of the pyATS testing framework that provides specialized data structures for Python developers. It includes WeakList, ListDict, AttrDict, and logic utilities—types designed to handle advanced use cases within the pyATS ecosystem and beyond. The package has no runtime dependencies and is available as pre-compiled wheels for Python 3.9 through 3.14 on macOS and Linux platforms. The package is maintained as part of Cisco's pyATS project, which focuses on data-driven and reusable testing for agile development. While it can be installed standalone, it is typically used as a dependency when adopting pyATS or when a project requires the specific data structure behaviors it provides. Installation is straightforward via pip, though the compiled nature of the wheels means platform compatibility is limited to the supported architectures. Use it for: - Use it as part of pyATS test suite setup to leverage specialized collection types in test data management. - Use it to build attribute-accessible dictionaries (AttrDict) where dot notation is preferred over bracket access. - Use it in projects requiring weak reference collections (WeakList) to avoid circular reference issues. - Use it to combine list and dictionary semantics (ListDict) when both indexed and keyed access patterns are needed. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides specialized data structures (WeakList, ListDict, AttrDict, and logic utilities) designed for use within the pyATS testing framework and other applications requiring advanced collection types. Yes, if you are adopting pyATS or need the specific data structures it provides (AttrDict, ListDict, WeakList). The package is actively maintained, has no external dependencies, and carries a permissive Apache 2.0 license. Install friction is moderate due to compiled wheels, but this is standard for the platform. Not necessary if you do not use pyATS and can meet your data structure needs with standard Python collections. ## Install pip install pyats-datastructures uv add pyats-datastructures poetry add pyats-datastructures ## Installing pyats.datastructures Before you install: Medium install friction due to compiled wheels for multiple Python versions and platforms (cp310–cp314 across macOS, Linux, and musllinux). Active maintenance with a release 7 days ago. No runtime dependencies, simplifying integration. License in practice: Licensed under Apache 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers. Quickstart: pip install pyats.datastructures from pyats.datastructures import AttrDict, ListDict, WeakList my_dict = AttrDict(name='test') print(my_dict.name) Requires Python 3.8 or later; Linux and macOS only (Windows not supported per documentation). Verify before relying: - Specific API surface and behavioral differences of WeakList, ListDict, and logic utilities. - Whether this package is intended for standalone use or primarily as a dependency of the larger pyATS ecosystem. - Performance characteristics or memory benefits of WeakList compared to standard Python collections. ## Package facts - License: Apache 2.0 (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 297.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags advanced python datastructures, weaklist listdict attrdict, pyats datastructures, extended collection types, testing framework utilities, attribute dictionary, weak reference collections, testing-framework, data-structures [View on SkillFed](https://skillfed.io/packages/pyats-datastructures) · [View on PyPI](https://pypi.org/project/pyats-datastructures/)