Skip to main content

Plotting API for HEP flavour tagging plots.

Project description

puma - Plotting UMami Api

Code style: black Umami docs PyPI version DOI

codecov Testing workflow Linting workflow Pages workflow Docker build workflow

The Python package puma provides a plotting API for commonly used plots in flavour tagging.

ROC curves Histogram plots Variable vs efficiency

Installation

puma can be installed from PyPI or using the latest code from this repository.

Install latest release from PyPI

pip install puma-hep

The installation from PyPI only allows to install tagged releases, meaning you can not install the latest code from this repo using the above command. If you just want to use a stable release of puma, this is the way to go.

Install latest version from GitHub

pip install https://github.com/umami-hep/puma/archive/main.tar.gz

This will install the latest version of puma, i.e. the current version from the main branch (no matter if it is a release/tagged commit). If you plan on contributing to puma and/or want the latest version possible, this is what you want.

Docker images

The Docker images are built on GitHub and contain the latest version from the main branch.

The container registry with all available tags can be found here.

The puma:latest image is based on python:3.8-slim and is meant for users who want to use the latest version of puma. For each release, there is a corresponding tagged image. You can start an interactive shell in a container with your current working directory mounted into the container by using one of the commands provided below.

On a machine with Docker installed:

docker run -it --rm -v $PWD:/puma_container -w /puma_container gitlab-registry.cern.ch/atlas-flavor-tagging-tools/training-images/puma-images/puma:latest bash

On a machine/cluster with singularity installed:

singularity shell -B $PWD docker://gitlab-registry.cern.ch/atlas-flavor-tagging-tools/training-images/puma-images/puma:latest

Extended image for development

For development, just replace the tag of the image:

latest -> latest-dev

In addition to the minimal requirements that are required to use puma, the puma:latest-dev image has the requirements.txt from the puma repo installed as well. This means that packages like pytest, black, pylint, etc. are installed as well. However, note that puma itself is not installed in that image such that the dev-version on your machine can be used/tested.

The images are automatically updated via GitHub and pushed to this repository registry.

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

puma-hep-0.1.7.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

puma_hep-0.1.7-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file puma-hep-0.1.7.tar.gz.

File metadata

  • Download URL: puma-hep-0.1.7.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for puma-hep-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a672546882fdb3e04d455dc8bfe31cf97097f52f4729abafbbf233871016f5a0
MD5 6db3ba80fdc4303c79e6d250c18ff9e8
BLAKE2b-256 4068afb16450c3c810c618f2b3568830a8f054f155019d72f8135f476f4ba63a

See more details on using hashes here.

File details

Details for the file puma_hep-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: puma_hep-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for puma_hep-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1c88d7a19ff454eab294305eacdac2212b076da8810bc21f165d94a1f0070dd8
MD5 ae27ac7d3281fa02be258566d93f9bd9
BLAKE2b-256 1789e5b336386e9caaffb9495c335739bd283d5ff192b27cb8729b509fe6a260

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