Apache Atlas client
Project description
Apache Atlas Client in Python
Apache Atlas client in Python. Only compatible with Apache Atlas REST API v2.
Free software: Apache Software License 2.0
Documentation: https://atlasclient.readthedocs.io.
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.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file atlasclient-0.1.1.tar.gz
.
File metadata
- Download URL: atlasclient-0.1.1.tar.gz
- Upload date:
- Size: 51.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaadfe5172a554e18090cead512d6183ac1d72be5696b195ef62a473c62465b0 |
|
MD5 | 3aa91c7669e55ce23e0e8104bc088854 |
|
BLAKE2b-256 | 26c915cf4390614fa429ae69a4a1f9ad650b7721a99adb472eaec26fc73033dc |