Skip to content

Python SDK and samplecodes for the TruSTAR API

License

Notifications You must be signed in to change notification settings

nkseib/trustar-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Python 2.7+:

$ pip install future pandas python-dateutil pytz requests

Python 3:

$ pip3 install future pandas  python-dateutil pytz requests

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

About

Python SDK and samplecodes for the TruSTAR API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages