Metadata-Version: 2.1
Name: task_helpers
Version: 0.0.7
Summary: A package for creating task helpers.
Home-page: https://github.com/loievskyi/task_helpers
Author: Viacheslav Loievskyi
Author-email: loievskyi.slava@gmail.com
License: BSD
Project-URL: Source, https://github.com/loievskyi/task_helpers
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Internet
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# Task helpers - a package for creating task helpers.
The library is under development. Classes, their location, description and behavior may change.

## couriers module
The module allows you to work with tasks.
The idea is that it would be possible to create a task and send it for execution / processing somewhere (to the worker), without waiting for the result to be executed in the same block of code.
Or, for example, different clients (from different threads) can send many tasks for processing and each wait for its own result.

## TaskCourier methods (parent & inherited classes):
### Client side methods (ClientTaskCourier):
  - get_task_result - returns task retuls, if it exists;
  - wait_for_task_result - Waits for the task result to appear;
  - add_task_to_queue - adds a task to the queue for processing;
### Worker side methods (WorkerTaskCourier):
  - get_tasks - pops tasks from queue and returns it;
  - get_task - returns one task from queue;
  - wait_for_task - waits for task and returns it;
  - return_task_result - returns result to the client side.
### ClientWorkerTaskCourier:
  - all of the above

## workers module
  - In developing
