--- id: arxiv version: "4.0.1" license: MIT license_treatment: permissive maintenance: active --- # arxiv — Python wrapper for the arXiv API License: permissive · Maintenance: active · Downloads: 19.6M/mo ## What it is and what it does arxiv is a Python wrapper around the arXiv API that lets you search the Cornell University Library's preprint repository and retrieve paper metadata. It abstracts away HTTP request handling, XML parsing, and pagination logic, exposing a simple Client-Search-Result interface. You construct a Search with a query string (supporting arXiv's advanced syntax), pass it to a Client, and iterate over Result objects containing title, authors, abstract, PDF URL, and other metadata. The package is designed for researchers, data scientists, and developers who need programmatic access to arXiv papers. It handles connection pooling, configurable retry logic, and rate limiting through client-side delays. You can search by keyword, author, title, or paper ID; download PDFs and source tarballs; and customize pagination and retry behavior for different use cases. Use it for: - Build a research paper recommendation system by querying arXiv for papers matching specific topics and analyzing their metadata. - Automate literature review by searching for papers in your field and downloading abstracts or full PDFs for batch processing. - Monitor new preprints in a research area by running periodic searches and storing results in a database. - Fetch paper metadata for citation analysis or bibliographic tools that need to enrich records with arXiv information. - Create a personal paper library by searching and downloading papers matching your interests into local storage. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a Python interface to search, retrieve metadata, and download papers from the arXiv preprint repository, handling API pagination, retries, and result parsing. Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and is widely used (top 5000 PyPI packages). MIT licensing imposes no restrictions. Install it if you need programmatic access to arXiv papers; the API is straightforward and the dependency footprint is small. ## Install pip install arxiv uv add arxiv poetry add arxiv ## Installing arxiv Before you install: Low friction install with three lightweight runtime dependencies (lxml, requests, typing-extensions). Active maintenance with a release 14 days ago and last commit on 2026-07-31; repository has 1541 stars and is not archived. License in practice: MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice. Quickstart: pip install arxiv import arxiv client = arxiv.Client() search = arxiv.Search(query="quantum", max_results=10) for result in client.results(search): print(result.title) Requires Python 3.10 or later. Verify before relying: - Rate-limiting behavior and whether arXiv's API enforces throttling that would affect bulk queries. - Whether the package handles arXiv API outages or maintenance windows gracefully. - Performance characteristics when fetching large result sets or complex queries. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 19.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags arxiv paper search api, fetch arxiv papers python, arxiv metadata retrieval, arxiv query wrapper, download arxiv preprints, arxiv api client, search academic papers, academic-search, api-wrapper, metadata-retrieval [View on SkillFed](https://skillfed.io/packages/arxiv) · [View on PyPI](https://pypi.org/project/arxiv/)