-
python3-aiohttp-xmlrpc-1.5.0-1.lbn36.noarch
AIOHTTP XMLRPC .. image::
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-aioredis-2.0.1-2.lbn36.noarch
aioredis
asyncio (3156) Redis client library.
The library is intended to provide simple and clear interface to Redis
based on asyncio.
Features
Feature
Supported
hiredis parser
:white_check_mark:
Pure-python parser
:white_check_mark:
Low-level & High-level APIs
:white_check_mark:
Pipelining support
:white_check_mark:
Multi/Exec support
:white_check_mark:
Connections Pool
:white_check_mark:
Pub/Sub support
:white_check_mark:
Sentinel support
:white_check_mark:
ACL support
:white_check_mark:
Streams support
:white_check_mark:
Redis Cluster support
:no_entry_sign:
Tested Python versions
3.6, 3.7, 3.8, 3.9
Tested for Redis servers
5.0, 6.0
Support for dev Redis server
through low-level API
Installation
The easiest way to install aioredis is by using the package on PyPi:
pip install aioredis
Requirements
Python 3.6+
hiredis
Benchmarks
Benchmarks can be found here:
https:/github.com/popravich/python-redis-benchmark
Contribute
Issue Tracker: https:/gith
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-ansible-builder-1.2.0-1.lbn36.noarch
[:
for _ in range(n):
await asyncio.sleep(random.random() * 2)
async with throttler:
print(time.time(), 'Worker #%d: Bang!' % no)
async def main():
throttler = Throttler(rate_limit=5)
tasks = [
loop.create_task(worker(no, throttler, 10))
for no in range(5)
]
await asyncio.wait(tasks)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.close()
Here I limited work rate to 5/sec while there are 5 workers.
And the result:
1508273760.3462772 Worker #2: Bang!
1508273760.590009 Worker #3: Bang!
1508273760.856431 Worker #0: Bang!
1508273761.0110679 Worker #2: Bang!
1508273761.086856 Worker #4: Bang!
1508273761.350699 Worker #3: Bang!
1508273761.5906 Worker #1: Bang!
1508273761.8655958 Worker #4: Bang!
1508273762.224158 Work
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-backoff-2.2.1-1.lbn36.noarch
This module provides function decorators which can be used to wrap
a function such that it will be retried until some condition is met.
It is meant to be of use when accessing unreliable resources with the
potential for intermittent failures i.e. network resources and external
APIs. Somewhat more generally, it may also be of use for dynamically
polling resources for externally generated content.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-bindep-2.11.0-1.lbn36.noarch
Introduction Bindep is a tool for checking the presence of binary packages
needed to use an application / library. It started life as a way to make it
easier to set up a development environment for OpenStack projects. While
OpenStack depends heavily on pip for installation of Python dependencies, some
dependencies are not Python based, and particularly for testing, some
dependencies have to be...
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36