Schedules some number of items that are due today.
Tasks that you don’t get to are weighted to be more heavily in the future.
Features
Repeatedly schedules tasks at a specified frequency
Schedule a set number or less tasks each day
Tasks that don’t get done or scheduled will increase in priority
Tested on Python 3.6, 3.7, and 3.8
Usage
$ git clone https://github.com/audrow/remind-me-some
$ pip install remind-me-some
from datetime import date, timedelta
from remind_me_some.goal import Goal
from remind_me_some.schedule_manager import ScheduleManager
goals = (
("Call Mom", timedelta(weeks=1)),
("Call Dad", timedelta(weeks=1)),
("Call Grandma", timedelta(weeks=2)),
("Call Grandpa", timedelta(weeks=2)),
("Call Cousin", timedelta(weeks=4)),
("Call Uncle", timedelta(weeks=4)),
)
goals_ = []
for goal in goals:
goals_.append(Goal(name=goal[0], frequency=goal[1]))
sm = ScheduleManager()
sm.add_goals(*goals_)
sm.update_schedule()
print(sm)
sm.run() # run the callback for the scheduled action
sm.run() # clear the action if it's completed
print(sm)
Documentation
Remind-Me-Some’s documentation lives at remind-me-some.readthedocs.io.
About Remind-Me-Some
Remind-Me-Some was created by Audrow Nash - audrow@hey.com
Distributed under the MIT license. See LICENSE.txt for more information.
Release files for remind-me-some 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| remind-me-some-1.0.1.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| remind_me_some-1.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 17.7 kB
Release files / remind-me-some-1.0.1.tar.gz
| Download URL | remind-me-some-1.0.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97c9db4d48053a79db68f3cc5711f4d8dc83c1c0c052ec8b7a0413f6e4722072
|
|
BLAKE2b-256 checksum How to use checksums |
a7f536429d720a6d0f274cff58c38ce1bd5a4c9dbf4ac07f13f5d447b599d61c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
|
Release files / remind_me_some-1.0.1-py2.py3-none-any.whl
| Download URL | remind_me_some-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fab7fc03dc0353b49a0e059857acee63f06350ddeb8c93eba3255dc141ac8478
|
|
BLAKE2b-256 checksum How to use checksums |
5bbfcf6d73be344e752efcd16dc77dc932a7923992dc3732bf6c8a82d972ff6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
|