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:
import liberator

Installation Steps

If adding CloudQuant Data Liberator to your own Python environment (local installation, Jupyter, or IDE):
  1. Download three required files from the CloudQuant website
  2. Place files in either:
    • The same folder as your code, or
    • A central Python location
To find your Python’s site-packages directory:
import site
print(site.getsitepackages())

Required Files

FilePurpose
liberator.pyThe Python library
liberation.jsonPre-populated credentials (username and token)
liberator.pfxSecurity certificate

Server Configuration

By default, CloudQuant Data Liberator connects to the main server at https://api.cloudquant.com/ with access to all public datasets.

Custom Server Setup

For private company instances, configure the URL:
liberator.url = 'https://mywidgets.cloudquant.ai/'
liberator.url = 'http://10.10.56.127:47753/'
Use https:// for domain names and http:// for direct IP addresses. Specify port numbers as shown above when required.
Once configured, you’re ready to begin pulling data from your configured server.