Skip to main content

Peneira: academic papers from many sources in one command

Project description

peneira

Tests

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.

Available sources

...and many more to come!

OpenAlex

Here are some details about this source:

This library obeys the rate limits of the OpenAlex API (10 requests per second).

Usage

CLI

You can interact with the CLI using pn. 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

Python module

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"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peneira-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

peneira-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file peneira-0.1.0.tar.gz.

File metadata

  • Download URL: peneira-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.3 Darwin/22.6.0

File hashes

Hashes for peneira-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e0d785ce1ded150694330137c64559830ab7696bb173f88ff8e07d4f0cfe8bd3
MD5 e615392fd9015f3b3f98666d7289bd20
BLAKE2b-256 f280aac6becbd8a6f1f1ce4fcf0cc5c8e171b8688e6a232ec7f7ad59782b4cc9

See more details on using hashes here.

File details

Details for the file peneira-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: peneira-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.3 Darwin/22.6.0

File hashes

Hashes for peneira-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1dc1a6cd07decf18d3342b6d65e7da277582b54c37db75ddeaba85d3c98e6d77
MD5 06b727b59779e8c7f08de6ee472d9785
BLAKE2b-256 069c82d11a26cbfe93d50716a0e4f497e7232bddbe66465fbdaf721f3ee738fb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page