Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.
/ hepdata-retriever Public archive

Downloads HEPData files from hepdata.cedar.ac.uk and processes them to be in the format for loading in to the new HEPData. (OBSOLETE)

Notifications You must be signed in to change notification settings

HEPData/hepdata-retriever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#HEPData Retriever

A tool to get HEPData records.

Usage

from hepdata_retriever.retriever import Retriever
__data_dir = os.path.abspath(os.path.dirname(__file__)) + '/data'
retriever = Retriever(__data_dir)
retriever.get_record('ins1404159')

Getting all HEPData records and downloading them

Please be considerate of the server!

from hepdata_retriever.retriever import Retriever
__data_dir = os.path.abspath(os.path.dirname(__file__)) + '/data'

retriever = Retriever(__data_dir)
inspire_ids = retriever.get_all_ids_in_current_system()

for index, inspire_id in enumerate(inspire_ids):
    retriever.get_record(inspire_id)

About

Downloads HEPData files from hepdata.cedar.ac.uk and processes them to be in the format for loading in to the new HEPData. (OBSOLETE)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages