All,

The official Python client library for Apache Atlas is now available at
https://pypi.org/project/apache-atlas. This python client is based on
Apache Atlas REST APIs and enables integration with Atlas types, entities,
glossaries and search APIs

Install:

pip install apache-atlas


Sample Usage to create a new Glossary:

from apache_atlas.base_client import AtlasClient
from apache_atlas.model.glossary import AtlasGlossary

client = AtlasClient("http://localhost:31000";, "admin", "admin123")
glossary = AtlasGlossary(None, None, "Glossary_Test", "This is a test
Glossary")
test_glossary = client.glossary.create_glossary(glossary)
print('Created Test Glossary with guid: ' + test_glossary.guid)



You can find more examples here -
https://github.com/apache/atlas/tree/master/atlas-examples/sample-app/src/main/python

Apache Atlas is updating the website/documentation to include details of
this new client. Feedback and suggestions are welcome.


Thanks,
Sarath

Reply via email to