A Python library for defining, templating, and executing configurable asynchronous actions triggered via URLs.
Project description
UrlTasker
Description
UrlTasker is a flexible Python framework for defining, configuring, and executing asynchronous actions using simple URL. Designed for modern async workflows, it allows developers to expose and trigger actions (HTTP, processus, ect...) configured by simple URL.
Requirements
This package require:
- python3
- python3 Standard Library
- PegParser
Installation
Pip
python3 -m pip install UrlTasker
Git
git clone "https://github.com/mauricelambert/UrlTasker.git"
cd "UrlTasker"
python3 -m pip install .
Wget
wget https://github.com/mauricelambert/UrlTasker/archive/refs/heads/main.zip
unzip main.zip
cd UrlTasker-main
python3 -m pip install .
cURL
curl -O https://github.com/mauricelambert/UrlTasker/archive/refs/heads/main.zip
unzip main.zip
cd UrlTasker-main
python3 -m pip install .
Usages
Python script
from UrlTasker import *
run(run_tasks(
"http://127.0.0.1:8000/",
"http://127.0.0.1:8000/1",
"http://127.0.0.1:8000/2",
"http+POST://test:test@127.0.0.1:8000/2;Filename=toto123?whynot#mydata",
"script:test.py;test=test&test2=test?test=test#mydata",
"https+GET+insecure://31.172.239.74/",
"webscripts://127.0.0.1:8000/show_license.py?codeheader",
"webscripts://127.0.0.1:8000/test_config.py?select=test&password=test&password=test&--test-date=2025-07-18&test_input=trololo&test_number=45#select%0aarguments%0a",
))
run(get_task("script:test.py;test=test&test2=test?test=test#mydata").run())
Links
License
Licensed under the GPL, version 3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
urltasker-0.0.1.tar.gz
(21.2 kB
view details)
File details
Details for the file urltasker-0.0.1.tar.gz.
File metadata
- Download URL: urltasker-0.0.1.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60c5d6edca170dec422e4a1c7c63bbb1015d819da183abda0378e09e29cc8f9c
|
|
| MD5 |
00d241a851a5bf31e63a7ae47aa35902
|
|
| BLAKE2b-256 |
94ba6d496e1f17f241c9f11c43f4eabe28f4976eee4b0575d1fe89ec0a28c658
|