The xrootdlib offers building blocks and basic tools to work with the XRootD data access middleware.
It is meant to facilitate auxiliary work, such as monitoring, accounting and orchestration.
xrootdlib.streams- Stream-like converter, reader and representations for various XRootD information sources. Each stream produces a pre-processed representation of information, which directly exposes all relevant information.
xrootdlib.structsRepresentations of various
structused by XRootD to provide or digest data. Each data structure exposes both a flat, high-performance Python interface as well as views replicating thestructinterface. Data structures support the conversion to and from raw bytes.xrootdlib.structs.XrdXrootdMon- Structs used for the Detailed Monitoring Data Format streams sent by servers.
See the
all.monitordirective and XRootD Monitoring for details.
This package requires Python 3.4 or newer.
It is tested with CPython (aka python3) and PyPy (aka pypy3).