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.

Files for arxiv-dl, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size arxiv_dl-1.0.3-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size arxiv-dl-1.0.3.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page