Skip to main content

Apache Atlas client

Project description

Apache Atlas Client in Python

https://img.shields.io/pypi/v/atlasclient.svg https://img.shields.io/travis/jpoullet2000/atlasclient.svg https://coveralls.io/repos/github/jpoullet2000/atlasclient/badge.svg?branch=master Documentation Status 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.entityguid(<guid>).status
>>> params = {'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

  • 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

Credits

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

History

0.1.3 ()

  • HTTP Auth

  • Basic search inflate

  • relationshipAttributes

0.1.2 (2018-03-27)

  • Bug fixes

  • Response is returned after entity creation (easier to figure out the guid)

0.1.1 (2018-03-07)

  • Bug fixes

  • Most of the resources have been implemented (except RelationshipREST)

  • Basic authentication (only the Basic token is sent on the network)

0.1.0 (2018-01-09)

  • First push.

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

atlasclient-0.1.3.tar.gz (40.1 kB view details)

Uploaded Source

File details

Details for the file atlasclient-0.1.3.tar.gz.

File metadata

  • Download URL: atlasclient-0.1.3.tar.gz
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for atlasclient-0.1.3.tar.gz
Algorithm Hash digest
SHA256 da3b6f0ec4ebac397600a1f575181edf691636af23fe0f7ddd4b8a25087f92a6
MD5 317781073b362cccc7fbb4da3eb523be
BLAKE2b-256 cf76cb870ed52e191945bc15a79fdcf45455c558f295427323cfbc74f6b29cbe

See more details on using hashes here.

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