Skip to main content

Command-line and Python API to download PDFs directly from Sci-Hub

Project description

pyscihub

https://img.shields.io/pypi/v/pyscihub.svg https://img.shields.io/travis/markkvdb/pyscihub.svg Documentation Status

Command-line and Python API to download PDFs directly from Sci-Hub

Features

  • Download 1,000s of academic articles without an academic account in one command

  • Add new articles to the list without downloading existing articles twice

  • Save important time looking up and downloading articles

Installation

To install pyscihub, run this command in your terminal:

$ pip install pyscihub

This is the preferred method to install pyscihub, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

Usage

Tool can be used with a single query, e.g.,

$ pyscihub single "Your paper"

or with a user-provided file containing one query per line as

$ pyscihub file <LOCATION FILE>

If everything goes well, a file output/pdf_paths.csv is created containing the location of the PDFs of all requested queries. If Sci-Hub cannot find the corresponding PDF then the field is empty.

History

0.1.2 (2020-10-20)

  • Add API documentation.

  • Formulate docstrings for all member functions.

  • Add section with features to README.

0.1.0 (2020-10-20)

  • First release on PyPI.

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

pyscihub-0.1.2.tar.gz (1.6 MB view details)

Uploaded Source

File details

Details for the file pyscihub-0.1.2.tar.gz.

File metadata

  • Download URL: pyscihub-0.1.2.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for pyscihub-0.1.2.tar.gz
Algorithm Hash digest
SHA256 874c9bc247e91ab7d355a8ffef9c225ec65e1b061398d0d26d28590913f1643a
MD5 16d80a8f4a33f13a2882d308158e0f7b
BLAKE2b-256 42f3a8aeab2e46da48b1fc8e6e5aa4a5f6b0430d2e07a8023f95ebae7ec2935d

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