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

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.2.tar.gz (2.6 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.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bee_scheduler-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 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.2.tar.gz
Algorithm Hash digest
SHA256 88888a7bc3f8252ea6778458aacfab5b3cdcd68bd454ff862a853a30ea9ccc11
MD5 38f2205b048dcdef8b2dc2dc81c2f4a5
BLAKE2b-256 a91fdd58312afebdfc69292b22d852b743bd00d3d25f42625ee2e0c33325f7a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bee_scheduler-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc842bcfd61fdc20c2a39566d3aed7854678f8d3f2cdfb4a22e9f9755f00d0a7
MD5 54ebdb7fe44fa466572190274e015bea
BLAKE2b-256 2a38b5e20fb777ff17f3b9ea2504e43e2362112f0489b1c43a0d6fc1657782fb

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