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 Paper from arXiv.org via command line interface.
  • Name downloaded Paper by its arXiv ID and title without whitespace.
  • Retrieve Paper metadata and save them in a corresponding MarkDown document:
    • Paper Title
    • Authors
    • Abstract
    • Comments (Conference acceptance info)
    • Source Code Links
    • Citation (BibTeX)
  • Configure 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-0.2.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

arxiv_dl-0.2.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arxiv-dl-0.2.0.tar.gz
  • Upload date:
  • Size: 7.0 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-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0bc35e6a49df3ef051dab8b4dcc6f8db3a37a8070a061864b9d16c286fa5adee
MD5 ac7db6c9e6f18789df29cdf9490115b9
BLAKE2b-256 dd69b7271c020b7c5413d1accd4e93d7c47288876a87afbb23237714cc508066

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arxiv_dl-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c13430369b387b403d68d2b290917d274776700703019d6d5a074f87c54d5f6
MD5 812e6691ed7ae9cf7c45c87d0ad80501
BLAKE2b-256 8fe6d52b9586145cd065257ff812e8cf754d69c80607ae2bd83f5b139d85df33

See more details on using hashes here.

Supported by

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