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.
Metadata
Release files for inspiretools 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| inspiretools-0.3.tar.gz | 3.5 kB | Details |
Release files / inspiretools-0.3.tar.gz
| Download URL | inspiretools-0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ee2e7cd2b1be0f17a331175391f409643cd2ad885d42135874d15affc816d1f
|
|
BLAKE2b-256 checksum How to use checksums |
740254809f1c7da4ab507a2fff31295c123bdf57efd5fda7ef2cc0e85e8c0a00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5
|