Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python312-blockbuster-1.5.24-1.1 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python312-blockbuster Distribution: openSUSE:Factory:zSystems
Version: 1.5.24 Vendor: openSUSE
Release: 1.1 Build date: Fri Jun 20 09:21:02 2025
Group: Unspecified Build host: reproducible
Size: 90409 Source RPM: python-blockbuster-1.5.24-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/cbornet/blockbuster.git
Summary: Utility to detect blocking calls in the async event loop
Blockbuster is a Python package designed to detect and prevent blocking calls within an asynchronous event loop.
It is particularly useful when executing tests to ensure that your asynchronous code does not inadvertently call blocking operations,
which can lead to performance bottlenecks and unpredictable behavior.

In Python, the asynchronous event loop allows for concurrent execution of tasks without the need for multiple threads or processes.
This is achieved by running tasks cooperatively, where tasks yield control back to the event loop when they are waiting for I/O operations or other long-running tasks to complete.

However, blocking calls, such as file I/O operations or certain networking operations, can halt the entire event loop, preventing other tasks from running.
This can lead to increased latency and reduced performance, defeating the purpose of using asynchronous programming.

The difficulty with blocking calls is that they are not always obvious, especially when working with third-party libraries or legacy code.
This is where Blockbuster comes in: it helps you identify and eliminate blocking calls in your codebase during testing, ensuring that your asynchronous code runs smoothly and efficiently.
It does this by wrapping common blocking functions and raising an exception when they are called within an asynchronous context.

Notes:
- Blockbuster currently only detects `asyncio` event loops.
- Blockbuster is tested only with CPython. It may work with other Python implementations if it's possible to monkey-patch the functions with `setattr`.

Provides

Requires

License

Apache-2.0

Changelog

* Fri Jun 20 2025 Markéta Machová <mmachova@suse.com>
  - Initial packaging (v1.5.24), needed by aiohttp

Files

/usr/lib/python3.12/site-packages/blockbuster
/usr/lib/python3.12/site-packages/blockbuster-1.5.24.dist-info
/usr/lib/python3.12/site-packages/blockbuster-1.5.24.dist-info/INSTALLER
/usr/lib/python3.12/site-packages/blockbuster-1.5.24.dist-info/METADATA
/usr/lib/python3.12/site-packages/blockbuster-1.5.24.dist-info/RECORD
/usr/lib/python3.12/site-packages/blockbuster-1.5.24.dist-info/REQUESTED
/usr/lib/python3.12/site-packages/blockbuster-1.5.24.dist-info/WHEEL
/usr/lib/python3.12/site-packages/blockbuster-1.5.24.dist-info/licenses
/usr/lib/python3.12/site-packages/blockbuster-1.5.24.dist-info/licenses/LICENSE
/usr/lib/python3.12/site-packages/blockbuster/__init__.py
/usr/lib/python3.12/site-packages/blockbuster/__pycache__
/usr/lib/python3.12/site-packages/blockbuster/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/blockbuster/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/blockbuster/__pycache__/blockbuster.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/blockbuster/__pycache__/blockbuster.cpython-312.pyc
/usr/lib/python3.12/site-packages/blockbuster/blockbuster.py
/usr/lib/python3.12/site-packages/blockbuster/py.typed
/usr/share/doc/packages/python312-blockbuster
/usr/share/doc/packages/python312-blockbuster/README.md
/usr/share/licenses/python312-blockbuster
/usr/share/licenses/python312-blockbuster/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Jul 7 01:22:11 2025