Skip to main content

arxiv Parse library

Project description

Aioarxiv

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

license pypi python codecov black pyright ruff site pyright ruff pypi

Features

  • Asynchronous API calls for better performance
  • Customized configuration client
  • Flexible search and download capabilities
  • Customizable rate limiting and concurrent requests
  • Complete type hints and documentation

Installation

pip install aioarxiv

Quick Start

from aioarxiv.client.arxiv_client import ArxivClient
from aioarxiv.utils import logger


async def func():
    async with ArxivClient() as client:
        result = await client.search("ai", max_results=100)
        logger.info(f"Total results: {result.total_result}")

Configuration

You can configure the client by passing an instance of ArxivConfig to the ArxivClient constructor. Configuration in Dotenv file is also one of the options, it will automatically load the configuration from the environment variables.

from aioarxiv.config import ArxivConfig

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

Requirements

  • Python 3.9 or higher

License

MIT License (c) 2025 BalconyJH

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioarxiv-0.2.1.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioarxiv-0.2.1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file aioarxiv-0.2.1.tar.gz.

File metadata

  • Download URL: aioarxiv-0.2.1.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.23.0 CPython/3.9.21 Linux/6.8.0-1021-azure

File hashes

Hashes for aioarxiv-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c9d52eff4585d72e017ce60d860fabd640273465eee95e67801eae0007085383
MD5 5e9a2ccad92e8cfb4958516aecb08225
BLAKE2b-256 fc04e4189116a2ba92c741f75e3f4aba788d6120ecc33084e324715752c69fbf

See more details on using hashes here.

File details

Details for the file aioarxiv-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: aioarxiv-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.23.0 CPython/3.9.21 Linux/6.8.0-1021-azure

File hashes

Hashes for aioarxiv-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eea9afa5daf994b7723e92e50cc68de6af54279c66592b941e8b2b93cbffd1f4
MD5 d35f0c16981669d5714af1cadfa364f0
BLAKE2b-256 57b18b9ecf96d0fbc770cbeb9c61f777ce86104c8a7a9cecbe909a33f1b50ce4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page