It's time to sift through some articles ðŸ¤
With this CLI you can search for papers for your research in different sources and export the results.
DISCLAIMER: This is a work in progress. The code is under active development and it's not ready for production use.
...and many more to come! Feel free to contribute. There is a world of papers out there!
Here are some details about this source:
- OpenAlex data sources
- OpenAlex search syntax
- Open Alex filters
- Open Alex rate limits and authentication
This library obeys the rate limits of the OpenAlex API (10 requests per second).
You can interact with the CLI using peneira
. For example, to search for papers on
"artificial intelligence" and "syndromic surveillance" and save the results to a file, you can run:
peneira '"artificial intelligence" and "syndromic surveillance"' --filename my-papers.json
It will search for papers in OpenAlex and store it in a file named my-papers.json
.
You have also the option of export it to a bibtex file:
peneira '"artificial intelligence" and "public health"' --format bibtex --filename my-papers.bib
In case you want to call the OpenAlex source directly, you can use the following code:
import asyncio
from peneira.sources.open_alex import fetch_papers
asyncio.run(fetch_papers("artificial intelligence AND public health"))