- Sep 07, 2020
-
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
Make test and coverage work See merge request !1
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
Oliver Falk authored
-
- Aug 10, 2020
-
-
Oliver Falk authored
-
Oliver Falk authored
* LICENSE: Add AGPL LICENSE * Makefile: Use pycodestyle/pydocstyle instead of pep8/pep257 * libravatar.py: Correct some issues detected by pycodestyle/pydocstyle * tests/federation.py: Random number generator change behavior - therefore need to change the exepected result * requirements.txt: Add reqs to easier install a working env
-
- Mar 14, 2016
-
-
Francois Marier authored
-
- Feb 07, 2016
-
-
Stefano Rivera authored
-
- Sep 19, 2015
-
-
Francois Marier authored
-
- Aug 02, 2015
-
-
Francois Marier authored
-
- Jun 28, 2015
-
-
Francois Marier authored
-
Francois Marier authored
-
Francois Marier authored
-
- Jun 26, 2015
-
-
Ralph Bean authored
By default, the DNS module is using udp. I discovered this because it would periodically time out on our server -- requests would sometimes take 30s that would normally take less than 1s. I'd like to use tcp for our use case in order to avoid timeouts. However, that alone is not reason enough to ask everyone else to use tcp. They may want udp. It is faster, right? While playing with this, I found that on average tcp is repeatably faster than udp for these kinds of requests. See tcp: $ time python -c """ import DNS DNS.DiscoverNameServers() [DNS.Request(name='_avatars._tcp.ralph.id.fedoraproject.org', qtype='SRV', protocol='tcp').req() for i in range(128)] """ python -c 0.10s user 0.03s system 10% cpu 1.270 total Versus udp: $ time python -c """ import DNS DNS.DiscoverNameServers() [DNS.Request(name='_avatars._tcp.ralph.id.fedoraproject.org', qtype='SRV', protocol='udp').req() for i in range(128)] """ python -c 0.24s user 0.11s system 3% cpu 9.514 total Which makes it a more suitable default for libravatar.py, no?
-
- Sep 01, 2014
-
-
unknown authored
To make sure that we don't introduce a problem similar to the one that was in the main Libravatar codebase: https://bugs.launchpad.net/libravatar/+bug/1363804
-
unknown authored
-
- Sep 24, 2013
-
-
Francois Marier authored
-
Francois Marier authored
-
Francois Marier authored
Thanks to Ralph Bean for the patch!
-
- Dec 05, 2011
-
-
- Nov 17, 2011
-
-
Francois Marier authored
-