Skip to main content

Command-line arXiv.org Papers Downloader. Citation extraction and PDF naming automation.

Project description

arXiv-dl

Command-line arXiv Paper Downloader. [PyPI] [Source]

Features

  • Download Papers from arXiv.org via command line interface.
  • Name the downloaded Paper by its arXiv ID and title without whitespace.
  • Retrieve the Paper's metadata and save them in a corresponding MarkDown document:
    • Paper Title
    • Authors
    • Abstract
    • Comments (Conference acceptance info)
    • Source Code Links
    • Citation (BibTeX)
  • Configure the desired download destination via environment variables.

Install

This is a command-line tool, you just need to use pip to install the package, then, you will be able to use the command getpaper in your terminal.

  • Pre-requisite: Python 3
pip install arxiv-dl

Usage

$ getpaper "URL or ID"

Example:

$ getpaper 1512.03385

# OR
$ getpaper https://arxiv.org/abs/1512.03385

# OR
$ getpaper https://arxiv.org/pdf/1512.03385.pdf

Deprecating Commands:

  • add-paper
  • dl-paper

Configuration (Optional)

Set Custom Download Destination Folder (Optional)

  • Let's say you want your papers get downloaded into ~/Documents/Papers.
  • Make sure the folder ~/Documents/Papers exists.
  • Set the environment variable ARXIV_DOWNLOAD_FOLDER to your desired location.
    export ARXIV_DOWNLOAD_FOLDER=~/Documents/Papers
    
  • If the environment variable is not set, paper will be downloaded into the default Download Destination ~/Downloads/ArXiv_Papers.

License

MIT License - Copyright (c) 2021 Mark Huang

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

arxiv-dl-1.0.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

arxiv_dl-1.0.3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file arxiv-dl-1.0.3.tar.gz.

File metadata

  • Download URL: arxiv-dl-1.0.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

File hashes

Hashes for arxiv-dl-1.0.3.tar.gz
Algorithm Hash digest
SHA256 06d64605d899b16dcbc4c9b38edb5b8d47d6eadb107b5a30362cd09bac4fee53
MD5 5a38f7e28d946b84084e920e1142d0b2
BLAKE2b-256 99a7e3d79d71f4f8b30739022ff3575cfd1bbea67c0162b6fe908693ecea9d17

See more details on using hashes here.

File details

Details for the file arxiv_dl-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: arxiv_dl-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

File hashes

Hashes for arxiv_dl-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6f84a2f613c11c1eac88e3c9e2713bccd9fc39a975195f2b28200ee44035d7f7
MD5 c803934c1d819417e8aa7bce3f0bb1cc
BLAKE2b-256 e1a09dc033946dc8779025182dece3482479fc73c12f69ee42551ce90e94a8c0

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