Python interface to Archiver Appliance
Project description
PyArchAppl
The Python client library for Archiver Appliance.
Installation
pip install pyarchappl [--upgrade]
User Guide
Site Configuration
A site configuration file is an INI file which defines how the package work with the service. The full version of the configuration file could be found at default.init
The search priority follows:
~/.pyarchappl/config.ini/etc/pyarchappl/config.ini<package-default>: default.ini
However, it could be overridden via an env PYARCHAPPL_CONFIG_FILE.
CLI Tools
PyArchAppl provides convenient command line interface tools as console apps:
pyarchappl-get: the tool for data retrieval, read the usage help message by-hoptionpyarchappl-inspect: the tool for inspect the information,-hfor help
Development
[Optional] Set up Archiver Appliance testing environment
Data Retrieval Interface
from archappl.client import ArchiverDataClient
import matplotlib.pyplot as plt
plt.style.use('ggplot')
client = ArchiverDataClient()
client.url = 'http://127.0.0.1:17665' # default url, optional.
pv = 'TST:gaussianNoise'
data = client.get_data(pv)
data.plot()
plt.show()
Management Interface
from archappl.client import ArchiverMgmtClient
client = ArchiverMgmtClient()
client.url = 'http://127.0.0.1:17665'
all_pvs = client.get_all_pvs(pv="TST*")
print(all_pvs)
# [u'TST:fakeGaussianNoise', u'TST:gaussianNoise', u'TST:uniformNoise']
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyarchappl-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: pyarchappl-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 43.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a069e96721713b84f172e31f4b38e14227501318db1f2b67f30a179fdbd535d
|
|
| MD5 |
f97ce346debc030539cef021393ea799
|
|
| BLAKE2b-256 |
9c27f97326362e624a64a62c5d52980c1b72154d5c5dae9e04355fae13c66fda
|