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 image

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 ghcr.io/hepdata/hepdata_lib:latest

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 ghcr.io/hepdata/hepdata_lib:latest 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://ghcr.io/hepdata/hepdata_lib:latest 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.10.1.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

hepdata_lib-0.10.1-py2.py3-none-any.whl (20.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: hepdata_lib-0.10.1.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for hepdata_lib-0.10.1.tar.gz
Algorithm Hash digest
SHA256 f6c3b85975792d5fde14212a4f8212c507f9e961ba77271487a99518e89c8dd2
MD5 bf4bd6f66ab3ee3fb0a77aee953a4999
BLAKE2b-256 346a166288b331ad564b884ca47d3282a9d69268278f28d0956fb2046593ec6f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hepdata_lib-0.10.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for hepdata_lib-0.10.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9d2930da8240ebee7a6a77478c557347ff44caf34f31becbfa33c6aaceccbd59
MD5 3de2f4e89edbdc6a461736be57ef97a9
BLAKE2b-256 ea2313eb1a16332ca1f948e333d72e8b9a6b16bc47a4158fd10e3eb7846c1c98

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