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.
Install
From a local checkout (classic workflow):
python -m pip install -r requirements.txt
CLI tools via pipx/uvx directly from GitHub, without publishing to PyPI:
pipx install "git+https://github.com/wiso/ListOfPublicationsFromInspireHEP.git"
or run one-shot without a persistent install:
uvx --from "git+https://github.com/wiso/ListOfPublicationsFromInspireHEP.git" check_biblio -h
uvx --from "git+https://github.com/wiso/ListOfPublicationsFromInspireHEP.git" create_bibtex -h
uvx --from "git+https://github.com/wiso/ListOfPublicationsFromInspireHEP.git" create_latex -h
Installed/exposed commands are:
check_biblio
create_bibtex
create_latex
Publish to PyPI
The repository now includes a GitHub Actions workflow that publishes a release to PyPI when you push a tag that starts with v.
Typical flow:
- Bump the version in pyproject.toml and commit it.
- Create and push a tag such as
v0.1.1. - GitHub Actions runs tests, builds the wheel/sdist, and publishes to PyPI.
Before the first release, enable trusted publishing for this repository in your PyPI project settings, or replace it with an API token-based setup if you prefer that model.
How to use it
First create the BibTex file downloading all your bib entries, for the options try:
create_bibtex -h
it downloads the entries from http://inspirehep.net/ and produces a BibTeX file as bibtex_2016-02-07.bib. If you get problems you can download the BibTex from inspire.hep, going on your profile and using the "cite all" button. Actually, this is faster, but you can download only 1000 entries. In this case, you can select a few years on the left and then merge the files.
Usually, many LaTeX errors are present, you can fix them with:
check_biblio --fix-unicode <bibtexfilename.bib>
Finally to create the pdf:
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.0.tar.gz.
File metadata
- Download URL: listofpublicationsfrominspirehep-0.1.0.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f0406ad6f7dfe5cab670044328266d9c92421746429567b571360ae3989c1fb
|
|
| MD5 |
e119daa44688f37c0eb48249fa4084d0
|
|
| BLAKE2b-256 |
4192bf09a433a3dc29485cb36572ab2c09609bc6d0939c190a22c4e7f5f970d7
|
Provenance
The following attestation bundles were made for listofpublicationsfrominspirehep-0.1.0.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.0.tar.gz -
Subject digest:
5f0406ad6f7dfe5cab670044328266d9c92421746429567b571360ae3989c1fb - Sigstore transparency entry: 1567228222
- Sigstore integration time:
-
Permalink:
wiso/ListOfPublicationsFromInspireHEP@9413dd25c965997230f29e2a73590879290c1a30 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/wiso
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@9413dd25c965997230f29e2a73590879290c1a30 -
Trigger Event:
push
-
Statement type:
File details
Details for the file listofpublicationsfrominspirehep-0.1.0-py3-none-any.whl.
File metadata
- Download URL: listofpublicationsfrominspirehep-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.8 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 |
e4324054b2e1933ce7b13fab349595b6e048fda9e008d0f8f99213599a3ea53f
|
|
| MD5 |
7800a916f977b514670be8aa7f2144f4
|
|
| BLAKE2b-256 |
bb58de02c9c76d561a858b89d027782a143f0edd33161ef4797e0b3de8bb56ff
|
Provenance
The following attestation bundles were made for listofpublicationsfrominspirehep-0.1.0-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.0-py3-none-any.whl -
Subject digest:
e4324054b2e1933ce7b13fab349595b6e048fda9e008d0f8f99213599a3ea53f - Sigstore transparency entry: 1567228272
- Sigstore integration time:
-
Permalink:
wiso/ListOfPublicationsFromInspireHEP@9413dd25c965997230f29e2a73590879290c1a30 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/wiso
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@9413dd25c965997230f29e2a73590879290c1a30 -
Trigger Event:
push
-
Statement type: