Skip to main content

Download paper from arXiv

Project description

arXiv-dl

Command-line arXiv.org Papers Downloader

Features

This is a command-line tool, you just need to use Python3's pip to install the package, then, you will be able to use the following commands in your shell/terminal.

Commands

add-paper will do

  • Download paper named [id]_[title].pdf into destination folder.
  • Maintain a papers list named 000_Paper_List.json in the destination folder.
  • Extract paper metadata, like title, authors, abstract, bibtex, code, and write them into a new MarkDown document named [id]__Notes.md in the destination folder.

dl-paper will do

  • Download paper [id]_[title].pdf into destination folder.

Usage

To install the commands

$ pip install --upgrade arxiv-dl

To use the commands in your shell/terminal

$ add-paper "URL or ID"

# OR

$ dl-paper "URL or ID"

Usage Example:

$ add-paper 1512.03385

# OR
$ add-paper https://arxiv.org/abs/1512.03385

# OR
$ add-paper https://arxiv.org/pdf/1512.03385.pdf

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-0.1.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

arxiv_dl-0.1.0-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

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