Skip to main content

Python interface to Archiver Appliance

Project description

PyArchAppl

Python client for Archiver Appliance.

Installation

pip install pyarchappl [--upgrade]

User Guide

Command line tool pyarchappl-get is the best tool that could be used for data retrieval, read the usage help message by -h option.

Development

[Optional] Set up Archiver Appliance testing environment

Data Retrieval Client

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()

Data (PV) Management Client

from archappl.client import ArchiverMgmtClient


client = ArchiverMgmtClient()
client.url = 'http://127.0.0.1:17665'

all_pvs = client.get_all_pvs()
print(all_pvs)
# [u'TST:fakeGaussianNoise', u'TST:gaussianNoise', u'TST:uniformNoise']

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyarchappl-0.10.7-py2.py3-none-any.whl (37.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyarchappl-0.10.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyarchappl-0.10.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 29e0d038bf1feac2d6181935c16187247505922c39e506942ca0a43b06cac876
MD5 5b84de1260e7f152c7abd980d080109f
BLAKE2b-256 204a856efa4e78b7a73926f32f64a54ec79aa12992daca8c4d8963e789252483

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page