Skip to main content

ATLAS Flavour Tagging Tools

Project description

uv Ruff Docs PyPI version codecov

ATLAS FTAG Python Tools

This is a collection of Python tools for working with files produced with the FTAG ntuple dumper. The code is intended to be used a library for other projects. Please see the examples for usage.

Quickstart

Installation

atlas-ftag-tools can be installed from PyPI or using the latest code from this repository.

Install latest release from PyPI

pip install atlas-ftag-tools

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 atlas-ftag-tools, this is the way to go.

Install latest version from GitHub

pip install https://github.com/umami-hep/atlas-ftag-tools/archive/main.tar.gz

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

Install for development with uv (recommended)

For development, we recommend using uv, a fast Python package installer and resolver. First, install uv:

# On macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# On Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

# Or with pip (If installing from PyPI, we recommend installing uv into an isolated environment)
pip install uv

Then clone the repository and install atlas-ftag-tools with development dependencies:

git clone https://github.com/umami-hep/atlas-ftag-tools.git
cd atlas-ftag-tools
uv sync --extra dev

This will install atlas-ftag-tools in editable mode along with all development tools (testing, linting, etc.).

[!TIP] In order to use locally installed version of atlas-ftag-tools in other uv-managed projects, you can add the following to the pyproject.toml of the other project:

[tool.uv.sources]
atlas-ftag-tools = { path = "path_to/atlas-ftag-tools" }

Usage

Extensive examples are given in the Examples

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

atlas_ftag_tools-0.3.4.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atlas_ftag_tools-0.3.4-py3-none-any.whl (62.9 kB view details)

Uploaded Python 3

File details

Details for the file atlas_ftag_tools-0.3.4.tar.gz.

File metadata

  • Download URL: atlas_ftag_tools-0.3.4.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for atlas_ftag_tools-0.3.4.tar.gz
Algorithm Hash digest
SHA256 4de5a0afe0304d6f3f19c5317130eb6e14b18ab68ba522aca28d57f1e25dcdce
MD5 0fc4b094bf0ef1a4bb8fc4b666db825d
BLAKE2b-256 5f2afa9695aa4dc426f370d6d25b09057b3fd3559bcb82f7e9312a3a8df20533

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlas_ftag_tools-0.3.4.tar.gz:

Publisher: testing.yml on umami-hep/atlas-ftag-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atlas_ftag_tools-0.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for atlas_ftag_tools-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 44d0261a6e28ea38e1e673ced318690cde73f65ba9a9d97af995f9006c2fb1fe
MD5 fe9f05f2ede9ecc39088f8855c4a047e
BLAKE2b-256 2f0c5389af9b00c0c4c284036610d4e75dd3d8defd87dc0e5cd54f9ac322c258

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlas_ftag_tools-0.3.4-py3-none-any.whl:

Publisher: testing.yml on umami-hep/atlas-ftag-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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