[PyQt] Integrating asyncio with Qt event loop?

Arve Knudsen arve.knudsen at gmail.com
Fri Jun 27 12:34:32 BST 2014


My fork is now semi-functional with Python 3.4 and PyQt 5. I can at least
perform simple asynchronous tasks within a Qt application, but lots remain
to implement.

Arve


On Fri, Jun 27, 2014 at 9:24 AM, Arve Knudsen <arve.knudsen at gmail.com>
wrote:

> I've created a fork on GitHub: https://github.com/aknuds1/quamash. Do you
> know where to locate information on writing an asyncio event loop though?
> Not sure where to begin.
>
> Thanks,
> Arve
>
>
> On Thu, Jun 26, 2014 at 9:30 PM, Arve Knudsen <arve.knudsen at gmail.com>
> wrote:
>
>> Thanks. I'm thinking I might try to modify his code, if it isn't too much
>> work.
>>
>> Arve
>>
>>
>> On Thu, Jun 26, 2014 at 7:32 PM, Tamás Bajusz <gbtami at gmail.com> wrote:
>>
>>> Unfortunately, I know that github project only. (
>>> https://github.com/harvimt/quamash)
>>> Try to contact him at mark.harviston at gmail.com
>>>
>>>
>>> On Thu, Jun 26, 2014 at 7:27 PM, Arve Knudsen <arve.knudsen at gmail.com>
>>> wrote:
>>>
>>>> Tamás, has Mark Harviston's implementation been updated to work with
>>>> the latest Python (3.4)? I think I read somewhere that it's based on an
>>>> outdated API.
>>>>
>>>> Arve
>>>>
>>>> On Thu, Jun 26, 2014 at 6:29 PM, Tamás Bajusz <gbtami at gmail.com> wrote:
>>>>
>>>>>
>>>>> http://haypo-notes.readthedocs.org/asyncio.html#replacing-the-event-loop
>>>>>
>>>>>
>>>>> On Thu, Jun 26, 2014 at 5:20 PM, Arve Knudsen <arve.knudsen at gmail.com>
>>>>> wrote:
>>>>>
>>>>>>  Hi guys
>>>>>>
>>>>>> I am looking to integrate Python 3.4 asyncio
>>>>>> <https://docs.python.org/3/library/asyncio.html> with Qt's event
>>>>>> loop (via PyQt 5), specifically in order to asynchronously monitor output
>>>>>> (stdout/stderr) from a child process. Maybe this is somewhat off-topic for
>>>>>> this list, but can someone tell me if such integration exists (and works)?
>>>>>>
>>>>>> Thanks,
>>>>>> Arve
>>>>>>
>>>>>> _______________________________________________
>>>>>> PyQt mailing list    PyQt at riverbankcomputing.com
>>>>>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140627/5a114363/attachment.html>


More information about the PyQt mailing list