Python API
This reference is generated from the current checkout. The GUI guide and CLI
reference describe user workflows; the modules below expose the corresponding
Python interfaces. Explicit module lists avoid importing the executable
adsfolio.cli.__main__ entry point during documentation discovery.
Client, configuration, and formatting
ADSfolio research library tools and NASA ADS client. |
|
Base HTTP client for NASA ADS with rate limiting and caching. |
|
Configuration and token management for NASA ADS. |
|
Read earlier application data without changing the source files. |
|
Global publication-profile settings for the current user. |
|
Persistent user-level cache for the user's ADS publication universe. |
|
Plain-text citation domain models, validation, and rendering. |
|
Resolve and format journal names from ADS bibstems. |
|
Qt-free local selection and ADS library synchronization helpers. |
ADS services and BibTeX
ADSfolio implements its own Python client using requests to call the
official NASA ADS API at https://api.adsabs.harvard.edu/v1.
The ADS team’s API documentation and examples
cover search, export, metrics, libraries, and journals.
That repository documents the service. It is not an installed client dependency.
API module exports. |
|
Search API wrapper for ADS. |
|
Export API wrapper for ADS. |
|
Libraries API wrapper for ADS. |
|
Metrics API wrapper for ADS. |
|
Journals API wrapper for ADS. |
|
BibTeX utilities module. |
|
BibTeX parsing utilities. |
|
Journal name formatting utilities. |
|
File I/O utilities for bibcode and BibTeX files. |
|
Repair malformed field values in ADS BibTeX exports. |
|
Local references with optional ADS identities and PDF attachments. |
|
Citation keys for BibTeX export, for papers inside and outside ADS. |
Publication lists and CLI
CLI package with lazy access to the Click command group. |
|
CLI command definitions and entry point for adsfolio. |
|
Import external references and export local bibliographies from the CLI. |
|
Public API for CV publication list generation. |
|
Configuration loading for |
|
Starter |
|
ADS query + classification helpers for |
|
Render ADS publication docs into LaTeX or Markdown CV fragments. |
|
User-defined CV templates for LaTeX, HTML, Markdown, or plain text. |
|
Renderer factory and style previews for |
|
Legend and section-label helpers for CV renderers. |
|
Click command group for |
PDF catalog and processing
PDF tooling for ADS metadata identification and organization. |
|
Sidecar JSON management for PDF identification metadata. |
|
Central local catalog for PDF attachments and observed file locations. |
|
Root-scoped views over the central PDF catalog. |
|
Match library search text against catalog records. |
|
Click command group for PDF identification and organization. |
|
Shared helpers for pdf CLI commands. |
|
Upgrade-specific CLI command for |
|
Derive arXiv identifiers from PDF file and ADS metadata records. |
|
Enumerate PDF files in a library directory. |
|
PDF-to-ADS record identification utilities. |
|
Match bibliographic reference hints against the current PDF's identity. |
|
Verify that a PDF is the paper that metadata claims it is. |
|
Corroborate PDF identity evidence from mutual DocInfo, text, and provider matches. |
|
Reversible repair of PDFs that are attached to the wrong paper. |
|
Metadata provider abstractions for DOI lookup. |
|
Metadata readiness verification for catalog records. |
|
Cached PDF identification workflow. |
|
Canonical settings shared by PDF Identify interfaces. |
|
Run one library's automatic identifier recheck in a separate process. |
|
Build a rename preview in a separate process for the desktop app. |
|
Canonical settings shared by PDF Rename interfaces. |
|
Template-based PDF renaming engine. |
|
PDF filesystem watcher with polling and optional watchdog backends. |
|
Pure Python watch session state machine and immutable event types. |
|
Filesystem moves kept consistent with the PDF catalog. |
|
Publication prefetch helpers to reduce first-run ADS query volume. |
|
Obsidian-friendly Markdown note generation for tracked PDFs. |
|
Annotation extraction and porting helpers for PDF upgrades. |
|
Move annotations between PDF editions of the same paper into a new copy. |
|
Find annotation locations locally for explicit review. |
|
arXiv-to-published PDF upgrade workflow. |
|
Utility models and helpers for arXiv upgrade workflow. |
Desktop GUI
These modules require the gui extra (PySide6). Importing them does not
launch a window. See App GUI guide for operation and Building the desktop app for
standalone bundle setup.
PySide6 desktop application for browsing local ADS PDF libraries. |
|
Application entry point for the ADSfolio desktop GUI. |
|
Show application information and the latest release check. |
|
Check GitHub for stable desktop releases without blocking the window. |
|
Show available releases, their changes, and the install path for this copy. |
|
First-run guide shown while no library folder has been added. |
|
Build a CV publication list in any text format from your ADS records. |
|
One window that exports library papers as BibTeX, citation text, or a list. |
|
Suggest field names and values while the user types a search query. |
|
Persistent configuration for the adsfolio desktop application. |
|
Qt-free data definitions for the PDF library table. |
|
Small stroke icons rendered as vectors using each widget's Qt palette. |
|
Qt models for the paged PDF library table. |
|
Main three-pane desktop window for the adsfolio PDF library. |
|
Editable, reorderable metadata detail pane for a selected PDF. |
|
Interactive review dialog for moving annotations between PDF editions. |
|
Offer reversible original-file cleanup after a verified PDF merge. |
|
Choose PDF editions using shared identifiers and explicit user review. |
|
Dialogs for identify and rename operations. |
|
Table and metadata-pane appearance preferences. |
|
Dialog for editing and managing custom citation styles. |
|
Dialogs for selecting and populating an ADS library. |
|
Dialog for exporting a complete ADS library. |
|
Add local references and export them without an ADS lookup. |
|
Thread-owned one-shot jobs for ADS library operations. |
|
Qt subprocess helpers for running the existing adsfolio CLI. |
|
Run a local library refresh without blocking the GUI. |
|
Desktop token setup using the existing per-user configuration. |
|
Compact non-modal notifications for the desktop GUI. |
|
Operating-system integration for opening and revealing library files. |
|
Thread-owned PDF watch workers and their GUI-thread controller. |