Cross check the most recent arxiv mailing against a list of authors.
Project description
arxiv-checker
============
A Python module to search arXiv.org. You can cross check a list of authors or keywords against either the most recent arXiv mailing or a given month/year. Works with python 2.7 and python 3.
To install::
pip install arxiv-checker
To check the most recent mailings of several arXiv subjects against a list of authors::
import arxivchecker
papers = arxivchecker.check_authors(['astro-ph', 'gr-qc', 'physics'], ['Smith, John', 'Doe, Jane'])
When displayed, each paper lists the title, a clickable url link to the abstract, and the author list.
To check against a long list of names, use a file::
papers = arxivchecker.check_authors(['astro-ph', 'gr-qc', 'physics'], 'names.txt')
If instead of names, you want to check each paper against a list of keywords in the title and abstract use::
papers = arxivchecker.check_keywords('astro-ph', ['Planet Formation','Hot Jupiter'])
You can also grab all of the papers first using the scrape_arxiv function::
papers = arxivchecker.scrape_arxiv('astro-ph')
results = arxivchecker.check_authors_from_papers(papers, 'Doe, Jane')
Similarly, for checking keywords::
papers = arxivchecker.scrape_arxiv('astro-ph')
results = arxivchecker.check_keywords_from_papers(papers, ['GJ876','Gilese-876'])
If you want to grab all of the papers from a given month you can supply the year and month arguments::
papers = arxivchecker.scrape_arxiv('astro-ph',year=2016,month=6) # June 2016
papers = arxivchecker.scrape_arxiv('astro-ph',year=2016,month='May') # May 2016
Or grab all of the papers for a given year::
papers = arxivchecker.scrape_arxiv('astro-ph',year=2016,month='all')
Note however that this can take a while to complete (there could be more than 10,000 papers), and arXiv discourages against crawling through the website.
Finally, to run straight from the command line::
python -c "import arxivchecker; arxivchecker.check_authors('astro-ph', 'authors.txt') > results.txt
To email the results use the Unix mail command::
mail -s "Arxiv Mailing" email@gmail.com < results.txt
The arxivchecker requires the request and bs4 modules.
============
A Python module to search arXiv.org. You can cross check a list of authors or keywords against either the most recent arXiv mailing or a given month/year. Works with python 2.7 and python 3.
To install::
pip install arxiv-checker
To check the most recent mailings of several arXiv subjects against a list of authors::
import arxivchecker
papers = arxivchecker.check_authors(['astro-ph', 'gr-qc', 'physics'], ['Smith, John', 'Doe, Jane'])
When displayed, each paper lists the title, a clickable url link to the abstract, and the author list.
To check against a long list of names, use a file::
papers = arxivchecker.check_authors(['astro-ph', 'gr-qc', 'physics'], 'names.txt')
If instead of names, you want to check each paper against a list of keywords in the title and abstract use::
papers = arxivchecker.check_keywords('astro-ph', ['Planet Formation','Hot Jupiter'])
You can also grab all of the papers first using the scrape_arxiv function::
papers = arxivchecker.scrape_arxiv('astro-ph')
results = arxivchecker.check_authors_from_papers(papers, 'Doe, Jane')
Similarly, for checking keywords::
papers = arxivchecker.scrape_arxiv('astro-ph')
results = arxivchecker.check_keywords_from_papers(papers, ['GJ876','Gilese-876'])
If you want to grab all of the papers from a given month you can supply the year and month arguments::
papers = arxivchecker.scrape_arxiv('astro-ph',year=2016,month=6) # June 2016
papers = arxivchecker.scrape_arxiv('astro-ph',year=2016,month='May') # May 2016
Or grab all of the papers for a given year::
papers = arxivchecker.scrape_arxiv('astro-ph',year=2016,month='all')
Note however that this can take a while to complete (there could be more than 10,000 papers), and arXiv discourages against crawling through the website.
Finally, to run straight from the command line::
python -c "import arxivchecker; arxivchecker.check_authors('astro-ph', 'authors.txt') > results.txt
To email the results use the Unix mail command::
mail -s "Arxiv Mailing" email@gmail.com < results.txt
The arxivchecker requires the request and bs4 modules.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for arxiv_checker-1.4.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9141aec23ea23c9d5f1aac0f21b5f76fc08856b7c59efeee8191378f3029fce2 |
|
MD5 | 2c1106ff9ef4c93e6d6059b7a13623c5 |
|
BLAKE2b-256 | 3676280c7d4bc48b2a5bbd2e12042d390ddc8c28b7209a2a2b304d582035318b |