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.4.tar.gz (3.2 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.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bee_scheduler-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 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.4.tar.gz
Algorithm Hash digest
SHA256 a8769c9b9267f6b054e8d598ec3d8456ac4b25f85fc24625a3710cc25092b2a2
MD5 eea4ae20add28acee14fb3eeb701fd2b
BLAKE2b-256 87640407af80b8ab6946ed93a4aaab585417a465aee376c8a2fc8192c7c2f5e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bee_scheduler-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4acbbcc892c811fe973ad423aab5114c026e899aba15ab2e1ed7b01a0d1fdb
MD5 43d1da927df226a07e67ece827e9347f
BLAKE2b-256 1cc1dafe1cc1270796d45ff9639279f54a7d38d435831c581371a6f4f5accb85

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