devel/py-qasync 0.28.0 FreeBSD
Implementation of the PEP 3156 Event-Loop with Qt
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- devel
- Package size
- 36.2 KiB, 178.9 KiB installed
Description
qasync allows coroutines to be used in PyQt/PySide applications by providing an implementation of the PEP 3156 event loop.
With qasync, you can use asyncio functionalities directly inside Qt app's event loop, in the main thread. Using async functions for Python tasks can be much easier and cleaner than using threading.Thread or QThread.
If you need some CPU-intensive tasks to be executed in parallel, qasync also provides QEventLoop.run_in_executor which is functionally identical to that of asyncio. By default QThreadExecutor is used, but any class implementing the concurrent.futures.Executor interface will work.
qasync is a fork of asyncqt, which is a fork of quamash. qasync was created because those are no longer maintained.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-qasync | 0.28.0 |
| DragonFly | devel/py-qasync | 0.27.1 |
Install
Binary package:
pkg install py312-qasync
From the ports tree:
cd /usr/ports/devel/py-qasync/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-qasync>0:devel/py-qasync
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.28.0 | 0.28.0 | 0.23.0 | 0.27.1 | 0.28.0 |
| FreeBSD:14:quarterly | 0.28.0 | 0.28.0 | n/a | 0.27.1 | 0.28.0 |
| FreeBSD:15:latest | 0.28.0 | 0.28.0 | n/a | 0.27.1 | 0.27.1 |
| FreeBSD:15:quarterly | 0.28.0 | 0.28.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.28.0 | 0.28.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}uv-build>=0.8.3: devel/py-uv-build${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}AnyQt>0: x11-toolkits/py-AnyQt
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| qasync-0.28.0.tar.gz | 14010 | 6f7f1f18971f59cb259b107218269ba56e3ad475ec456e54714b426a6e30b71d |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.