Arxix Export
Arxiv Export is a Python library that allows you to search, download, and manage scientific articles from arXiv.org. It is useful for automating paper downloads and obtaining structured information about articles.
Installation
pip install arxiv-export
Usage Example
import asyncio
from arxiv_export_documents import export_papers
async def main():
search_query = "quantum computing"
download_path = "./arxiv_papers"
max_results = 5
async for paper in export_papers(
search=search_query,
path_download=download_path,
max_results=max_results
):
print(f"Downloaded paper: {paper.title}")
print(f"Authors: {', '.join(paper.authors)}")
print(f"Summary: {paper.summary}")
print(f"Link: {paper.link}")
print(f"Path: {paper.path}")
print(f"Documents: {len(paper.documents)}")
print(f"Exists: {paper.is_exist}")
print("-" * 80)
if __name__ == "__main__":
asyncio.run(main())
Features
- Search for articles on arXiv using keywords.
- Automatically download article PDFs.
- Access metadata such as title, authors, abstract, link, and local path.
- Manage multiple results with a single command.
Main Parameters
search: search string (e.g.,"quantum computing").path_download: path to save the PDFs.max_results: maximum number of articles to download.
Vector Database for LLMs
The documents property provides a list of Document files intended for ingestion into a vector database. These files are commonly used to supply structured data to language models (LLMs), supporting semantic search and advanced analysis.
License
This library is distributed under the MIT license.
Metadata
Release files for arxiv-export-documents 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arxiv_export_documents-0.1.8.tar.gz | 6.2 kB | Without provenance | Details for arxiv_export_documents-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arxiv_export_documents-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for arxiv_export_documents-0.1.8-py3-none-any.whl |
Total release size: 12.8 kB
Release files / arxiv_export_documents-0.1.8.tar.gz
| Download URL | arxiv_export_documents-0.1.8.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c169fb60a7f41753e5c288b36987daf4f37001a3a9fc204360d9000fc5be4ae
|
|
BLAKE2b-256 checksum How to use checksums |
d438b8f664634bee2e09367f49e325e0e7756bbc092fe683f222d3b85d236325
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / arxiv_export_documents-0.1.8-py3-none-any.whl
| Download URL | arxiv_export_documents-0.1.8-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ea4c8733ba09b5a2d420c732209b1cffa8980398287235ca613bd991f414201
|
|
BLAKE2b-256 checksum How to use checksums |
15288fbb767b6b665ccd6cb0ef05190176286ec5fb7573776169b879eed1df34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Security for arxiv-export-documents 0.1.8
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.