A command line interface to download PDF files from https://arxiv.org.
Project description
arxiv-downloader: The arXiv PDF Command-Line Interface Downloader
Installation
arxiv-downloader is available via PyPi:
pip install arxiv-downloader
Examples
Download a PDF using a URL:
arxiv-downloader https://arxiv.org/pdf/2302.06544.pdf
Download a PDF using an ID:
arxiv-downloader 2302.06544
Download a PDF into a directory:
arxiv-downloader https://arxiv.org/pdf/2302.06544.pdf -d ./pdfs
Download a PDF and its source files (as .tar.gz
archive):
arxiv-downloader https://arxiv.org/pdf/2302.06544.pdf -s
Usage
To see all available options, use the help command:
arxiv-downloader -h
This will display usage information similar to the following:
usage: arxiv-downloader [-h] [-d DIRECTORY] [-s] [url_or_id]
Download articles from arXiv.
positional arguments:
url_or_id The URL or ID of the arXiv article. (default: None)
options:
-h, --help show this help message and exit
-d DIRECTORY, --directory DIRECTORY
The directory where the article will be downloaded. (default: ./)
-s, --source Also download the source files of the article. (default: False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file arxiv-downloader-1.0.0.tar.gz
.
File metadata
- Download URL: arxiv-downloader-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7db075e331d3d1a07b50027587b91234be48ccb3a82d84be9e8dc4ac44e9665a |
|
MD5 | 48df9f2acc827f02ca32ef9a2348f24a |
|
BLAKE2b-256 | 27cd669549d3d6195d86cc5504c7a9054c16546cc5158e6d1b71d4f242756885 |
File details
Details for the file arxiv_downloader-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: arxiv_downloader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f38c60dfe0fe9feb3a250d44fa532f4badca6b32eb3533323c575e3ecbd2a5c4 |
|
MD5 | 5f36f7dd3f2f06857e67f9e48d57e261 |
|
BLAKE2b-256 | 5dfc9fef36dc6b9efb91cc3b8275259ffb25ee7cff7c9e6662eb3ad768a810c4 |