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
Apache Atlas client in Python. Only compatible with Apache Atlas REST API v2.
Based on the awesome work done by Poullet in atlasclient
- Free software: Apache Software License 2.0
- Documentation: https://pyatlasclient.readthedocs.io
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.
Metadata
Release files for pyatlasclient 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyatlasclient-1.2.0.tar.gz | 54.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyatlasclient-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.8 kB
Release files / pyatlasclient-1.2.0.tar.gz
| Download URL | pyatlasclient-1.2.0.tar.gz |
|---|---|
| Size | 54.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4c78f815dcac9f4a68d25d15fd732b2eefe613daed11535625fae08609a487e
|
|
BLAKE2b-256 checksum How to use checksums |
be4bce43e23be94d751ea82462e20a8312ac07fb8bcc77e9df3a8627a96b0037
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / pyatlasclient-1.2.0-py3-none-any.whl
| Download URL | pyatlasclient-1.2.0-py3-none-any.whl |
|---|---|
| Size | 34.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df76cce94fc0872f7197dd61147a676aa5b11e8fdacfd673f28b9ae97e85b482
|
|
BLAKE2b-256 checksum How to use checksums |
a9b840017805267891a4bb8066279bf7c45093e95187158d3c16467610e1305c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|