Skip to main content

getpaper - papers download made easy!

Project description

getpaper

Paper downloader

getting started

Install the library with:

pip install getpaper

Usage

Downloading papers

After the installation you can either import the library into your python code or you can use the console scripts, for example:

download download download_pubmed --pubmed 22266545 --folder papers --name pmid

Downloads the paper with pubmed id into the folder 'papers' and uses the pubmed id as name

download download download_doi --doi 10.1519/JSC.0b013e318225bbae --folder papers

Downloads the paper with DOI into the folder papers, as --name is not specified doi is used as name

Parsing the papers

You can parse the downloaded papers with the unstructure library. For example if the papers are in the folder test, you can run:

getpaper/parse.py parse_folder --folder /home/antonkulaga/sources/getpaper/test

You can also parse papers on a per file basis, for example:

getpaper/parse.py parse_paper --paper /home/antonkulaga/sources/getpaper/test/22266545.pdf

Additional requirements

Detectron2 is required for using models from the layoutparser model zoo but is not automatically installed with this package. For MacOS and Linux, build from source with:

pip install 'git+https://github.com/facebookresearch/detectron2.git@e2ce8dc#egg=detectron2'

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

getpaper-0.0.5.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

getpaper-0.0.5-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file getpaper-0.0.5.tar.gz.

File metadata

  • Download URL: getpaper-0.0.5.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for getpaper-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b928b3acb1339519658b17896320c3ae294288bbaf3d1e427108dd28d549924c
MD5 6bda8147930c22e811911efb927ec248
BLAKE2b-256 b3eceab958c4026faead843157928340cdef782cc692e76b6db4e36c33f09fe8

See more details on using hashes here.

File details

Details for the file getpaper-0.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: getpaper-0.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for getpaper-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0766f5c611e285d40f0b0c5514ebfd7bba4f7dc1264d5d3e3e4fd69fb3829bc6
MD5 bbfdec2077552b78461a19cee6bf9ab8
BLAKE2b-256 e043775dc02ff0632a773b7f1bcb125e5edcf2fd0cbef692ca88664bb281213b

See more details on using hashes here.

Supported by

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