Skip to main content

arxiv-daily

PyPI version Python Version License

AI-powered arXiv research assistant - Beautiful terminal interface for tracking arXiv preprints and generating intelligent summaries with LLMs.

Build your own personal RAG (Retrieval-Augmented Generation) knowledge base - track daily papers, generate structured summaries with rich metadata, and export them to Markdown for seamless integration with vector databases, semantic search engines, and note-taking workflows like Obsidian.

Key capabilities:

  • Daily arXiv Updates: Fetch and filter the latest preprints from any arXiv channel.
  • AI-Powered Summaries: Generate structured, organized summaries using LLMs.
  • Paper Metadata: Fetch detailed metadata for any arXiv paper.
  • Beautiful Output: Colorful terminal output, syntax highlighting, and progress bars using the Rich library.
  • Smart Filtering: Filter by arXiv categories and channels for focused research.
  • Obsidian Integration: Export summaries as Markdown with frontmatter for knowledge management.

Quick Start

Install

Install the package from PyPI:

pip install arxiv-daily

Or install from source for development:

git clone https://github.com/GZU-MuTian/arxiv-daily.git
cd arxiv-daily
pip install -e .

To streamline usage and avoid repetitive CLI flags, we recommend configuring environment variables. This approach simplifies command execution and enhances security by avoiding credentials in command history.

# LLM Configuration (required)
DEEPSEEK_API_KEY="your-deepseek-api-key-here"

# Default arXiv categories (comma-separated)
export ARXIV_CATEGORY="cs.AI,astro-ph.HE,hep-ph"

# Default output directory for summaries (optional)
export ARXIV_SUMMARIZE_OUTPUT="/path/to/your/obsidian/vault"

# Default output directory for knowledge graph concepts (optional)
export ARXIV_EXTRACTOR_OUTPUT="/path/to/your/obsidian/vault/concepts"

Usage Guide

Command-Line Interface

arxiv-daily includes a CLI named arXiv.

Tip: Run arXiv --help for an overview, or arXiv <command> --help for command-specific options.

Fetch the latest preprints from any arXiv channel with beautiful terminal formatting:

# Get the latest papers in Astrophysics
arXiv new

# Specific channel (e.g., Computer Science - AI)
arXiv new --channel cs.AI

# Filter by multiple categories
arXiv new --channel astro-ph --category astro-ph.HE,astro-ph.IM

Fetch Paper Metadata:

# Get metadata for a specific paper
arXiv meta 2401.12345

# Supports various input formats
arXiv meta arXiv:2401.12345
arXiv meta arXiv:2401.12345v1

Generate AI Summaries:

# Basic summary with default model (DeepSeek)
arXiv summarize 2401.12345

# Specify model and provider
arXiv summarize 2401.12345 --model deepseek-chat --provider deepseek

# Short form
arXiv summarize 2401.12345 -m deepseek-chat -p deepseek -t 0.5

# Save to file (if ARXIV_SUMMARIZE_OUTPUT is set)
arXiv summarize 2401.12345

# Save to specific directory
arXiv summarize 2401.12345 -o /path/to/output

Extract Knowledge Graph Relationships:

# Basic extraction with default model (DeepSeek)
arXiv extractor 2401.12345

# Specify model and provider
arXiv extractor 2401.12345 --model deepseek-chat --provider deepseek

# Short form
arXiv extractor 2401.12345 -m deepseek-chat -p deepseek -t 0.5

# Save concept files to directory (if ARXIV_EXTRACTOR_OUTPUT is set)
arXiv extractor 2401.12345

# Save to specific directory
arXiv extractor 2401.12345 -o /path/to/concepts

The extractor command analyzes paper summaries and extracts key concepts with their relationships, creating a structured knowledge graph. Each concept is categorized and linked to the source paper, making it perfect for building a personal research knowledge base.

Obsidian Integration: When using the -o option, concepts are saved as individual Markdown files with:

  • YAML frontmatter for metadata
  • Obsidian-style links ([[arxiv-id]])
  • Automatic deduplication (same paper won't be added twice)

Adjust verbosity for debugging or quiet runs:

# Production - errors only (default)
arXiv --log-level ERROR new

# Short form for detailed debugging
arXiv -v DEBUG new

Knowledge Graph Extraction

The arXiv extractor command builds a structured knowledge base by extracting key concepts and relationships from academic papers.

Concept Categories

The extractor classifies concepts into these research domains:

  • galaxy-physics: Galaxy formation, evolution, dynamics
  • cosmology: Dark matter, cosmic microwave background, large-scale structure
  • earth-planetary: Exoplanets, planetary atmospheres, astrobiology
  • high-energy-astrophysics: Black holes, neutron stars, gamma-ray bursts
  • solar-stellar: Stellar evolution, solar physics, star formation
  • statistics-ai: Machine learning, statistical methods, neural networks
  • numerical-simulation: N-body simulations, hydrodynamics, radiative transfer
  • instrumental-design: Telescopes, spectrographs, detectors
  • astronomical-events: Supernovae, gravitational waves, fast radio bursts

Example Workflow

# 1. Generate summary first
arXiv summarize 2401.12345 -o ./summaries

# 2. Extract knowledge graph
arXiv extractor 2401.12345 -o ./concepts

Integration with Obsidian

The extractor is designed to work seamlessly with Obsidian:

  1. Backlinks: Use [[arxiv-id]] syntax for paper references
  2. Tags: Automatic tagging for easy filtering
  3. Graph View: Visualize connections between papers and concepts
  4. Search: Find all papers mentioning a specific concept

Project Structure

arxiv_daily/
├── agents.py        # LangGraph agents for complex summarization workflows
├── chains.py        # LangChain chains for LLM interactions (includes KnowledgeGraphExtractor)
├── cli.py           # Command-line interface built with Typer
├── core.py          # Core functions (_run_new, _run_summarize, _run_extractor)
├── llm_client.py    # Unified LLM provider interface
├── utils.py         # Utility functions
└── __init__.py

Contact

For questions and support:

Metadata

Release files for arxiv-daily 0.1.6

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

Source distribution (sdist)

Source distribution for arxiv-daily 0.1.6
File Size Uploaded Provenance Actions
arxiv_daily-0.1.6.tar.gz 270.9 kB Without provenance Details for arxiv_daily-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arxiv-daily 0.1.6
File Interpreter ABI Platform Actions
arxiv_daily-0.1.6-py3-none-any.whl Python 3 none any Details for arxiv_daily-0.1.6-py3-none-any.whl

Total release size: 296.6 kB

Release files / arxiv_daily-0.1.6.tar.gz

Download URL arxiv_daily-0.1.6.tar.gz
Size 270.9 kB
Tags Source
SHA-256 checksum
How to use checksums
677e103db849f56dcb7721ce4fed1a1965b628befc50704ecacb727472b4a0e1
BLAKE2b-256 checksum
How to use checksums
0450ecd76271df88a7c9e4675b4a39d4589acf2206c3c145337f2890fa4f7577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / arxiv_daily-0.1.6-py3-none-any.whl

Download URL arxiv_daily-0.1.6-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bff00718347ce51fe0c8f1d7b222d43654bda47493d17b41a14e0545b7b1401
BLAKE2b-256 checksum
How to use checksums
02b9c3da6f19d2915f64dd76d26bdc55ddac97b0aea098aaad8303093f26f257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for arxiv-daily 0.1.6

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.

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