Skip to main content

Apache Atlas Python Client

Project description

This repository is no longer maintained in favour of Official Apache Atlas' python client: https://pypi.org/project/apache-atlas/

Apache Atlas Client in Python

image image image Documentation Status Updates

Apache Atlas client in Python. Only compatible with Apache Atlas REST API v2.

Based on the awesome work done by Poullet in atlasclient

Get started

    from atlasclient.client import Atlas
    client = Atlas('<atlas.host>', port=21000, username='admin', password='admin')
    client.entity_guid("<guid>").status
    params = {'typeName': 'DataSet', 'attrName': 'name', 'attrValue': 'data', 'offset': '1', 'limit':'10'}
    search_results = client.search_attribute(**params) 
    for s in search_results:
        for e in s.entities:
            print(e.name)
            print(e.guid)

Features

  • Lazy loading: requests are only performed when data are required and not yet available
  • Leverages Python's Data Classes for Glossary.
  • Resource object relationships: REST API from sub-resources are done transparently for the user, for instance the user does not have to know that it needs to trigger a different REST request for getting the classifications of a specific entity.

TODO features

  • allow multiprocessing
  • Implement Caching
  • Apply Data Classes to all entity types. For now only Glossary endpoints are using it.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyatlasclient-1.2.0.tar.gz (54.2 kB view hashes)

Uploaded source

Built Distribution

pyatlasclient-1.2.0-py3-none-any.whl (34.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page