Skip to main content

DBnomics Python Client

Project description

DBnomics Python client

Access DBnomics time series from Python.

This project relies on Python Pandas.


A tutorial is available as a Jupyter notebook.

The "Binder" tool allows you to run it interactively in your browser. Click on Binder then wait a couple of seconds. After loading a list of files should be displayed. Click on index.ipynb to open the tutorial notebook, where you'll be able to play with the DBnomics Python client.


pip install dbnomics

See also:


To work on dbnomics-python-client source code:

git clone
cd dbnomics-python-client
pip install --editable .

If you plan to use a local Web API, running on the port 5000, you'll need to use the api_base_url parameter of the fetch_* functions, like this:

dataframe = fetch_series(

Or globally change the default API URL used by the dbnomics module, like this:

import dbnomics
dbnomics.default_api_base_url = "http://localhost:5000"

Open the demo notebook

Install jupyter if not already done, in a virtualenv:

pip install jupyter
jupyter notebook

... then open index.ipynb


Run tests:


# Specify an alterate API URL
API_URL=http://localhost:5000 pytest

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for DBnomics, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size DBnomics-1.2.0-py3-none-any.whl (20.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size DBnomics-1.2.0.tar.gz (8.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page