<p dir="ltr">Okay. That sounds about right then! Go with python-irclib.</p>
<p dir="ltr">Thanks and Regards<br>
Aneesh Dogra<br>
--</p>
<p dir="ltr">Sent from my Galaxy Nexus</p>
<div class="gmail_quote">On Apr 21, 2013 1:04 AM, "Micha³ Poczwardowski" <<a href="mailto:dmp0x7c5@gmail.com">dmp0x7c5@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Aneesh,<br>
<br>
Thanks for your feedback! Your list of most important features will be<br>
really helpful during proposal writing.<br>
<br>
Before I start to prepare my proposal, I'll try to research available<br>
python IRC libraries. Note that mtime means last code modification in<br>
this case:<br>
<br>
pyirclib[1] - Whole implementation using 600 lines in single file.<br>
It's blocking and with not so many features (mtime: 2002-07-14).<br>
<br>
python-irclib[2] - Supports multiple simultaneous server connections.<br>
In my previous e-mail I mentioned this lib but provided link was<br>
outdated. It provides handy event-loop and It's in active development<br>
(mtime: 5 days ago[2]).<br>
<br>
oyoyo[4] - Small library, similar to pyirclib. (mtime: 10-10-2011).<br>
<br>
lurklib[5] - Small library described as thread-safe and event-driven.<br>
(mtime: 11 months ago)<br>
<br>
To sum up, The only library in active development is python-irclib.<br>
Its internals are written thread-safe and it suits all IRC Activity<br>
needs. IMHO, we should choose this one. :)<br>
<br>
Thanks,<br>
Michal<br>
<br>
[1] <a href="http://sourceforge.net/projects/pyirclib/" target="_blank">http://sourceforge.net/projects/pyirclib/</a><br>
[2] <a href="http://python-irclib.sourceforge.net" target="_blank">http://python-irclib.sourceforge.net</a><br>
[3] <a href="https://bitbucket.org/jaraco/irc/commits/all" target="_blank">https://bitbucket.org/jaraco/irc/commits/all</a><br>
[4] <a href="https://code.google.com/p/oyoyo/" target="_blank">https://code.google.com/p/oyoyo/</a><br>
[5] <a href="https://github.com/LK-/lurklib/" target="_blank">https://github.com/LK-/lurklib/</a><br>
<br>
On 20 April 2013 13:07, Aneesh Dogra <<a href="mailto:aneesh@sugarlabs.org">aneesh@sugarlabs.org</a>> wrote:<br>
> Hello Michal,<br>
><br>
> Great that you have decided to do a GSOC project for us. Thanks!<br>
> Please refer to my inline comments below.<br>
><br>
> On Sat, Apr 20, 2013 at 5:03 AM, Micha³ Poczwardowski <<a href="mailto:dmp0x7c5@gmail.com">dmp0x7c5@gmail.com</a>><br>
> wrote:<br>
>><br>
>> I'm a regular IRC user and have few new ideas regarding IRC Activity.<br>
>> As sugar channels reside at freenode, It would be nice to have<br>
>> NickServ support build-in. Also, when ordinary IRC users use screen<br>
>> with console client, It would be great to have awaylog that displays<br>
>> our hilights even when we are not present. This feature could be turn<br>
>> on only for registered nicks and some webservice + irclogs will be<br>
>> involved. For example: when user joins channel, IRC Activity could<br>
>> show all hilights since user's last visit, of course with reasonable<br>
>> time/messages limit.<br>
><br>
><br>
> This is a really nice idea. Definitely worth implementing. But I would deem<br>
> it as secondary, if time permits we could probably work on this. The most<br>
> important features to work on will be:<br>
><br>
> 1) Multithreading: The IRC Activity very slow when compared to other IRC<br>
> clients.<br>
> 2) Alert on highlight<br>
> 3) Whois info<br>
> 4) Backlog<br>
> 5) Multiple connections (presently you can only connect to one server, so if<br>
> I want to connect to 2 channels say one on mibbit and one on freenode. I<br>
> can't do that in IRC.)<br>
> 6) Theming (would like to add, but again its secondary)<br>
> 7) Encoding options. Not everyone speaks english on IRC, try going to a<br>
> chinese channel using the IRC activity and see what happens. Does it shows<br>
> the chinese characters properly? I haven't tested this myself, but I reckon<br>
> it won't work.<br>
> 8) Save chat history in journal. (Very very important)<br>
><br>
> I would encourage you to open up your favorite IRC client and check what<br>
> features it provides, and would it be useful if we add it in the IRC<br>
> Activity?<br>
><br>
>> I've found library[2] that could be used to replace deprecated Urk.<br>
>> Also implementing notifications and improving performance will be my<br>
>> priority.<br>
><br>
><br>
> The library you suggested, although better than urk, hasn't been updated<br>
> since 2012-09-29. Which makes me skeptical if this is the best alternate<br>
> available? Libraries tend to later act as bottlenecks. For eg: Urk makes<br>
> multithreading very difficult because it itself is single threaded. That's<br>
> why I want you select the best all-python irc library out there.<br>
><br>
>> I will be grateful if you could give me some feedback to ideas provided.<br>
>><br>
>> Thanks,<br>
>> Michal<br>
>><br>
>> [1] <a href="http://dmpgsoc.azalayah.net/" target="_blank">http://dmpgsoc.azalayah.net/</a><br>
>> [2] <a href="http://sourceforge.net/projects/python-irclib/files/" target="_blank">http://sourceforge.net/projects/python-irclib/files/</a><br>
>><br>
>> dmp@freenode<br>
><br>
><br>
</blockquote></div>