Skip to main content

Beeminder power tools library

Project description


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.


pip3 install --user pyminder


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.
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.
now = time.time()
sum_ = goal.get_data_sum(now)
needed = goal.get_needed(now)



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



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyminder-1.1.1.tar.gz (5.9 kB view hashes)

Uploaded source

Built Distribution

pyminder-1.1.1-py3-none-any.whl (7.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page