{"id":3405,"library":"atlasclient","title":"Apache Atlas Client (jpoullet2000)","description":"The `atlasclient` library by `jpoullet2000` provides a Python client for interacting with Apache Atlas, specifically designed for REST API v2. It offers functionality for discovery, entity management, and saved searches. The current version is 1.0.0, released in August 2019. While stable, this specific client is not actively developed; users seeking the latest features and ongoing maintenance should consider the official `apache-atlas` library.","status":"maintenance","version":"1.0.0","language":"en","source_language":"en","source_url":"https://github.com/jpoullet2000/atlasclient","tags":["Apache Atlas","client","metadata","data governance","API client"],"install":[{"cmd":"pip install atlasclient","lang":"bash","label":"Install `atlasclient`"}],"dependencies":[{"reason":"Used for making HTTP requests to the Apache Atlas API.","package":"requests","optional":false}],"imports":[{"note":"The main client class for connecting to Apache Atlas.","symbol":"Atlas","correct":"from atlasclient.client import Atlas"}],"quickstart":{"code":"import os\nfrom atlasclient.client import Atlas\n\n# Replace with your Atlas host, port, username, and password\nATLAS_HOST = os.environ.get('ATLAS_HOST', 'localhost')\nATLAS_PORT = int(os.environ.get('ATLAS_PORT', '21000')) # Default HTTP port\nATLAS_USERNAME = os.environ.get('ATLAS_USERNAME', 'admin')\nATLAS_PASSWORD = os.environ.get('ATLAS_PASSWORD', 'admin')\n\ntry:\n    client = Atlas(ATLAS_HOST, port=ATLAS_PORT, username=ATLAS_USERNAME, password=ATLAS_PASSWORD)\n    print(f\"Successfully connected to Atlas at {ATLAS_HOST}:{ATLAS_PORT}\")\n\n    # Example: Search for entities (e.g., of type 'DataSet')\n    params = {'typeName': 'DataSet', 'attrName': 'name', 'attrValue': 'data', 'offset': '0', 'limit': '10'}\n    search_results = client.search_attribute(**params)\n\n    if search_results:\n        print(f\"Found {len(search_results[0].entities)} 'DataSet' entities matching criteria:\")\n        for s in search_results:\n            for e in s.entities:\n                print(f\"  Name: {e.name}, GUID: {e.guid}\")\n    else:\n        print(\"No 'DataSet' entities found matching criteria.\")\n\nexcept Exception as e:\n    print(f\"Error connecting to Atlas or performing search: {e}\")","lang":"python","description":"Initializes the `Atlas` client and performs a basic attribute-based search for 'DataSet' entities. Ensure `ATLAS_HOST`, `ATLAS_PORT`, `ATLAS_USERNAME`, and `ATLAS_PASSWORD` environment variables are set or replaced with actual values. The default port for HTTP is 21000, and for HTTPS is 21443."},"warnings":[{"fix":"Ensure your Apache Atlas server is running API v2. For newer Atlas versions, consider using the official `apache-atlas` client.","message":"This `atlasclient` library by `jpoullet2000` is only compatible with Apache Atlas REST API v2. It does not support newer API versions.","severity":"gotcha","affected_versions":"All versions"},{"fix":"For new projects, prefer `pip install apache-atlas`. For existing projects, be aware that this library may not receive updates or bug fixes.","message":"The `jpoullet2000/atlasclient` library has not seen active development or new releases since 2019 (version 1.0.0). For new projects or ongoing maintenance, it is highly recommended to use the official and more actively maintained `apache-atlas` library (`pip install apache-atlas`).","severity":"deprecated","affected_versions":"1.0.0 and earlier"},{"fix":"Proceed with caution, especially in production environments. Test thoroughly and consider the official `apache-atlas` client for robust solutions.","message":"The PyPI listing for `atlasclient` by `jpoullet2000` shows its Development Status as '2 - Pre-Alpha' despite being version '1.0.0'. This conflicting information might suggest it's not considered production-ready by its maintainers or that the status was not updated correctly.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Double-check your Apache Atlas server's host, port, and authentication credentials. Use `os.environ.get()` for sensitive information or configuration management tools.","message":"Connection details (host, port, username, password) are crucial for client initialization. Default port 21000 is for HTTP, 21443 for HTTPS. Incorrect credentials or host can lead to connection failures.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}