Skip to main content

Library for getting your data into HEPData

Project description

hepdata_lib

DOI PyPI version Actions Status Coverage Status Documentation Status Docker Hub

Library for getting your data into HEPData

Installation

It is highly recommended you install hepdata_lib into a virtual environment.

pip install hepdata_lib

If you are not sure about your Python environment, please also see below how to use hepdata_lib in a Docker or Singularity container.

Getting started

For using hepdata_lib, you don't even need to install it, but can use the binder or SWAN (CERN-only) services using one of the buttons below and following the instructions in the notebook with name Getting_started:

Binder SWAN

You can also use the Docker image:

docker run --rm -it -p 8888:8888 -v ${PWD}:/home/hepdata clelange/hepdata_lib

And then point your browser to http://localhost:8888 and use the token that is printed out. The output will end up in your current working directory (${PWD}).

If you prefer a shell, instead run:

docker run --rm -it -p 8888:8888 -v ${PWD}:/home/hepdata clelange/hepdata_lib bash

If on CERN LXPLUS or anywhere else where there is Singularity available but not Docker, you can still use the docker image:

export SINGULARITY_CACHEDIR="/tmp/$(whoami)/singularity"
singularity shell -B /afs -B /eos docker://clelange/hepdata_lib bash

Unpacking the image can take a few minutes the first time you use it. Please be patient. Both EOS and AFS should be available and the output will be in your current working directory.

Further examples

There are a few more examples available that can directly be run using the binder links below or using SWAN (CERN-only, please use LCG release LCG_94 or later) and selecting the corresponding notebook manually:

External dependencies

Make sure that you have ROOT in your $PYTHONPATH and that the convert command is available by adding its location to your $PATH if needed.

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

hepdata_lib-0.4.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

hepdata_lib-0.4.0-py2.py3-none-any.whl (17.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file hepdata_lib-0.4.0.tar.gz.

File metadata

  • Download URL: hepdata_lib-0.4.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for hepdata_lib-0.4.0.tar.gz
Algorithm Hash digest
SHA256 3a5a9ef3f4c8252a8229480b5ea31a645c87672777452dbf5baaff76b5808449
MD5 483e5cdd6670d04adea14b781c6cbc49
BLAKE2b-256 11186f8a71937079063391089c4db616198ade075d50a9c220595dc937d24fb0

See more details on using hashes here.

File details

Details for the file hepdata_lib-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: hepdata_lib-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for hepdata_lib-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6be4ac04172092fa3685dd23c506f759ef8e256c23afb8837a105d465f5cd137
MD5 dbf24242ae5980ee37e9bb3ee607b24d
BLAKE2b-256 be826c07a876455fa8e9c3e3dca686a24a8ae626c9dc0cb2d2f066250e888145

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page