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

This library may be installed using pip:

$ pip install bee-scheduler

To use this library, you will need your Beeminder username and auth token, which can be found at https://www.beeminder.com/api/v1/auth_token.json.

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

from datetime import date

from bee_scheduler.scheduler import BeeScheduler

scheduler = BeeScheduler("<your beeminder username>", "<your beeminder auth token>")

start = date(year=2025, month=4, day=20)
end = date(year=2025, month=4, day=20)
rate = 0
scheduler.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-1.0.0.tar.gz (3.3 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-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bee_scheduler-1.0.0.tar.gz
Algorithm Hash digest
SHA256 da0eb01442802d9fbdab1a38008e821f8fa6b6642e650c2d114dc2ef48690f9d
MD5 fff8719be3bb136268d99a90d5ef254a
BLAKE2b-256 2d2ccaca38e1772bb7f463cf4d0e7c6f423bf08ff90af3036c35d9a10525612c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bee_scheduler-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37f76201fb7998ad557ccbbf638016d22ecd940d05ba922b72e7561d88b68782
MD5 fcf827413244002280c9285d81ec3734
BLAKE2b-256 ecbcf0703738037852a8f99200b1495f4afeff3a22c8af23a557b245c7751748

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