Skip to main content

A scheduling library for beeminder.

Project description

Bee Scheduler

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

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

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

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)

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.1.tar.gz (2.5 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.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bee_scheduler-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 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.1.tar.gz
Algorithm Hash digest
SHA256 fc52402c71922430ef6c80f87a501af74545ca27e7fce33e4545d9146029647e
MD5 bf4fc46bec34dd937c9e4d8a90de19a6
BLAKE2b-256 c6b1affe5122ff99c3b6106a7002928c46cea4535bc24a8543511328f04c980c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bee_scheduler-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd3d4377e263591bba1c350077140a96249b789deeaddd1479d7cb76c5de3789
MD5 20335b1f2eb875e512a1d6c649ecddd1
BLAKE2b-256 c407c41ac7c2bc715c64a4baaa8d74c6ff97ef97a4dfdb87683e3f880c659e11

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