Skip to main content

AI-powered PDF annotation for research papers

Project description

PaperFlux

AI-powered PDF annotation for research papers. PaperFlux extracts exact quotations, organizes them by category (contributions, limitations, claims, evidence), and annotates your PDFs with precise highlights. It works with either OpenAI or Anthropic (Claude) models.

Quick Start

1. Installation

Install the latest release from PyPI:

python -m pip install paperflux

For local development from a cloned repository:

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

2. Set API Key

PaperFlux uses OpenAI by default. Set the key for the provider you plan to use:

# OpenAI (default)
export PAPERFLUX_OPENAI_API_KEY="sk-your-key"

# Anthropic (when provider: "anthropic")
export PAPERFLUX_ANTHROPIC_API_KEY="sk-ant-your-key"

Select the backend with the provider key in config.yaml ("openai" or "anthropic").

3. Run

paperflux init
paperflux --config config.yaml path/to/paper.pdf

Features

  • Pluggable LLM backend: OpenAI or Anthropic (Claude)
  • Batch processing: *.pdf
  • Three detail levels (low/medium/high)
  • RAG-based extraction with exact quotes
  • Color-coded highlights by category
  • Markdown summary with sticky note
  • Quote-match report with matched/skipped counts and scores
  • Layout-aware quote matching across column, table, figure, and caption interruptions
  • Stage-level CLI progress during extraction and annotation
  • Configurable prompts and colors

Documentation

For detailed setup, configuration options, and advanced usage, see the full documentation.

Contributing

Contributions welcome! Fork the repo, create a feature branch, and open a PR.

License

See LICENSE for details.

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

paperflux-4.1.20260613.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

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

paperflux-4.1.20260613-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file paperflux-4.1.20260613.tar.gz.

File metadata

  • Download URL: paperflux-4.1.20260613.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for paperflux-4.1.20260613.tar.gz
Algorithm Hash digest
SHA256 cd25eee97f64351dc75256563877596d34e863ee076aa562b2caa45aab764d89
MD5 64df95e9075dab9c34c09a787b342386
BLAKE2b-256 752bbb546e51b97c06bd17c71cebba9f543900c3daf657bc8043c358b05b6318

See more details on using hashes here.

Provenance

The following attestation bundles were made for paperflux-4.1.20260613.tar.gz:

Publisher: publish.yml on ehabets/PaperFlux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file paperflux-4.1.20260613-py3-none-any.whl.

File metadata

File hashes

Hashes for paperflux-4.1.20260613-py3-none-any.whl
Algorithm Hash digest
SHA256 2de077162071ac9cc2e814caedfc91775460a655ece267dc7d7d10e5d1dd7cac
MD5 f84d96f206a697f3ffcb9d56b9c842d4
BLAKE2b-256 8f6228f89765c8bbfaee169b2d56ff475ebc62cdcf30c09b155b5a5cb7864bdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for paperflux-4.1.20260613-py3-none-any.whl:

Publisher: publish.yml on ehabets/PaperFlux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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