namespace rivet::spiresbib

rivet::spiresbib

Functions

Name
deffetch_bibtex(iscode iscode, refid refid)
defextract_bibtex(html html)
defget_bibtex_from_repo(iscode iscode, refid refid)
defget_bibtexs_from_repos(iscodes_refids iscodes_refids)

Attributes

Name
stringusage
parser
opts
args
iscode
Make individual bibinfo files.
refid
key
bibtex
f

Functions Documentation

function fetch_bibtex

def fetch_bibtex(
    iscode iscode,
    refid refid
)

function extract_bibtex

def extract_bibtex(
    html html
)

function get_bibtex_from_repo

def get_bibtex_from_repo(
    iscode iscode,
    refid refid
)

function get_bibtexs_from_repos

def get_bibtexs_from_repos(
    iscodes_refids iscodes_refids
)

Attributes Documentation

variable usage

string usage =  """%prog <spiresid> [<spiresid2> ...]

Given Inspire and SPIRES paper IDs, fetch the corresponding BibTeX db entry from
the SPIRES Web interface and write it to stdout. Prefix the code with I or S
appropriately.
""";

variable parser

parser =  OptionParser(usage=usage);

variable opts

opts;

variable args

args;

variable iscode

iscode =  arg[0];

Make individual bibinfo files.

variable refid

refid =  arg[1:];

variable key

key;

variable bibtex

bibtex;

variable f

f =  sys.stdout;

Updated on 2022-08-07 at 20:46:08 +0100