F.A.S.T. package for describing datasets
Project description
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.
Requirements
Installing
pip install --user fast-curator
Usage
# 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
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...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fast-curator-0.1.4.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file fast-curator-0.1.4.tar.gz
.
File metadata
- Download URL: fast-curator-0.1.4.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 771327482dd22b9b1a4d2365f7e57abfad72f0333a2a8ffa7987d7bbc4e4fff6 |
|
MD5 | 9aa544a1691c4ca250cd1f5708e86ee2 |
|
BLAKE2b-256 | 79b3b05cab79f68e142f918f9fc67c2b42c6dfdeadb64fc3aae45c98bbc8ec9d |
File details
Details for the file fast_curator-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: fast_curator-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f0e0a2db69cf2f93e2e61e7732f7e86c1b7a1aa5b15e4c594366067ca47f9d0 |
|
MD5 | 1a51b6cccefb97e368340820a2910110 |
|
BLAKE2b-256 | 49c60d1777c636e30395eb36861cc3dbe936c31ca6c737fb28b991d77a335dd1 |