Task manager for python
Project description
Tasker
Task manager for python
Quickstart
import sys
import time
from tasker.manager import Manager
from tasker.task import Task
if __name__ == "__main__":
def example1(attached_outstream = sys.stdout):
print("1", file=attached_outstream)
time.sleep(1)
print("2", file=attached_outstream)
time.sleep(1)
print("3", file=attached_outstream)
def example2(attached_outstream = sys.stdout):
print("console 2", file=attached_outstream)
manager = Manager()
manager.run_attached_stream()
manager.run_task(Task(example1))
time.sleep(1)
manager.run_task(Task(example2))
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
tskmanager-1.0.1.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tskmanager-1.0.1.tar.gz.
File metadata
- Download URL: tskmanager-1.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5222fa354216f42c4b1b2007b069aa2d25a1de647f2803d856f79b2e1db342d0
|
|
| MD5 |
d37ccdd2dfdb4f484194e579e037ca89
|
|
| BLAKE2b-256 |
80008404d3283babdfb8128358078c4dbbe60f0d2ada49a32ba5497776fba9e2
|
File details
Details for the file tskmanager-1.0.1-py3-none-any.whl.
File metadata
- Download URL: tskmanager-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e116c03628da85029111103fd22ab86e647c844c6da65497aeb60a90897e3e49
|
|
| MD5 |
15014d363569224b727c5cddf5b9c30e
|
|
| BLAKE2b-256 |
e01a59b998586a14468a933a211ec76f890829ce8cfd3a8895ff255aec066172
|