Warning, /swf-common-lib/rucio_comms/README.md is written in an unsupported language. File is not indexed.
0001 # Rucio comms
0002
0003 The rucio_comms package is a Python library that provides a high-level interface for interacting with Rucio. Here are its key components and features:
0004
0005 1. Core Classes:
0006 - `FileManager`: Manages Rucio file operations
0007 - Registers file replicas with existing PFNs
0008 - Associates files with datasets
0009 - Handles batch operations for multiple files
0010 - Tracks registered files
0011
0012 - `DatasetManager`: Handles Rucio dataset operations
0013 - Creates and manages datasets
0014 - Sets metadata, lifetime, and status
0015 - Follows PanDA-style dataset management patterns
0016
0017 - `FileInfo`: Represents a file with its metadata
0018 - Handles logical/physical file names (LFN/PFN)
0019 - Manages checksums, size, and GUIDs
0020 - Validates file attributes
0021
0022 2. Utility Modules:
0023 - `RucioUtils`: Helper functions for Rucio operations
0024 - Scope extraction from dataset names
0025 - GUID and VUID generation
0026 - PFN parsing and formatting
0027
0028 - `ValidationUtils`: Input validation
0029 - Validates dataset names, scopes, LFNs, PFNs
0030 - Checks checksums and file sizes
0031 - Enforces format rules
0032
0033 - `MetadataUtils`: Metadata handling
0034 - Creates standardized file metadata
0035 - Manages dataset metadata
0036 - Follows PanDA/Rucio metadata conventions