Skip to main content

Python SDK for the Mode v2 API.

Project description

License: MIT Build Status Python Versions


PyMode is a Python 3.x library to enable typed interactions with the Mode Analytics v2 API.


$ pip install pymode

Example Usage

import os
import pymode

TOKEN = os.environ["MODE_API_TOKEN"]

mode = pymode.Mode(account_name=MODE_ACCOUNT_NAME, token=TOKEN, password=PASSWORD)

for space in mode.list_spaces():
    for report in mode.list_reports(space_token=space.get('token')):

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 pymode, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size pymode-1.1.4-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pymode-1.1.4.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page