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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bee_scheduler-1.0.2.tar.gz
  • Upload date:
  • Size: 3.4 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.2.tar.gz
Algorithm Hash digest
SHA256 db4e829a8140cbc8e4e3d87e1db8c3c22bca7ddec0f0068a934950b853af0f7c
MD5 45e53f2d5aa10765f519c231c717f6b0
BLAKE2b-256 8c67a1ce4af2389c5250ae2bad33d9d7fa56439cbcfb98e58c3b4416925d21dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bee_scheduler-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61f495e34565f56a833436e1b3c0aafe74020aea42fbd1441df65ccbf27aa5cc
MD5 543e2c9ec890ccafd8a69b55c9ccd9ba
BLAKE2b-256 dd3c4f237963c627d256b55bb887e1756df962606bc0fa610290b246214e4bce

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