semvec/pypi-packages huggingface dataset:
asynchelper 0.1.4
asynchelper - Allows execution of unlimited number of asynchronous tasks while limiting the amount of active concurrent ones.
Requires Python: >=3.7

asynchelper
===========

.. image:: https://img.shields.io/pypi/v/asynchelper.svg
    :target: https://pypi.python.org/pypi/asynchelper
    :alt: Latest PyPI version


Allows execution of unlimited number of asynchronous tasks while limiting the amount of active concurrent ones.

Usage
-----

There are only two functions (for now):  
 * `asynchelper.TaskExecutor.map(task_generator: Iterable[callable], workers: Union(int, None) = 128)`  
    * `task_generator` can be any iterable which holds (or generates) coroutines. 
    *  `workers` is the maximum limit of active tasks concurrently. `None` for no limit.
    * This will keep pushing tasks in the iterable until it's fully consumed.
 * `asynchelper.TaskExecutor.forever(task: callable, args: Iterable = [], workers: Union(int, None) = 128)`
    * `task` is an async funtion to create a couroutine from
    * `args` is an iterable of arguments to pass to `task`
    * `workers` is the maximum limit of active tasks concurrently. `None` for no limit
    * This will keep pushing the `task(*args)`, running them forever with a limit of `workers` active tasks at any moment.

-------

`asynchelper` was written by `Mario Nascimento <mario@whitehathacking.tech>`_.
outage 0.0.2
Library for retrieving, parsing, and collating power outage data for the British electricity system.
Requires Python: >=3.6

# GB Power Outage Monitoring

`outage` is a Python library for retrieving, parsing, and collating power outage data for the British electricity system.

<br>

To Do:

- [x] Add an outage map to the documentation, example [here](https://groups.google.com/g/mkdocs/c/qvwXYRuDM-M?pli=1)
- [ ] Make sure that all of the raw and cleaned JSON data is available from the GitHub pages site

<br>

### Use Cases

* Want to check you're having a power cut and ideally get an estimate for when it will be resolved
* Find out the average power cut time for an area, as well as how good their estimate for the length is