Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.3 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.3 KB

Python SDK for the TruSTAR API

Beta version

Requirements

Here's how to get started most quickly

Python modules

  • pandas python module
  • pytz
  • requests
  • python-dateutil
  • future
  • configparser

Python 2.7+:

$ pip install future pandas python-dateutil pytz requests configparser

Python 3:

$ pip3 install future pandas  python-dateutil pytz requests configparser

TruSTAR SDK

Get the latest SDK by downloading as a ZIP and extract locally. You can also clone the repository directly from GitHub

Use setup.py on the downloaded source files:

$ python setup.py install --force

Uninstallation

$ pip uninstall trustar

Running examples and tests

  • Retrieve or generate API credentials from the TruSTAR Station: https://station.trustar.co/settings/api
  • Inside the examples directory, create your own trustar.conf file from trustar.conf.example and Copy in your credentials and enclave ID
    $ cd examples
    $ python basic_usage.py

API Documentation

See https://github.com/trustar/public/wiki/TruSTAR-API for full API documentation