Create and validate publication lists from INSPIREHEP and generate LaTeX/PDF output
Project description
ListOfPublicationsFromInspireHEP
Create a list of publications from InspireHEP and produce a LaTeX document and a PDF. This tool can be useful when the list is very long and there are some LaTeX errors in the BibTeX entries.
Run it
The simplest way to run the CLI commands once without installing them is uvx:
uvx listofpublicationsfrominspirehep -h
uvx listofpublicationsfrominspirehep check-biblio -h
Install
The simplest persistent install for end users is pipx:
pipx install listofpublicationsfrominspirehep
After installation, all commands are available:
listofpublications --help
listofpublications check-biblio --help
listofpublications create-bibtex --help
listofpublications create-latex --help
Legacy individual commands are also available (backward compatible):
check_biblio --help
create_bibtex --help
create_latex --help
From a local checkout, you can still install it with pip in editable mode:
python -m pip install -e .
Requirements
To generate the final PDF you need a working LaTeX toolchain with pdflatex and bibtex available in PATH.
check_biblio also invokes LaTeX checks and may open your editor for manual fixes, so you should also have the EDITOR environment variable configured.
How to use it
First create the BibTeX file downloading all your bib entries:
listofpublications create-bibtex --help
listofpublications create-bibtex --query "author%3AR.Turra.1%20and%20collection%3APublished"
This downloads the entries from inspirehep.net and produces a BibTeX file as bibtex_YYYY-MM-DD.bib.
Note: If you get problems downloading from INSPIREHEP, you can manually download the BibTeX from inspire.hep going to your profile and using the "cite all" button. However, this is limited to 1000 entries. If needed, select different years and merge the files.
Then fix LaTeX/Unicode errors:
listofpublications check-biblio --fix-unicode <bibtexfilename.bib>
Finally generate the PDF:
listofpublications create-latex <bibtexfilename_new.bib>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file listofpublicationsfrominspirehep-0.1.3.tar.gz.
File metadata
- Download URL: listofpublicationsfrominspirehep-0.1.3.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a05bae43bfad03e722cc23bb620ac529395bb7de655b18eb8c17cd655eae74d
|
|
| MD5 |
8caa7062f0e88a251ace299c998087b2
|
|
| BLAKE2b-256 |
fe6d1a8c1d6451004d5d395c5df694f1cfe5f04419ce9514d3fda44e2156abf6
|
Provenance
The following attestation bundles were made for listofpublicationsfrominspirehep-0.1.3.tar.gz:
Publisher:
publish-pypi.yml on wiso/ListOfPublicationsFromInspireHEP
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
listofpublicationsfrominspirehep-0.1.3.tar.gz -
Subject digest:
5a05bae43bfad03e722cc23bb620ac529395bb7de655b18eb8c17cd655eae74d - Sigstore transparency entry: 1567462600
- Sigstore integration time:
-
Permalink:
wiso/ListOfPublicationsFromInspireHEP@da1f59bd810d41b1fd33ba5dd25850691c0add71 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/wiso
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@da1f59bd810d41b1fd33ba5dd25850691c0add71 -
Trigger Event:
push
-
Statement type:
File details
Details for the file listofpublicationsfrominspirehep-0.1.3-py3-none-any.whl.
File metadata
- Download URL: listofpublicationsfrominspirehep-0.1.3-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23d402458221629ff78dc3980c90ddb01299ddc3ff0d89638ac20f3989ac1936
|
|
| MD5 |
47824fd78d34f3afeb91ae722d5edfd0
|
|
| BLAKE2b-256 |
d55d49ad4e2cda284275cbed5083e7c9a7b203703598dee3852cb47a63c78078
|
Provenance
The following attestation bundles were made for listofpublicationsfrominspirehep-0.1.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on wiso/ListOfPublicationsFromInspireHEP
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
listofpublicationsfrominspirehep-0.1.3-py3-none-any.whl -
Subject digest:
23d402458221629ff78dc3980c90ddb01299ddc3ff0d89638ac20f3989ac1936 - Sigstore transparency entry: 1567462653
- Sigstore integration time:
-
Permalink:
wiso/ListOfPublicationsFromInspireHEP@da1f59bd810d41b1fd33ba5dd25850691c0add71 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/wiso
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@da1f59bd810d41b1fd33ba5dd25850691c0add71 -
Trigger Event:
push
-
Statement type: