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):- Download the required files from your Liberator Profile page
- Install dependencies:
- Place files in either:
- The same folder as your code, or
- A central Python location (
liberator.pyonly — 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'.Required files
| File | Purpose |
|---|---|
liberator.py | The Python library |
liberator.json | Pre-populated credentials (username and token) |
liberator.pfx | Security certificate (only required for releases prior to 2.0) |
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.
