thread_task is built on top of threading and allows to organize tasks and run them parallel.
You can:
build chains of tasks, which execute tasks sequentially in a single thread
build parent-child relationships, which allows to construct trees of tasks
stop tasks, which also stops the execution of child tasks
continue tasks, which also continues the execution of child tasks
restart finished or stopped tasks
join tasks, which means waiting until the task and its children are finished
A thread_task is not like a function, it doesn’t return results. Think of it as an instruction to a reliable but independently acting person. If feedback is needed, this can be done by callback functions. Communication between tasks is possible by mutable objects, which can be red or changed by multiple tasks.
The following task types exist:
Task: Executes a single callable or a chain of callables.
Repeated: Executes a callable multiple times.
Periodic: Executes a callable periodically
Sleep: Sleeps for a given time, is similar to time.sleep, but can be stopped and continued
Read thread-task.readthedocs.io for more details.
Metadata
Release files for thread-task 0.9.7
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 |
|---|---|---|---|---|
| thread-task-0.9.7.tar.gz | 12.0 kB | Without provenance | Details for thread-task-0.9.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thread_task-0.9.7-py3-none-any.whl | Python 3 | none | any | Details for thread_task-0.9.7-py3-none-any.whl |
Total release size: 26.1 kB
Release files / thread-task-0.9.7.tar.gz
| Download URL | thread-task-0.9.7.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adf373d6c55a2c5dd170e0087365451c2dde8ff636ccd57431ec9402d30eb05e
|
|
BLAKE2b-256 checksum How to use checksums |
a62423943f113785fe132569fde256d12a017c8e411071f8a71ad79c2b33905c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0+
|
Release files / thread_task-0.9.7-py3-none-any.whl
| Download URL | thread_task-0.9.7-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7bd36a0119c181e625a6e0c4ffca6c19f8e744b4b7a85f3ce1d04d57b44a5a8
|
|
BLAKE2b-256 checksum How to use checksums |
30f02cc84591996d03329245ed5d0617a4cbfeda046bf4c5cb0170149466ac62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0+
|
Security for thread-task 0.9.7
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.