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.1.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.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bee_scheduler-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2079749cda9a3809366790283163b275a50b3602aedc987fabf80ec62d831ab1
MD5 2b28013f13ef7bfecdd7a23d1b3ed656
BLAKE2b-256 27b78ea7aa6780b0e121e6a4779753db6a8045a03ba401d6602a7b409a2d79e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bee_scheduler-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3f0de4f62a966c804644e8ea08777fd42a8641a18b2210e134c10dcdf7df53f
MD5 ff9b61d4c267b520392b0442b65b835c
BLAKE2b-256 bc282a41df06cdadb440317d1113d6b8deaf1bdeac17445ba5293de04c8d046c

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