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

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.2
File Size Uploaded Provenance Actions
pymode-1.1.2.tar.gz 4.1 kB Without provenance Details for pymode-1.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 7.9 kB

Release files / pymode-1.1.2.tar.gz

Download URL pymode-1.1.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c0b0e544f26254e1d7229c69dc604ddb6a3f24021f0f298ec74640918a889a16
BLAKE2b-256 checksum
How to use checksums
979de6a4274077fc7105582e2749a567f4ab36861b4e98c8532767d338ba5796
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.2-py2.py3-none-any.whl

Download URL pymode-1.1.2-py2.py3-none-any.whl
Size 3.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c4bb2ce4d29c187979e1eb301fedfa0c6149d9ca4f7313d21e067d62364ae381
BLAKE2b-256 checksum
How to use checksums
a775f853f822084def5a02534b87e9700677e23d2194e9416a9366c3981112af
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.2

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