Catalog PyPI
PACKAGE EXPLORERView in registry

ads2inspire

PyPI

Replace ADS citations with the appropriate INSPIRE ones in latex and bibtex

bibliographybibtexlatex
Versions collected1
Direct dependencies11From release 0.3.1
Last observed20 Oct, 19:51 UTC

README

Version 0.3.1 documentation

github PyPI version DOI Conda Version license

ads2inspire

Replace ADS citations with the appropriate INSPIRE ones in latex and bibtex

Why? Because ADS citation keys are not stable: they start out as something like 2019arXiv191207609s, and after being accepted to a journal turn into something like 2020PhRvD.101f4007S. This means you have to rewrite your latex, or you might even end up citing both entries!

Installation

From PyPI

In your Python environment run

python -m pip install ads2inspire

From conda-forge

In your conda environment run

conda install -c conda-forge ads2inspire

From this repository

In your Python environment from the top level of this repository run

python -m pip install .

From GitHub

In your Python environment run

python -m pip install "git+https://github.com/duetosymmetry/ads2inspire.git#egg=ads2inspire"

Usage

First latex/bibtex/latex your file, then run

ads2inspire [--backup] [--filter-type [ads|all]] [--fill-missing] auxfile.aux [texfile1.tex [texfile2.tex [...]]]

If your main tex file is named wonderful.tex, then your auxfile will be named wonderful.aux. ads2inspire will read the aux file, query INSPIRE, then rewrite all the texfiles named on the command line, and append to the first bibtex file named in auxfile. The option --backup will make the program write backups of the tex and bib files before rewriting them. The option --filter-type controls which keys to search for on INSPIRE: the default "ads" will only search for keys that look like ADS keys, while "all" will try all keys (aside from those that look like INSPIRE keys). The --fill-missing flag will query for INSPIRE-like keys that were referenced in the LaTeX source, but missing from the .bib file, and fill them into the .bib file if found.

Contributing

Note that I have done very little testing! Want to pitch in and help make this code better? Please fork and send me PRs!

TODO:

  • More testing
  • More filter types
  • more?

Citation

The preferred BibTeX entry for citation of ads2inspire is

@software{ads2inspire,
  author = "{Stein, Leo C. and Feickert, Matthew}",
  title = "{ads2inspire: v0.3.1}",
  version = {v0.3.1},
  doi = {10.5281/zenodo.3903987},
  url = {https://github.com/duetosymmetry/ads2inspire},
}

Downloads & popularity

3downloads
1-day window · source-reported counts20 Oct 2026
115.50
2026-07-23: 3 · observed 2026-10-21T09:05:22.1356692Z · period 2026-07-23–2026-07-232026-07-27: 3 · observed 2026-10-21T09:05:22.1356692Z · period 2026-07-27–2026-07-272026-07-29: 7 · observed 2026-10-21T09:05:22.1356692Z · period 2026-07-29–2026-07-292026-07-30: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-07-30–2026-07-302026-08-01: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-01–2026-08-012026-08-02: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-02–2026-08-022026-08-03: 6 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-03–2026-08-032026-08-04: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-04–2026-08-042026-08-05: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-05–2026-08-052026-08-07: 3 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-07–2026-08-072026-08-09: 5 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-09–2026-08-092026-08-12: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-12–2026-08-122026-08-13: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-13–2026-08-132026-08-14: 3 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-14–2026-08-142026-08-17: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-17–2026-08-172026-08-20: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-20–2026-08-202026-08-21: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-21–2026-08-212026-08-23: 3 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-23–2026-08-232026-08-24: 11 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-24–2026-08-242026-08-25: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-25–2026-08-252026-08-26: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-26–2026-08-262026-08-28: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-28–2026-08-282026-08-30: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-30–2026-08-302026-08-31: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-08-31–2026-08-312026-09-01: 3 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-01–2026-09-012026-09-07: 8 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-07–2026-09-072026-09-09: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-09–2026-09-092026-09-11: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-11–2026-09-112026-09-12: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-12–2026-09-122026-09-16: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-16–2026-09-162026-09-21: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-21–2026-09-212026-09-25: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-25–2026-09-252026-09-26: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-26–2026-09-262026-09-27: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-27–2026-09-272026-09-28: 8 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-28–2026-09-282026-09-29: 11 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-29–2026-09-292026-09-30: 8 · observed 2026-10-21T09:05:22.1356692Z · period 2026-09-30–2026-09-302026-10-01: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-01–2026-10-012026-10-02: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-02–2026-10-022026-10-06: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-06–2026-10-062026-10-08: 7 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-08–2026-10-082026-10-09: 4 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-09–2026-10-092026-10-10: 4 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-10–2026-10-102026-10-12: 4 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-12–2026-10-122026-10-13: 5 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-13–2026-10-132026-10-14: 3 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-14–2026-10-142026-10-15: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-15–2026-10-152026-10-16: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-16–2026-10-162026-10-17: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-17–2026-10-172026-10-18: 1 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-18–2026-10-182026-10-19: 2 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-19–2026-10-192026-10-20: 3 · observed 2026-10-21T09:05:22.1356692Z · period 2026-10-20–2026-10-20
23 Jul20 Oct

pypistats · 52 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-20 – 2026-10-2032026-10-21T09:05:22.1356692Z
2026-10-19 – 2026-10-1922026-10-21T09:05:22.1356692Z
2026-10-18 – 2026-10-1812026-10-21T09:05:22.1356692Z
2026-10-17 – 2026-10-1712026-10-21T09:05:22.1356692Z
2026-10-16 – 2026-10-1612026-10-21T09:05:22.1356692Z
2026-10-15 – 2026-10-1512026-10-21T09:05:22.1356692Z
2026-10-14 – 2026-10-1432026-10-21T09:05:22.1356692Z
2026-10-13 – 2026-10-1352026-10-21T09:05:22.1356692Z
2026-10-12 – 2026-10-1242026-10-21T09:05:22.1356692Z
2026-10-10 – 2026-10-1042026-10-21T09:05:22.1356692Z
2026-10-09 – 2026-10-0942026-10-21T09:05:22.1356692Z
2026-10-08 – 2026-10-0872026-10-21T09:05:22.1356692Z
2026-10-06 – 2026-10-0612026-10-21T09:05:22.1356692Z
2026-10-02 – 2026-10-0222026-10-21T09:05:22.1356692Z
2026-10-01 – 2026-10-0112026-10-21T09:05:22.1356692Z
2026-09-30 – 2026-09-3082026-10-21T09:05:22.1356692Z
2026-09-29 – 2026-09-29112026-10-21T09:05:22.1356692Z
2026-09-28 – 2026-09-2882026-10-21T09:05:22.1356692Z
2026-09-27 – 2026-09-2722026-10-21T09:05:22.1356692Z
2026-09-26 – 2026-09-2612026-10-21T09:05:22.1356692Z
2026-09-25 – 2026-09-2512026-10-21T09:05:22.1356692Z
2026-09-21 – 2026-09-2112026-10-21T09:05:22.1356692Z
2026-09-16 – 2026-09-1612026-10-21T09:05:22.1356692Z
2026-09-12 – 2026-09-1212026-10-21T09:05:22.1356692Z
2026-09-11 – 2026-09-1122026-10-21T09:05:22.1356692Z
2026-09-09 – 2026-09-0922026-10-21T09:05:22.1356692Z
2026-09-07 – 2026-09-0782026-10-21T09:05:22.1356692Z
2026-09-01 – 2026-09-0132026-10-21T09:05:22.1356692Z
2026-08-31 – 2026-08-3122026-10-21T09:05:22.1356692Z
2026-08-30 – 2026-08-3012026-10-21T09:05:22.1356692Z
2026-08-28 – 2026-08-2812026-10-21T09:05:22.1356692Z
2026-08-26 – 2026-08-2612026-10-21T09:05:22.1356692Z
2026-08-25 – 2026-08-2512026-10-21T09:05:22.1356692Z
2026-08-24 – 2026-08-24112026-10-21T09:05:22.1356692Z
2026-08-23 – 2026-08-2332026-10-21T09:05:22.1356692Z
2026-08-21 – 2026-08-2112026-10-21T09:05:22.1356692Z
2026-08-20 – 2026-08-2012026-10-21T09:05:22.1356692Z
2026-08-17 – 2026-08-1722026-10-21T09:05:22.1356692Z
2026-08-14 – 2026-08-1432026-10-21T09:05:22.1356692Z
2026-08-13 – 2026-08-1322026-10-21T09:05:22.1356692Z
2026-08-12 – 2026-08-1222026-10-21T09:05:22.1356692Z
2026-08-09 – 2026-08-0952026-10-21T09:05:22.1356692Z
2026-08-07 – 2026-08-0732026-10-21T09:05:22.1356692Z
2026-08-05 – 2026-08-0512026-10-21T09:05:22.1356692Z
2026-08-04 – 2026-08-0412026-10-21T09:05:22.1356692Z
2026-08-03 – 2026-08-0362026-10-21T09:05:22.1356692Z
2026-08-02 – 2026-08-0222026-10-21T09:05:22.1356692Z
2026-08-01 – 2026-08-0112026-10-21T09:05:22.1356692Z
2026-07-30 – 2026-07-3012026-10-21T09:05:22.1356692Z
2026-07-29 – 2026-07-2972026-10-21T09:05:22.1356692Z
2026-07-27 – 2026-07-2732026-10-21T09:05:22.1356692Z
2026-07-23 – 2026-07-2332026-10-21T09:05:22.1356692Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.3.14 Dec 202011

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
duetosymmetry/ads2inspire

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:51 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:27144267f8265272a6d859d113adc9056206e65091ddc2f1dbc88b27e308813f