tree: 13c0c96b06e3abefc82c73d99145c51f4ae79adf [path history] [tgz]
  1. request_json/
  2. discovery_example.py
  3. entity_example.py
  4. glossary_example.py
  5. lineage_example.py
  6. README.md
  7. sample_client.py
  8. typedef_example.py
  9. utils.py
atlas-examples/sample-app/src/main/python/README.md

Python Sample App

This is a Python sample app to showcase basic functionality of Atlas. We are using Python client to call Atlas APIs. Make sure to install Atlas Python client first before trying to run this project. Currently, compatible with Python 3.5+

Installation

  1. Using setup.py
cd <atlas_directory>/atlas-examples/sample-app/src/main/python

# To check if apache-atlas client is installed try the following command
python3
>>> import apache_atlas
>>>

# If there is no error, then client is installed otherwise follow client Readme file to install it first.

To Run this project

python sample_client.py

This will prompt for url of the Atlas server, username and password.