Skip to main content

Apache Atlas Python Client

Project description

Apache Atlas Client in Python

https://img.shields.io/pypi/v/pyatlasclient.svg https://img.shields.io/travis/verdan/pyatlasclient.svg https://coveralls.io/repos/github/verdan/pyatlasclient/badge.svg?branch=master 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

  • 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

1.1.0 (2020-11-16)

  • Drops support of Python 3.6, adds the support of Python 3.8

  • Implements the Glossary endpoints (using Python Dataclasses)

  • Adds the OIDC support.

1.0.0 (2019-08-10)

  • Adds the helper functions to parse the qualified name

  • Updates the version to 1.x to get some confidence from community as the module is pretty stable now

0.1.8 (2019-08-08)

  • Add support for Atlas’ Admin Metrics REST API

0.1.7 (2019-07-08)

  • Add support for Atlas’ DSL Saved Search (#81)

  • Fixes list lookups for searching

0.1.6 (2019-04-26)

  • Call of DependentClass inflate (#79)

0.1.5 (2019-04-24)

  • Add support for Post type Basic Search (#76)

0.1.4 (2019-04-16)

  • fixes (BasicSearch, when no result in _data, etc)

0.1.3 (2019-04-05)

  • 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

pyatlasclient-1.1.1.tar.gz (54.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyatlasclient-1.1.1-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file pyatlasclient-1.1.1.tar.gz.

File metadata

  • Download URL: pyatlasclient-1.1.1.tar.gz
  • Upload date:
  • Size: 54.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

File hashes

Hashes for pyatlasclient-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b620236d6599144338db585ce9f49f6284ec0a91760830996ff265a2323cb358
MD5 ad96dc4af98be996fdf90ce4501f24bc
BLAKE2b-256 84f20adb7944344980574331abbc65dc87a4d0ab801dac7ce0fda2e03058af3d

See more details on using hashes here.

File details

Details for the file pyatlasclient-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyatlasclient-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

File hashes

Hashes for pyatlasclient-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e15f41b920cc32540d4d9cd88304b259df4c80a110a921223314d6714205eb95
MD5 aeb0f1c6baad5dbd0bc1efeb72493180
BLAKE2b-256 2e581c3341a067f0c646218d8da518c0ab121278c51f69535d32172b5f58821c

See more details on using hashes here.

Supported by

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