PyMode
PyMode is a Python 3.x library to enable typed interactions with the Mode Analytics v2 API.
Installation
$ pip install pymode
Example Usage
import os
import pymode
ACCOUNT_NAME = os.environ["MODE_ACCOUNT_NAME"]
TOKEN = os.environ["MODE_API_TOKEN"]
PASSWORD = os.environ["MODE_API_PASSWORD"]
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')):
print(report.get('name'))
Metadata
Release files for pymode 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymode-1.1.3.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymode-1.1.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 8.0 kB
Release files / pymode-1.1.3.tar.gz
| Download URL | pymode-1.1.3.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7464969d26113ebb5c7e51024ddf82d73176a1d55619acfb68e9d1064b343dac
|
|
BLAKE2b-256 checksum How to use checksums |
1dc11c1727f68575396f81e6bfe01c51a4def27d0fb884886707a25d0a3fa25b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|
Release files / pymode-1.1.3-py2.py3-none-any.whl
| Download URL | pymode-1.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bee7e4f8a9b160a310ce60c58be9f7df1735139aa942421a74d0ab475d8557da
|
|
BLAKE2b-256 checksum How to use checksums |
9c126c5e14444575dad48602f104abe5499be55e19481a2551a3024bd2d67f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|