How efranzin/citations works
This is a command-line tool for reporting citation counts and bibliometric indices for an INSPIRE-HEP author. The workflow parses options, loads a cached profile (downloading it when needed), filters records, and prints per-work and aggregate summaries. Separate calculation modules produce bibliometric indices and citation-distribution breakdowns. Edges are based on the shown calls and README; the local JSON cache is described in profile.py. The graph does not expand unsampled behavior beyond documented capabilities.
Main entry points: citations.py Citation CLI · profile.py Profile loader · parser.py Option parsing · config.ini CLI defaults
Components 10
Input and profile
- Citation CLI
citations.py - Option parsing
parser.py - CLI defaults
config.ini - Profile loader
profile.py - Local profile cache
Selection and analysis
- Record selection
selection.py - Bibliometric indices
metrics.py
Reporting
- Citation summaries
summary.py
Other components
- CLI user
- INSPIRE-HEP API
Connections 10
- CLI user → Citation CLI: runs
citations.py - Citation CLI → Option parsing: imports options
citations.py - Option parsing → CLI defaults: reads defaults
parser.py - Citation CLI → Profile loader: loads profile
citations.py - Profile loader → Local profile cache: reads or writes
profile.py - Profile loader → INSPIRE-HEP API: downloads records
profile.py - Profile loader → Citation CLI: returns records
citations.py - Citation CLI → Record selection: filters records
citations.py - Citation CLI → Bibliometric indices: computes indices
citations.py - Citation CLI → Citation summaries: prints summaries
citations.py