Skip to main content

A scheduling library for beeminder.

Project description

Bee Scheduler

Allows for setting rates for arbitrary blocks of time in Beeminder.

Usage

To use this library, two environment variables need to be set first:

$ export BEEMINDER_USER="<beeminder username>"
$ export BEEMINDER_TOKEN="<beeminder api token>"

This information may be found at https://www.beeminder.com/api/v1/auth_token.json

This library may be installed using pip:

$ pip install bee-scheduler

To schedule a break (rate=0) for the weekend of April 19th to April 20th:

from datetime import date

from bee_scheduler.scheduler import schedule_rate

start = date(year=2025, month=4, day=19)
end = date(year=2025, month=4, day=20)
rate = 0
schedule_rate(goal_name, start, end, rate)

And here you can see the resulting break scheduled in a beeminder graph: graph with break

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

bee_scheduler-0.0.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bee_scheduler-0.0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file bee_scheduler-0.0.3.tar.gz.

File metadata

  • Download URL: bee_scheduler-0.0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for bee_scheduler-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2259d31bdde5ff73a3fc03cb9bda020ba9e1f9f840f58296f0fdfdb6c0e983e7
MD5 32b6a617996c6287c60b7c3f9096efd5
BLAKE2b-256 8b77bc27427dc4e97b6162bae9fba17c8cfbe45896e7552df9db202dfb6c920f

See more details on using hashes here.

File details

Details for the file bee_scheduler-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: bee_scheduler-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for bee_scheduler-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0bc8c6f8b1154573a93bd8111f28505d71d22421eec1233e266764f36fee3f48
MD5 45294c850c199450510d9cab9bb0e95c
BLAKE2b-256 808adbdfea48ee32cb364d48e7897132ee22065acac09dc4a8549d4d7112997b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page