Skip to main content

pyminder

I use Beeminder in a lot of my Python projects, and I find myself writting the same helper functions multiple times. This repository will serve as a place for me to store this functionality and make it accessible to other people.

Installation

pip3 install --user pyminder

Usage

import time
from pyminder.pyminder import Pyminder

pyminder = Pyminder(user='[your username]', token='[your api token]')

goals = pyminder.get_goals()
goal = goals[0]

# Goal objects expose all API data as dynamic properties.
# http://api.beeminder.com/#attributes-2
slug = goal.slug
rate = goal.rate

# Goal objects also implement a handful of helper functions.
# Note: These functions probably contain bugs! Issues & pull requests welcome.
# https://github.com/narthur/pyminder/blob/master/pyminder/goal.py
now = time.time()
sum_ = goal.get_data_sum(now)
needed = goal.get_needed(now)

Links

Development

  • Set up a virtual environment in PyCharm so you aren't using the global Python env. This will allow you to avoid conflicts of dependencies.

Deployment

Information

Release files for pyminder 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 pyminder 1.1.1
File Size Uploaded
pyminder-1.1.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyminder 1.1.1
File Interpreter ABI Platform
pyminder-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size:12.9 kB

Release files / pyminder-1.1.1.tar.gz

Download URL pyminder-1.1.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
031a652d8782a23adb2be3dbe7e98741ede600a45c68b2b22d6dcc8d51425067
BLAKE2b-256 checksum
How to use checksums
45cf0083522f5134404ac693c62f496fc7d2e82f8d0a478729236c31b3e1b065
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / pyminder-1.1.1-py3-none-any.whl

Download URL pyminder-1.1.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3d2ca919fcf1e59319dbae506c27a610b56fdf702d2832082cc6a2441b5b157
BLAKE2b-256 checksum
How to use checksums
969efb89497cd2a7d0e6cff3c73a7b22c9679f053d5b3dc698b7f09b832a5169
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.5.1

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.1

2 release files

0.0.1

2 release files

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