Revision 7440a8bb4c7908156278b48504da32ae050ad381 authored by Daniel Himmelstein on 07 December 2018, 15:15:36 UTC, committed by GitHub on 07 December 2018, 15:15:36 UTC
Merges https://github.com/greenelab/manubot/pull/83

Add platform information and Manubot contact email to User-Agent header
used for API calls. On my system, get_manubot_user_agent returned:
manubot/0.2.1 (Linux; Python/3.6) <contact@manubot.org>

Move get_manubot_user_agent to util module.

Rate limit NCBI E-Utilities API calls to 3 per second to address status code 429.
https://ncbiinsights.ncbi.nlm.nih.gov/2017/11/02/new-api-keys-for-the-e-utilities/
Adds dependency on ratelimiter package:
- https://github.com/RazerM/ratelimiter
- https://pypi.org/project/ratelimiter/
1 parent 3318c8f
History
File Mode Size
manubot
media
release-notes
tests
.appveyor.yml -rw-r--r-- 620 bytes
.gitignore -rw-r--r-- 81 bytes
.travis.yml -rw-r--r-- 1.1 KB
LICENSE.md -rw-r--r-- 1.5 KB
MANIFEST.in -rw-r--r-- 27 bytes
README.md -rw-r--r-- 8.9 KB
setup.py -rw-r--r-- 2.0 KB

README.md

back to top