Skip to main content

Tasker

PyPI version Supported versions Downloads license

Simple task automation framework for Python, integrating Rocketry for advanced scheduling and Apprise for multi-platform notifications. Wraps Python functions and shell commands into easily manageable and schedulable units.

Installation

From PyPi

pip install tasker-python

From source

pip install git+https://github.com/zigai/tasker.git

Example

from tasker import Channel, CommandLineTask

task = CommandLineTask(
    name="hello-world",
    command="echo 'Hello World!'",
    notification_channels=[
        Channel("discord://...", events=["start", "success", "info", "fail"]), 
    ],
    stdout=True, # display stdout in notifications
)

task.exec() # run once

from tasker.scheduler import TaskScheduler, every
scheduler = TaskScheduler()
scheduler.schedule_task(task, every("10 seconds")) # run every 10 seconds
scheduler.run()

License

MIT License

Metadata

Release files for tasker-python 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tasker-python 0.1.5
File Size Uploaded
tasker_python-0.1.5.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tasker-python 0.1.5
File Interpreter ABI Platform
tasker_python-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 16.9 kB

Release files / tasker_python-0.1.5.tar.gz

Download URL tasker_python-0.1.5.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
916a8e3639b2a82deae017c1597feff4fe9bfa1ce476eec9acd530e2bbaff58a
BLAKE2b-256 checksum
How to use checksums
296d5e140b9e5f4540bff21ed65cbe4be0973f75582d58f7a11c75c94c55a142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / tasker_python-0.1.5-py3-none-any.whl

Download URL tasker_python-0.1.5-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68ec2a3d860fbe5cce30f95dcd737cf97c1a735c83d7e4b9da62bc0a1bdc8f80
BLAKE2b-256 checksum
How to use checksums
fba14a3b0746197c8f73788f39556df467f4995233cafc5a917c6b877f5cb8ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page