Skip to main content

Apache Atlas Python Client

Project description

Apache Atlas - Python client

This is a python library for Atlas. Users can integrate with Atlas using the python client. Currently, compatible with Python 3.6+

Installation

Use the package manager pip to install python client for Atlas.

> pip install apache-atlas


Verify if apache-atlas client is installed:

> pip list

Package      Version
------------ ---------
apache-atlas 0.0.1

Usage

python create_glossary.py

# create_glossary.py

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)

For more examples, checkout sample-app python project in atlas-examples module.

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

apache-atlas-0.0.1.tar.gz (17.3 kB view hashes)

Uploaded Source

Built Distribution

apache_atlas-0.0.1-py3-none-any.whl (29.7 kB view hashes)

Uploaded Python 3

Supported by

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