Skip to main content

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

Links

Metadata

Release files for aioarxiv 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioarxiv 0.2.2
File Size Uploaded
aioarxiv-0.2.2.tar.gz 198.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioarxiv 0.2.2
File Interpreter ABI Platform
aioarxiv-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 226.4 kB

Release files / aioarxiv-0.2.2.tar.gz

Download URL aioarxiv-0.2.2.tar.gz
Size 198.2 kB
Tags Source
SHA-256 checksum
How to use checksums
51073f3bee13c5838ad8e270c372f9ea621a75d24f9332a5af67ee6fa4693177
BLAKE2b-256 checksum
How to use checksums
6a4be020940f845ec69b52557368d858e7db2d12f6c6f799678fda5db14c2ef6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release files / aioarxiv-0.2.2-py3-none-any.whl

Download URL aioarxiv-0.2.2-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63d70329c3bdd3a03a637997763a549db30adcccd85a6bf46cc6311a53776f94
BLAKE2b-256 checksum
How to use checksums
d961c75ce4c87863913ed8560f62155c8275852906ffd441d5f0d1a3d45413a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page