jpoullet2000 / atlasclient

Apache Atlas client
Apache License 2.0
18 stars 12 forks source link

============================= Apache Atlas Client in Python

.. image:: https://img.shields.io/pypi/v/atlasclient.svg :target: https://pypi.python.org/pypi/atlasclient

.. image:: https://img.shields.io/travis/jpoullet2000/atlasclient.svg :target: https://travis-ci.org/jpoullet2000/atlasclient

.. image:: https://coveralls.io/repos/github/jpoullet2000/atlasclient/badge.svg?branch=master :target: https://coveralls.io/github/jpoullet2000/atlasclient?branch=master

.. image:: https://readthedocs.org/projects/atlasclient/badge/?version=latest :target: https://atlasclient.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://pyup.io/repos/github/jpoullet2000/atlasclient/shield.svg :target: https://pyup.io/repos/github/jpoullet2000/atlasclient/ :alt: Updates

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

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

TODO features

Credits

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

.. Cookiecutter: https://github.com/audreyr/cookiecutter .. audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage