{"id":25348544,"url":"https://github.com/markhershey/arxiv-dl","last_synced_at":"2025-10-04T23:18:32.755Z","repository":{"id":57411760,"uuid":"331538187","full_name":"MarkHershey/arxiv-dl","owner":"MarkHershey","description":"Command-line Paper Downloader for ArXiv, CVF (CVPR, ICCV, WACV) \u0026 ECVA (ECCV) ","archived":false,"fork":false,"pushed_at":"2024-11-29T05:58:21.000Z","size":616,"stargazers_count":44,"open_issues_count":4,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T12:06:58.517Z","etag":null,"topics":["arxiv","command-line-tool","cvpr","downloader","eccv","iccv","paper","paper-with-code","research-paper","wacv"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/arxiv-dl/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarkHershey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-21T06:38:52.000Z","updated_at":"2025-03-05T22:26:33.000Z","dependencies_parsed_at":"2023-09-28T09:57:25.626Z","dependency_job_id":"399ec384-a1fc-47a1-a341-6034a0c9aa9a","html_url":"https://github.com/MarkHershey/arxiv-dl","commit_stats":{"total_commits":56,"total_committers":2,"mean_commits":28.0,"dds":"0.017857142857142905","last_synced_commit":"74f3142f791f8bdff8240a8f7f476d199ec07d2f"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkHershey%2Farxiv-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkHershey%2Farxiv-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkHershey%2Farxiv-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkHershey%2Farxiv-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarkHershey","download_url":"https://codeload.github.com/MarkHershey/arxiv-dl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485287,"owners_count":20946398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arxiv","command-line-tool","cvpr","downloader","eccv","iccv","paper","paper-with-code","research-paper","wacv"],"created_at":"2025-02-14T15:39:03.250Z","updated_at":"2025-10-04T23:18:32.749Z","avatar_url":"https://github.com/MarkHershey.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arXiv-dl\n\nCommand-line Research Paper Downloader for [`arXiv.org`](https://arxiv.org/), [`ECVA`](https://www.ecva.net/papers.php) \u0026 [`CVF Open Access`](https://openaccess.thecvf.com/menu).\n\n[![](https://img.shields.io/pypi/v/arxiv-dl)](https://pypi.org/project/arxiv-dl/)\n[![](https://img.shields.io/pypi/dm/Arxiv-dl)](https://pypistats.org/packages/arxiv-dl)\n[![](https://img.shields.io/badge/code%20style-black-black)](https://github.com/psf/black)\n[![](https://img.shields.io/badge/license-MIT-black)](https://github.com/MarkHershey/arxiv-dl/blob/master/LICENSE)\n\n_Disclaimer: This is a highly-opinionated command-line tool for downloading papers. It priorities ease of use for researchers. Obviously, this is not an ArXiv official project._\n\n![](imgs/demo_v1.2.0.png)\n\n## What does it do?\n\n-   Support downloading papers from [arXiv](https://arxiv.org/), [ECCV](https://www.ecva.net/papers.php), [CVPR, ICCV, WACV](https://openaccess.thecvf.com/menu) via simple CLI.\n-   Support downloading speedup by using [aria2](https://aria2.github.io/).\n-   Retrieve the paper's metadata such as:\n    -   Title, Abstract, Year\n    -   Authors\n    -   Comments (Conference acceptance info)\n    -   Repository URLs\n    -   `BibTeX` Citation\n-   Automatically maintain a list of local papers and their metadata in a JSON file.\n-   Configure the desired download destination via an environment variable or a command-line argument.\n-   All downloaded papers will have standardized filename for easy browsing.\n\n## Why?\n\n-   Save time and effort to download and organize papers on your machine.\n-   Speedup downloading process by using multiple parallel connections.\n-   Local paper list would be handy for quick local lookup, making notes, and doing citations.\n\n## How to install it?\n\nThis is a command-line tool, simply use `pip` to install the package globally, then you are good to go!\n\n-   Pre-requisite: `Python 3.x`\n\n```bash\npython3 -m pip install -U arxiv-dl\n```\n\n\u003e [!NOTE]\n\u003e After installation, you need to ensure the installation path is included in your PATH environment variable (tips: [here](https://github.com/MarkHershey/arxiv-dl/issues/16#issue-3266539938)). If you encounter any difficulty finding / setting the PATH, there is this recommended way of [installing stand alone command line tools](https://packaging.python.org/en/latest/guides/installing-stand-alone-command-line-tools/), kindly follow its instruction when installing `arxiv-dl`.\n\nOptionally, install [aria2c](https://aria2.github.io/) for multi-connection download speedup.\n\n-   MacOS: `brew install aria2`\n-   Linux: `sudo snap install aria2c`\n\n## How to use it?\n\nAfter installation, you may use the command `paper` in your shell to download papers. \n(Legacy commands `arxiv-dl` and `getpaper` are equivalent to the command `paper`.)\n\n```bash\npaper [OPTIONS] TARGET(s)\n```\n\n### Use in your shell:\n\n```bash\n# download a single TARGET\n$ paper 1512.03385\n\n# download multiple TARGETs separated by space\n$ paper 2103.15538 2304.04415 https://arxiv.org/abs/1512.03385\n```\n\n### Supported types of download TARGETs:\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eClick to expand\u003c/strong\u003e\u003c/summary\u003e\n\n✅ Supported, 🚧 Not Yet Supported, ❌ Not Supported\n\n-   **[ArXiv](https://arxiv.org/)** \n    -   ✅ ArXiv ID: `1512.03385` or `arXiv:1512.03385`\n    -   ✅ Legacy ArXiv ID: `alg-geom/9708001` or `cs/0002001`, etc.\n    -   ✅ ArXiv Abstract Page URL: `https://arxiv.org/abs/1512.03385` \n    -   ✅ ArXiv PDF Page URL: `https://arxiv.org/pdf/1512.03385.pdf`\n    -   ✅ ArXiv HTML Page URL: `https://arxiv.org/html/2506.15442`\n-   **[CVF Open Access](https://openaccess.thecvf.com/menu) (CVPR, ICCV, WACV)**\n    -   ✅ CVF Abstract Page URL: `https://openaccess.thecvf.com/content/**/html/**/*.html`\n    -   ✅ CVF PDF Page URL: `https://openaccess.thecvf.com/content/**/papers/**/*.pdf`\n-   **[ECVA](https://www.ecva.net/papers.php) (ECCV)** \n    -   ✅ ECVA Abstract Page URL: `https://www.ecva.net/html/**/*.php`\n    -   ❌ ECVA PDF Page URL: `https://www.ecva.net/papers/**/*.pdf`\n-   **[NeurIPS](https://papers.nips.cc/)**\n    -   🚧 NeurIPS Abstract Page URL\n    -   🚧 NeurIPS PDF Page URL\n-   **[OpenReview](https://openreview.net/)**\n    -   🚧 TODO\n\u003c/details\u003e\n\n### Frequently used OPTIONS:\n\n-   `-v`, `--verbose` (optional): set to verbose, print full details.\n-   `-d`, `--download-dir` (optional): Specify one-time download directory. This option will override the default download directory or the one specified in the environment variable `ARXIV_DOWNLOAD_FOLDER`.\n-   `-n`, `--n-threads` (optional): Specify the number of parallel connections to be used by `aria2`. \n\n\u003e [!TIP]\n\u003e more options are available, run `paper -h` to see all options.\n\n### Use it in your code:\n\n```python\nfrom arxiv_dl import download_paper\n\ndownload_paper(target=\"1512.03385\", download_dir=\".\", set_verbose_level=\"silent\")\n```\n\n\n## Configurations\n\n### Default Download Destination\n\n-   Without any configurations, all paper will be downloaded to `$HOME/Downloads/ArXiv_Papers`, where `$HOME` is current user's home directory.\n\n### Set Your Custom Download Destination _(Optional)_\n\nYou may configure your preferred download destination once and for all via an environment variable. This will override the default download destination. To do that, include the following line in your `.bashrc` or `.zshrc` file:\n\n```bash\nexport ARXIV_DOWNLOAD_FOLDER=\"YOUR/PATH/TO/ANY/FOLDER\"\n```\n\n-   Every time you use the `paper` command, the download destination will be set to the following order of priority:\n    1.  Command-line option `-d` (highest priority)\n    2.  Environment variable `ARXIV_DOWNLOAD_FOLDER`\n    3.  Default download destination (lowest priority)\n\n### Set Custom Command Alias _(Optional)_\n\n-   You can always set your own preferred alias to rename the command or add more options.\n-   Include the following line(s) in your `.bashrc` or `.zshrc` file to set your preferred alias:\n    ```bash\n    alias dp=\"paper\"\n    alias dpv=\"paper -v -d '~/Documents/Papers'\"\n    ```\n\n## Development\n\n### Set up development environment\n\n```bash\n# create a virtual environment\npython3 -m venv venv \u0026\u0026 source venv/bin/activate\n\n# install dependencies\npip install -U -r requirements.txt\n\n# install the package in editable mode \u0026 dev dependencies\npip install -e \".[dev]\"\n```\n\n### Run Tests\n\n```bash\npytest\n```\n\n### Build the package\n\n```bash\nmake\n```\n\n### Clean cache \u0026 build artifacts\n\n```bash\nmake clean\n```\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/MarkHershey/arxiv-dl/blob/master/LICENSE).  \n\u0026copy; Mark H. Huang. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkhershey%2Farxiv-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkhershey%2Farxiv-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkhershey%2Farxiv-dl/lists"}