[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Integrating asyncio with Qt event loop?
From:       Arve Knudsen <arve.knudsen () gmail ! com>
Date:       2014-06-30 14:03:17
Message-ID: CAEDa091YH84bWahHxHmh3+tF0F-yhEYeBga21rkz-XDrSLyZUQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Erik, Tam=C3=A1s, feel free to try my Quamash fork
<https://github.com/aknuds1/quamash>, it's currently quite functional,
except that subprocess execution is somehow broken.

Arve

On Fri, Jun 27, 2014 at 1:34 PM, Arve Knudsen <arve.knudsen@gmail.com>
wrote:

> 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 remai=
n
> to implement.
>
> Arve
>
>
> On Fri, Jun 27, 2014 at 9:24 AM, Arve Knudsen <arve.knudsen@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@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=C3=A1s Bajusz <gbtami@gmail.com> w=
rote:
>>>
>>>> Unfortunately, I know that github project only. (
>>>> https://github.com/harvimt/quamash)
>>>> Try to contact him at mark.harviston@gmail.com
>>>>
>>>>
>>>> On Thu, Jun 26, 2014 at 7:27 PM, Arve Knudsen <arve.knudsen@gmail.com>
>>>> wrote:
>>>>
>>>>> Tam=C3=A1s, 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=C3=A1s Bajusz <gbtami@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@gmail.co=
m
>>>>>> > 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-to=
pic for
>>>>>>> this list, but can someone tell me if such integration exists (and =
works)?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Arve
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> PyQt mailing list    PyQt@riverbankcomputing.com
>>>>>>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

[Attachment #5 (text/html)]

<div dir="ltr">Erik, Tamás, feel free to try my <a \
href="https://github.com/aknuds1/quamash" target="_blank">Quamash fork</a>, it&#39;s \
currently quite functional, except that subprocess execution is somehow \
broken.<div><br> </div><div>Arve</div><div class="gmail_extra"><br><div \
class="gmail_quote">On Fri, Jun 27, 2014 at 1:34 PM, Arve Knudsen <span \
dir="ltr">&lt;<a href="mailto:arve.knudsen@gmail.com" \
target="_blank">arve.knudsen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">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.<span><font color="#888888"><div>

<br><div>Arve</div></div></font></span></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div>On Fri, Jun 27, 2014 at 9:24 AM, Arve Knudsen \
<span dir="ltr">&lt;<a href="mailto:arve.knudsen@gmail.com" \
target="_blank">arve.knudsen@gmail.com</a>&gt;</span> wrote:<br></div> \
<div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> <div dir="ltr">I&#39;ve created a fork on GitHub:  <a \
href="https://github.com/aknuds1/quamash" \
target="_blank">https://github.com/aknuds1/quamash</a>. Do you know where to locate \
information on writing an asyncio event loop though? Not sure where to begin.<div>



<br></div><div>Thanks,</div><div>Arve</div></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 9:30 PM, \
Arve Knudsen <span dir="ltr">&lt;<a href="mailto:arve.knudsen@gmail.com" \
target="_blank">arve.knudsen@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Thanks. I&#39;m thinking I might try to modify \
his code, if it isn&#39;t too much work.<span><font color="#888888"><div>



<br></div><div>Arve</div></font></span></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 7:32 PM, \
Tamás Bajusz <span dir="ltr">&lt;<a href="mailto:gbtami@gmail.com" \
target="_blank">gbtami@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Unfortunately, I know that github project \
only. (<a href="https://github.com/harvimt/quamash" \
target="_blank">https://github.com/harvimt/quamash</a>)<br>




</div>Try to contact him at <a href="mailto:mark.harviston%40gmail.com" \
target="_blank">mark.harviston@gmail.com<br> </a></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 7:27 PM, \
Arve Knudsen <span dir="ltr">&lt;<a href="mailto:arve.knudsen@gmail.com" \
target="_blank">arve.knudsen@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Tamás, has Mark Harviston&#39;s \
implementation been updated to work with the latest Python (3.4)? I think I read \
somewhere that it&#39;s based on an outdated API.</div>





<span><font color="#888888"><div><br></div><div>Arve</div></font></span><div><div><div \
class="gmail_extra"> <br><div class="gmail_quote">On Thu, Jun 26, 2014 at 6:29 PM, \
Tamás Bajusz <span dir="ltr">&lt;<a href="mailto:gbtami@gmail.com" \
target="_blank">gbtami@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">






<div dir="ltr"><a href="http://haypo-notes.readthedocs.org/asyncio.html#replacing-the-event-loop" \
target="_blank">http://haypo-notes.readthedocs.org/asyncio.html#replacing-the-event-loop</a></div><div \
class="gmail_extra">






<br><br><div class="gmail_quote"><div><div>
On Thu, Jun 26, 2014 at 5:20 PM, Arve Knudsen <span dir="ltr">&lt;<a \
href="mailto:arve.knudsen@gmail.com" \
target="_blank">arve.knudsen@gmail.com</a>&gt;</span> \
wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">






<div><div>
<div dir="ltr">Hi guys<div><br></div><div>I am looking to integrate Python 3.4 <a \
href="https://docs.python.org/3/library/asyncio.html" target="_blank">asyncio</a> \
with Qt&#39;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)?</div>








<div><br></div><div>Thanks,</div><div>Arve</div></div>
<br></div></div>_______________________________________________<br>
PyQt mailing list      <a href="mailto:PyQt@riverbankcomputing.com" \
target="_blank">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>
 </blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic