BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-qasync0.28.0
DragonFlydevel/py-qasync0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.28.00.28.00.23.00.27.10.28.0
FreeBSD:14:quarterly0.28.00.28.0n/a0.27.10.28.0
FreeBSD:15:latest0.28.00.28.0n/a0.27.10.27.1
FreeBSD:15:quarterly0.28.00.28.0n/an/an/a
FreeBSD:16:latest0.28.00.28.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

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
FileSizeSHA256
qasync-0.28.0.tar.gz140106f7f1f18971f59cb259b107218269ba56e3ad475ec456e54714b426a6e30b71d
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.