Skip to main content

A research automation tool for fetching, summarizing, and enhancing arXiv papers.

Project description

arxa

arxa is a tool to automatically generate research reviews from an arXiv paper or a local PDF. It even supports optional GitHub repository cloning and analysis if a GitHub URL is detected in the review.

Installation

You can install via pip:

pip install arxa

Then run it with the command-line interface as shown below.

Features

Generate a review for a single arXiv paper by providing its ID: arxa -aid 1234.5678 -o output.md

Generate a review from a local PDF file: arxa -pdf /path/to/paper.pdf -o output.md

Specify the LLM backend provider and model: arxa -pdf /path/to/paper.pdf -o output.md -p openai -m o3-mini

Enable GitHub cloning (disabled by default): arxa -pdf /path/to/paper.pdf -o output.md -g

Use a configuration file for additional settings: arxa -c config.yaml

Minimal Configuration (config.yaml)

This minimal config specifies only the directories used by arxa.

# config.yaml
papers_directory: "/tmp/arxa/papers"      # Directory to store or cache PDF files
output_directory: "/tmp/arxa/output"      # Directory where the generated reviews will be saved

Advanced Configuration (config_advanced.yaml)

This extended example includes additional settings such as LLM parameters and logging options, which you can modify according to your needs.

# config_advanced.yaml

# Directory where downloaded or generated PDF files will be stored
papers_directory: "/var/data/arxa/papers"

# Directory where output markdown reviews will be saved
output_directory: "/var/data/arxa/reviews"

# Optional LLM configuration settings
llm:
  provider: "openai"         # Options: "anthropic", "openai", "ollama"
  model: "o3-mini"           # Model identifier/version to be used for generating reviews
  max_prompt_tokens: 150000  # Maximum tokens to reserve for the prompt (if applicable)

# Logging configuration (customize as needed)
logging:
  level: "DEBUG"            # Options like: DEBUG, INFO, WARNING, etc.
  file: "/var/log/arxa.log"  # Log file path

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

arxa-0.1.6.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

arxa-0.1.6-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file arxa-0.1.6.tar.gz.

File metadata

  • Download URL: arxa-0.1.6.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for arxa-0.1.6.tar.gz
Algorithm Hash digest
SHA256 0ec0d39231fed46ab6220dbaa7b737aaaa8e027009de2e3c487e74e490ed2b3f
MD5 3ef65407795a054db9fef592923ccbce
BLAKE2b-256 bbb148b377b12aff0d587ad9029c21067d245a1b4f36eebd69ed722867349a07

See more details on using hashes here.

File details

Details for the file arxa-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: arxa-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for arxa-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 65d6230df093808d086bb145112fd132108000af566c9e73a33851f70065deda
MD5 b8fa1aa8aaf1d03e08621dffab433d38
BLAKE2b-256 6c9b6b7874ce6f574fed7be32a14f1e03ad4ab24bd3bbf9a389d603dff8b375d

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