Setup
Setting Up reminder.py¶
To get started with reminder.py, follow these steps to install and create reminders.
Install reminder.py¶
Ensure you have pip installed, then run the following command in your terminal or command prompt:
On Windows¶
On Linux/macOS¶
Clone (Optional)¶
Info
Cloning the repository is for accessing beta releases.
Create a Reminder System¶
Once installed, you can create a reminder system as shown in the example below:
from reminder import Reminder, Schedule
from datetime import timedelta
reminder = Reminder()
reminder.add_schedule('Task 1: 1-minute timer', timedelta(minutes=1))
@reminder.event
async def on_initiate():
print("Reminder initiated")
@reminder.event
async def on_schedule(schedule: Schedule):
print(f"Triggered: {schedule.title}")
reminder.run()
For more details and examples, visit the examples repository.