Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

fast-curator

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-curator

F.A.S.T. package for describing datasets

pipPyPI
Version
0.8.1
Maintainers
1

.. image:: https://img.shields.io/pypi/v/fast-curator.svg :target: https://pypi.org/project/fast-curator/ :alt: pypi package

.. image:: https://travis-ci.com/FAST-HEP/fast-curator.svg?branch=master :target: https://travis-ci.com/FAST-HEP/fast-curator :alt: pipeline status

.. image:: https://codecov.io/gh/FAST-HEP/fast-curator/branch/master/graph/badge.svg :target: https://codecov.io/gh/FAST-HEP/fast-curator :alt: coverage report

.. image:: https://badges.gitter.im/FAST-HEP/community.svg :target: https://gitter.im/FAST-HEP/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge :alt: Gitter

fast-curator

Create, read and write dictionary descriptions of input datasets to process. Currently all datasets are expected to be built from sets of ROOT Trees.

Installing

.. code-block:: bash

    pip install --user fast-curator

Usage

.. code-block:: bash

    # Local files:
    fast_curator -o output_file_list.txt -t tree_name -d dataset_name --mc input/files/*root

    # Single XROOTD files:
    fast_curator -o output_file_list.txt --mc root://my.domain.with.files://input/files/one_file.root

    # XROOTD files with several globs
    fast_curator -o output_file_list.txt --mc root://my.domain.with.files://inp*/files/*.root

Notes:

  • If the command is called multiple times with the same output file (using the -o option), the additional files specified will be appended to the output file.
  • Arbitrary meta-data (such as cross-section, data quality, generator precision, etc) can be added to each dataset with the -m option.

For more guidance try the built-in help::

    fast_curator --help

Reading dataset files back

.. code-block:: python

    import fast_curator
    datasets = fast_curator.read.from_yaml("my_dataset_file.yml")

Will return a list of datasets with the default section applied to each dataset.

Further Documentation

Is on its way...

Keywords

ROOT

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts