Skip to main content

$R_X$ common

The purpose of this project is to:

  • Offer a thin layer of python code meant to interface and test the $R_X$ run3 gitlab tools, written in C++ and adapted from the Run1/2 code.

  • Store new tools, needed for the Run3 analyses, that can be shared among run3 $R_X$ analyses.

Installation

It is strongly recommended to use conda/mamba/micromamba to create a virtual environment where the code will go. Instructions for micromamba can be found here.

The code is split into multiple projects, each doing a specific study and all belonging to a given group. The code is available as a set of packages that can be cloned and installed through with:

# Define a path in your computer/cluster where the code will be clonned
# This should be placed in your .bashrc
export SFTDIR=$HOME/run3_rx

git clone ssh://git@gitlab.cern.ch:7999/rx_run3/rx_common.git
# install
pip install -e ./rx_common/

# This will install all the packages in your system, in editable mode
rx_setup -k sync -i 1 -f projects.txt

Where projects.txt is the file with the list of branches and project names to run over, e.g.:

master rx_classifier
master rx_calibration
master rx_selection
master rx_common
master rx_data
master post_ap
master dmu

The sync flag will make sure that:

  • All the remote changes are pulled to your local branch.
  • The code gets reinstalled.
  • All your local changes have been committed.
  • All the changes you committed locally are pushed to whatever branch you specified.

Thus, making it easier to synchronize your local changes with the remote ones. To check if the project you will run over are the right ones, one can run a dry run with the -d 1 flag:

rx_setup -k sync -i 1 -f projects.txt -d 1

Metadata

Release files for rx-common 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rx-common 0.0.6
File Size Uploaded Provenance Actions
rx_common-0.0.6.tar.gz 14.3 kB With provenance Details for rx_common-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rx-common 0.0.6
File Interpreter ABI Platform Actions
rx_common-0.0.6-py3-none-any.whl Python 3 none any Details for rx_common-0.0.6-py3-none-any.whl

Total release size: 35.7 kB

Release files / rx_common-0.0.6.tar.gz

Download URL rx_common-0.0.6.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
72570a3b907e2e3185990d765343006a9441efb885219992975a825aa1534fe5
BLAKE2b-256 checksum
How to use checksums
a4323dd6a02625466c634a759dd571db203679b33c9cfaebdf3e4f2be1cc9865
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2025.

Transparency log

Release files / rx_common-0.0.6-py3-none-any.whl

Download URL rx_common-0.0.6-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68bc1de8e59ded3f7a7df80f2a08a81c255c3ea0f08c9dc261aa2a07f98ea646
BLAKE2b-256 checksum
How to use checksums
bd041e01c33df5f42d131e0ae7c5c8e82ea50abe9d26063834cd36ff4abaf80d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2025.

Transparency log

Security for rx-common 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rx_common-0.0.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page