Registry / workflow / luigi-monitor

luigi-monitor

JSON →
library1.1.4pypypiunverified

Luigi Monitor sends summary messages of your Luigi pipeline runs to Slack (via webhook). It provides a lightweight wrapper to augment Luigi's scheduling events and report success/failure in real-time. Current version 1.1.4, with no recent releases; the project is in maintenance mode.

pip install luigi-monitor
INSTALL
IMPORT
SIG · LUIGI-MONITOR
L
luigi-monitor
workflowpythonv1.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LuigiMonitor
from luigi_monitor import LuigiMonitor
from luigi_monitor import LuigiMonitor

Wrap Luigi tasks with @monitor.notify to send Slack messages on completion/failure.

from luigi_monitor import LuigiMonitor import os monitor = LuigiMonitor( slack_url=os.environ.get('SLACK_WEBHOOK_URL', ''), channel='#pipeline-alerts', username='luigi-bot', icon_emoji=':robot_face:' ) @monitor.notify class MyTask(luigi.Task): def run(self): pass if __name__ == '__main__': luigi.run()
Debug
Known issues
gotchaThe import path uses an underscore (luigi_monitor) despite the PyPI package name having a hyphen. Attempting to import luigi-monitor directly will fail.
fix
Use 'from luigi_monitor import LuigiMonitor'
affects: all
gotchaSlack webhook URL must be provided either via constructor or SLACK_URL env var. If missing, monitor silently falls back to no-op without warning.
fix
Ensure SLACK_WEBHOOK_URL environment variable is set, or pass slack_url explicitly.
affects: all
deprecatedThe project has had no updates since 2019; may not work with Luigi 3.x due to internal event API changes. No official compatibility statement.
fix
Test with your Luigi version; consider forking or switching to alternative monitoring.
affects: <=1.1.4
Upgrade
Version history
1.1.4latest on PyPI · released Aug 16, 2018
Audit
Dependencies
luigirequiredRuntime dependency; monitors Luigi pipelines
requestsrequiredUsed to send HTTP POST to Slack webhook
Agent activity
21 hits · last 30 days
node
20
OpenAI (training)
1
Resources