Skip to main content

License: MIT Build Status Python Versions

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymode 1.1.1
File Size Uploaded Provenance Actions
pymode-1.1.1.tar.gz 4.0 kB Without provenance Details for pymode-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymode 1.1.1
File Interpreter ABI Platform Actions
pymode-1.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for pymode-1.1.1-py2.py3-none-any.whl

Total release size: 7.9 kB

Release files / pymode-1.1.1.tar.gz

Download URL pymode-1.1.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
240f3070dce148541a7fb7c07ef8da7656996e5f2bf4b22b712c668f3d4d80ba
BLAKE2b-256 checksum
How to use checksums
360dcf4d66e976e7820f104b3a7271552e5f1d80bc2fafddf53fe9d5dc0499fd
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.1-py2.py3-none-any.whl

Download URL pymode-1.1.1-py2.py3-none-any.whl
Size 3.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
35695f6511b66bea7c02b0b9e4d9e451d8094b687977a5dd2e3fa7c22352e780
BLAKE2b-256 checksum
How to use checksums
b59d576252200e68a69a977fb1448853dc52a0ed6acd653cc5c97c8fad663709
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

Security for pymode 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page