INSPIRE tools
This Python 3 package provides two scripts, auxtobib and blgtobib, which take a LaTeX .aux or .blg file as input.
auxtobib fetches the bibtex entries for all the articles cited in the document from
INSPIRE. blgtobib does the same, but only fetches those entries which are missing.
Installation
To install the package in your home directory, run
python3 -m pip install inspiretools --user
Requirements
The script requires Python 3.5+.
Usage
Given a LaTeX .aux file, simply execute
auxtobib paper.aux
and the bibtex entries will be printed to stdout. If you want to save them
into a .bib file, simply use
auxtobib paper.aux > bibliography.bib
The script blgtobib will fetch only bibtex entries which are not already in
the .bib file associated with your project. It uses the bibtex log file
associated with the LaTeX project. For example,
blgtobib paper.blg >> bibliography.bib
will append new entries to bibliography.bib.
By default, both commands use the current TeX key returned by INSPIRE. Pass
--keep-old-texkeys to preserve the original key from the .aux or .blg file.
Metadata
Release files for inspiretools 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inspiretools-0.4.tar.gz | 5.6 kB | Without provenance | Details for inspiretools-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inspiretools-0.4-py3-none-any.whl | Python 3 | none | any | Details for inspiretools-0.4-py3-none-any.whl |
Total release size: 11.1 kB
Release files / inspiretools-0.4.tar.gz
| Download URL | inspiretools-0.4.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a63a592099191b4a71d62b3fd3c7659bdad976c4c400b5470c58c52d6b0b84f3
|
|
BLAKE2b-256 checksum How to use checksums |
31f18a1a187338b6b1c28565e521fa01dd150d3573a5f141d4959645ca68c0a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / inspiretools-0.4-py3-none-any.whl
| Download URL | inspiretools-0.4-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd2c540344448456142bbab48f22cadd21a0bd5aa4ceb1f8b4b87a3c95cef1e6
|
|
BLAKE2b-256 checksum How to use checksums |
64c68fecbf18b9c2f61596a4759b3c0868130af2444bbab3235423e9f78257a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for inspiretools 0.4
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.