Package: python314-unsync (1.4.0-1.6)
Unsynchronize asyncio
Unsynchronize `asyncio` by using an ambient event loop in a separate thread. 1. Mark all async functions with `@unsync`. May also mark regular functions to execute in a separate thread. * All `@unsync` functions, async or not, return an `Unfuture` 2. All `Futures` must be `Unfutures` which includes the result of an `@unsync` function call, or wrapping `Unfuture(asyncio.Future)` or `Unfuture(concurrent.Future)`. `Unfuture` combines the behavior of `asyncio.Future` and `concurrent.Future`: * `Unfuture.set_value` is threadsafe unlike `asyncio.Future` * `Unfuture` instances can be awaited, even if made from `concurrent.Future` * `Unfuture.result()` is a blocking operation *except* in `unsync.loop`/`unsync.thread` where it behaves like `asyncio.Future.result` and will throw an exception if the future is not done 3. Functions will execute in different contexts: * `@unsync` async functions will execute in an event loop in `unsync.thread` * `@unsync` regular functions will execute in `unsync.thread_executor`, a `ThreadPoolExecutor` * `@unsync(cpu_bound=True)` regular functions will execute in `unsync.process_executor`, a `ProcessPoolExecutor`
Package information
- Homepage
- [https://github.com/alex-sherman/unsync]
- License
- MIT
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [python-unsync]
- Software project
- [python-unsync]
Versions and downloads for python314-unsync
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.4.0-1.6tumbleweed / oss | noarchopenSUSE Tumbleweed · OSS · multi-architecture | 20 KiB | 34 KiB | list of files | python314-unsync-1.4.0-1.6.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Other packages built from python-unsync
- python313-unsync
Unsynchronize asyncio
Dependencies and recommendations for python314-unsync
dep: python(abi) (= 3.14)
Package not available
Package file paths (17)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/python3.14/site-packages/unsync
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info/INSTALLER
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info/licenses
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info/licenses/LICENSE
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info/METADATA
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info/RECORD
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info/REQUESTED
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info/top_level.txt
- /usr/lib/python3.14/site-packages/unsync-1.4.0.dist-info/WHEEL
- /usr/lib/python3.14/site-packages/unsync/__init__.py
- /usr/lib/python3.14/site-packages/unsync/__pycache__
- /usr/lib/python3.14/site-packages/unsync/__pycache__/__init__.cpython-314.opt-1.pyc
- /usr/lib/python3.14/site-packages/unsync/__pycache__/__init__.cpython-314.pyc
- /usr/lib/python3.14/site-packages/unsync/__pycache__/unsync.cpython-314.opt-1.pyc
- /usr/lib/python3.14/site-packages/unsync/__pycache__/unsync.cpython-314.pyc
- /usr/lib/python3.14/site-packages/unsync/unsync.py
Field source: openSUSE Tumbleweed OSS
