remind-plugin-base
Base package for Remind plugins.
Plugin authors depend on this to create Remind integrations. Provides the BasePlugin ABC and Reminder model.
Usage
from pathlib import Path
from remind_plugin_base import BasePlugin, Reminder
class MyPlugin(BasePlugin):
name = "my-plugin"
display_name = "My Plugin"
version = "0.1.0"
def setup(self, config_dir: Path) -> None:
# Interactive setup wizard
pass
def teardown(self, config_dir: Path) -> None:
# Cleanup
pass
def is_configured(self, config_dir: Path) -> bool:
# Check if configured
return (config_dir / "config.json").exists()
def status(self, config_dir: Path) -> str:
# Status for `remind doctor`
return "✓ Configured" if self.is_configured(config_dir) else "Not configured"
def on_reminder_due(self, reminder: Reminder, config_dir: Path) -> None:
# Called when a reminder is due
print(f"Reminder due: {reminder.text}")
Declare your plugin in your package's pyproject.toml:
[project.entry-points."remind.plugins"]
my-plugin = "my_plugin_package:MyPlugin"
License
MIT
Metadata
Release files for remind-plugin-base 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| remind_plugin_base-0.1.0.tar.gz | 2.9 kB | Without provenance | Details for remind_plugin_base-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| remind_plugin_base-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for remind_plugin_base-0.1.0-py3-none-any.whl |
Total release size: 5.7 kB
Release files / remind_plugin_base-0.1.0.tar.gz
| Download URL | remind_plugin_base-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
137cfddc4f919f417cd01e4ccb28b329b0f9e1a678e010a97281554cb60ae29a
|
|
BLAKE2b-256 checksum How to use checksums |
3ad5fb87d4fb9f094eef128587b86a3539597d61fa592a0b3461b3261cd59038
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / remind_plugin_base-0.1.0-py3-none-any.whl
| Download URL | remind_plugin_base-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
990e9908ccf77ab6aeef599ecf2b2fc70f0b258ffd9ac73ff3b88a1e8fa792d1
|
|
BLAKE2b-256 checksum How to use checksums |
355c6ddd9e2f0e6a8c65f3e422b14a617d2505a0915e8876dafd65c6b26662fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for remind-plugin-base 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.