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
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.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.
Metadata
Release files for pyatlasclient 1.0.5
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.0.5.tar.gz | 46.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyatlasclient-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.6 kB
Release files / pyatlasclient-1.0.5.tar.gz
| Download URL | pyatlasclient-1.0.5.tar.gz |
|---|---|
| Size | 46.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5048a632e66429c2557663ead1742ac0ad91549775915dddeef312f356bc19ab
|
|
BLAKE2b-256 checksum How to use checksums |
6e78492c3c44919713577210152834d9a465d0f58a7618e7c5c195ca8fa41a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.1
|
Release files / pyatlasclient-1.0.5-py3-none-any.whl
| Download URL | pyatlasclient-1.0.5-py3-none-any.whl |
|---|---|
| Size | 29.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
658555a1cc22aa2b377d95ac0a1da7ecd5ab62308b1704ea958c66ecb9fa163d
|
|
BLAKE2b-256 checksum How to use checksums |
d4a41503ddd5ca726fea5b83eb27dbf933cbc8f4a038d52bfa921e07966ae5a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.1
|