Catalog PyPI
PACKAGE EXPLORERView in registry

aioarxiv

PyPI

Asynchronous arXiv API client with rate limiting and paper downloads

aiohttpapi-clientarxivasyncio
Versions collected1
Direct dependencies12From release 0.2.2
Last observed21 Oct, 11:37 UTC

README

Version 0.2.2 documentation

Aioarxiv

An async Python client for the arXiv API with enhanced performance and flexible configuration options.

license pypi python codecov basedpyright ruff uv ci coverage docs downloads

[!WARNING] This project is currently under development and has not yet reached a stable release. We do not recommend using it in production environments.

Features

  • Asynchronous API calls for better performance
  • Customized configuration client
  • Flexible search and download capabilities
  • Rate limiting and concurrency control aligned with the arXiv API terms of use
  • Complete type hints (PEP 561) and documentation

Installation

pip install aioarxiv

Or with uv:

uv add aioarxiv

Quick Start

import asyncio

from aioarxiv import ArxivClient


async def main() -> None:
    async with ArxivClient() as client:
        result = await client.search("all:electron", max_results=10)
        print(f"Total results: {result.total_result}")
        for paper in result.papers:
            print(paper.info.title)


asyncio.run(main())

Configuration

You can configure the client by passing an instance of ArxivConfig to the ArxivClient constructor. Configuration in a dotenv file is also an option; values are loaded automatically from environment variables with the ARXIV_ prefix.

from aioarxiv import ArxivClient, ArxivConfig

config = ArxivConfig(
    proxy="http://127.0.0.1:10808",
    log_level="DEBUG",
    page_size=10,
)
client = ArxivClient(config=config)

Requirements

  • Python 3.10 or higher

License

MIT License (c) 2025 BalconyJH

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.231 Jul 202612

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
balconyjh/aioarxiv

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:37 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:0968c554e58c4e5e5ad94325f0d1b0b97ba75c661161a33c89ec16638b8878f0