catalog / Research / arxiv.py — arXiv API Python Wrapper
ConnectorResearchFree

arxiv.py — arXiv API Python Wrapper

Pythonic client for the arXiv API: search, download, and stream 2M+ preprints by query, author, or ID.

Instalações36k
⟳ upstream 4.0.0 · updated 2mo ago
Repositório fonte
Grade A · 95/100 · SafeSecurity assessment
No compromise signals9capabilities surfaced1known CVE9of 20 OWASP controls clear
External endpoints declaredExternal endpoints declaredExternal endpoints declaredExternal endpoints declared
scanned 18d agoosv · gitleaks · opengrep · picklescan + heuristicsfull breakdown in the Security tab ↓

arxiv.py — arXiv API Python Wrapper

arxiv.py is a lightweight, well-maintained Python wrapper for the arXiv API, enabling agents and researchers to search, stream, and download papers from the largest open-access preprint repository with 2M+ papers.

Key features

  • Rich search with filters: category, date range, author, abstract keywords
  • Lazy streaming results — avoids loading full pages at once
  • Auto-retry on transient API errors
  • One-line PDF download
  • Typed Result objects with all metadata (DOI, categories, journal ref)

Quick start

pip install arxiv
import arxiv

search = arxiv.Search(
    query="large language models",
    max_results=5,
    sort_by=arxiv.SortCriterion.SubmittedDate
)
for r in arxiv.Client().results(search):
    print(r.title, r.pdf_url)
    r.download_pdf(dirpath="./papers")
npx ai-supply add arxiv-py-api-wrapper

Curated mirror of the open-source arxiv.py (MIT). Get it from the source.

More from @ai-supply

View profile →
Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
1.0M
Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
892k
Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
811k
Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
784k