The `pyatlan` library is the official Python SDK for interacting with Atlan, a data governance and metadata management platform. It provides typed wrappers around the Atlan REST API, enabling users to programmatically search, discover, govern, and manage various data assets like tables, dashboards, and glossary terms. The current version, 9.4.0, includes experimental features for the next-generation `pyatlan_v9` and ongoing quality-of-life improvements. The library maintains an active release cadence with frequent updates.
pip install pyatlanVerified import paths — ran on the pinned version, not inferred.
Initializes the `AtlanClient` using API key authentication (preferably from environment variables) and performs a basic search for active Table assets.
Review and update code interacting with Atlan models, especially for serialization/deserialization. While functional parity is intended, direct Pydantic v1 model usage may require adaptation. Refer to `pyatlan_v9` documentation for migration guidance.
Upgrade to `pyatlan` version 9.3.2 or later, which revised the logic to correctly distinguish between retried creations and legitimate update requests, allowing updates to proceed.
Upgrade to `pyatlan` version 9.3.0 or later, which reordered the `Union` type to prioritize `int` over `str`, resolving the deserialization issue.
Always use environment variables (e.g., `ATLAN_API_KEY`, `ATLAN_BASE_URL`) for credentials. Ensure your logging configuration strips sensitive information from logs.