Skip to main content

Pyinspire queries the INSPIRE HEP database and returns either BiBTeX or normal text results

Project description

=========
Pyinspire
=========

Retrieve results from the INSPIRE HEP database (http://inspirehep.net) from the
command line.

Author: Ian Huston

Contributors: David Straub

Released under the modified BSD license.

Usage: pyinspire.py [options]
Example: pyinspire.py -b -s "find a Feynman, Richard"

Options:
--version show program's version number and exit
-h, --help show this help message and exit
-s STRING, --search=STRING
search string to send to INSPIRE
-b, --bibtex output bibtex for entries
--latexEU use LaTeX(EU) format for entries
--latexUS output bibtex for entries
-v, --verbose print informative messages
--debug log lots of debugging information


Tested with Python 2.7 and 3.4.

Please be careful to not overload the INSPIRE server by repeatedly requesting
large numbers of results. If using pyinspire in a script please add some
throttling of frequency of search queries.

Note: Currently only the first 100 results are returned.

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

pyinspire-0.3.0.tar.gz (3.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page