How jeffersonlab/jlab_archiver_client works
jlab_archiver_client is a Python analysis client for the Jefferson Lab EPICS archive, accessed through myquery. Users build validated endpoint-specific queries, execute them through the matching client, and receive pandas-oriented results; interval, mysampler, mystats, point, and channel cover distinct retrieval and discovery needs. The CLI exposes query workflows, while shared configuration and conversion utilities support them. The excerpts show representative request and parsing paths; some module interactions are supported only by the SOURCE INDEX or README, so unsampled details are not expanded.
Main entry points: __init__.py Python package API · interval.py Interval queries · scripts.py Command-line tools · mysampler.py Regular sampling
Components 13
Query and settings
- Query builders
src/jlab_archiver_client/query.py - Runtime configuration
src/jlab_archiver_client/config.py
Archive retrieval
- Interval queries
src/jlab_archiver_client/interval.py - Regular sampling
src/jlab_archiver_client/mysampler.py - Binned statistics
src/jlab_archiver_client/mystats.py - Point lookup
src/jlab_archiver_client/point.py - Channel search
src/jlab_archiver_client/channel.py
Result processing
- Data conversion
src/jlab_archiver_client/utils.py - Query errors
src/jlab_archiver_client/exceptions.py
User interfaces
- Command-line tools
src/jlab_archiver_client/scripts.py - Python package API
src/jlab_archiver_client/__init__.py
Other components
- Analyst
- myquery service
Connections 34
- Analyst → Python package API: uses
README.md - Analyst → Command-line tools: runs
src/jlab_archiver_client/scripts.py - Python package API → Query builders: exports
src/jlab_archiver_client/__init__.py - Python package API → Interval queries: exports
src/jlab_archiver_client/__init__.py - Python package API → Regular sampling: exports
src/jlab_archiver_client/__init__.py - Python package API → Binned statistics: exports
src/jlab_archiver_client/__init__.py - Python package API → Point lookup: exports
src/jlab_archiver_client/__init__.py - Python package API → Channel search: exports
src/jlab_archiver_client/__init__.py - Interval queries → Query builders: serializes parameters
src/jlab_archiver_client/interval.py - Regular sampling → Query builders: serializes parameters
src/jlab_archiver_client/mysampler.py - Binned statistics → Query builders: serializes parameters
src/jlab_archiver_client/query.py - Point lookup → Query builders: serializes parameters
src/jlab_archiver_client/point.py - Channel search → Query builders: serializes parameters
src/jlab_archiver_client/channel.py - Interval queries → Runtime configuration: configures endpoint
src/jlab_archiver_client/interval.py - Regular sampling → Runtime configuration: configures endpoint
src/jlab_archiver_client/mysampler.py - Binned statistics → Runtime configuration: configures endpoint
src/jlab_archiver_client/mystats.py - Point lookup → Runtime configuration: configures endpoint
src/jlab_archiver_client/point.py - Channel search → Runtime configuration: configures endpoint
src/jlab_archiver_client/channel.py - Interval queries → myquery service: requests events
src/jlab_archiver_client/interval.py - Regular sampling → myquery service: requests samples
src/jlab_archiver_client/mysampler.py - Binned statistics → myquery service: requests statistics
src/jlab_archiver_client/mystats.py - Point lookup → myquery service: requests event
src/jlab_archiver_client/point.py - Channel search → myquery service: searches channels
src/jlab_archiver_client/channel.py - Interval queries → Data conversion: converts response
src/jlab_archiver_client/interval.py - Regular sampling → Data conversion: converts response
src/jlab_archiver_client/mysampler.py - Binned statistics → Data conversion: converts response
src/jlab_archiver_client/mystats.py - Point lookup → Data conversion: checks response
src/jlab_archiver_client/point.py - Channel search → Data conversion: checks response
src/jlab_archiver_client/channel.py - Interval queries → Query errors: raises errors
src/jlab_archiver_client/exceptions.py - Command-line tools → Interval queries: runs query
src/jlab_archiver_client/scripts.py - Command-line tools → Regular sampling: runs query
src/jlab_archiver_client/scripts.py - Command-line tools → Binned statistics: runs query
src/jlab_archiver_client/scripts.py - Command-line tools → Point lookup: runs query
src/jlab_archiver_client/scripts.py - Command-line tools → Channel search: runs query
src/jlab_archiver_client/scripts.py