Skip to main content

Getting started with CloudQuant Data Liberator for Python

This guide introduces the CloudQuant Data Liberator library, available across multiple programming languages via the CloudQuant API platform.

Basic setup

Quick start

For environments where CloudQuant Data Liberator is pre-installed, simply use:

Installation steps

If adding CloudQuant Data Liberator to your own Python environment (local installation, Jupyter, or IDE):
  1. Download the required files from your Liberator Profile page
  2. Install dependencies:
  1. Place files in either:
    • The same folder as your code, or
    • A central Python location (liberator.py only — see note below)
Putting liberator.py in site-packages lets you import liberator from anywhere, but liberator.json is still read from your working directory unless you set liberator.auth = '/path/to/liberator.json'.
To find your Python’s site-packages directory:

Required files

As of release version 2.0, liberator.pfx is no longer required. If you are on a release prior to 2.0, you must also include liberator.pfx.

Server configuration

Files downloaded from your Liberator Profile page include the correct server URL preconfigured in the client.

Override server URL

To connect to a different instance, set the URL explicitly:
Use https:// for domain names and http:// for direct IP addresses. Specify port numbers as shown above when required.
Once your client is configured, you are ready to begin pulling data.