Link

Installation of JS/ Python Clients

Table of contents

  1. Javascript Client
    1. Requirements
    2. Installation
      1. NPM Module
      2. Minified Script
  2. Python Client
    1. Requirements
    2. Installation

Javascript Client

Requirements

Installation

Terminus Client can be used as either a Node.js module available through the npm registry, or directly included in web-sites by including the script tag below.

NPM Module

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

Using npm:

$ npm install --save @terminusdb/terminusdb-client

Minified Script

Using cdn:

<script src="https://unpkg.com/@terminusdb/terminusdb-client/dist/terminusdb-client.min.js"></script>

Downloading:

Download the terminusdb-client.min.js file from the /dist directory and save it to your location of choice, then:

<script src="http://my.saved.location/terminusdb-client.min.js"></script>

JavaScript Client Documentaiton


Python Client

Note that this Python Client works with TerminusDB v1.0. Python Client for new version coming soon.

Requirements

  • TerminusDB
  • Python >= 3.6

Installation

Terminus Client Python can be download form PyPI using pip:

python -m pip install terminusdb-client-python

this only include the core Python Client and WOQLQuery.

If you want to use woqlDataframe:

python -m pip install terminusdb-client-python[dataframe]

if you are installing form zsh you have to quote the argument like this:

python -m pip install 'terminusdb-client-python[dataframe]'

Install from source:

python -m pip install git+https://github.com/terminusdb/terminusdb-client-python.git

Python Client Documentation