Skip to main content

PyArchAppl

PyPI - Version PyPI - License Python 3.9+

PyArchAppl is a Python client library for the EPICS Archiver Appliance, providing easy data access, management, and automation for control system data.


Features

  • Retrieve and plot time-series data from Archiver Appliance
  • Management interface for PVs (Process Variables)
  • Command-line tools for data access and inspection
  • Flexible site configuration
  • Support Python 3.9, 3.10, 3.11, 3.12, 3.13

Installation

pip install pyarchappl

To upgrade:

pip install --upgrade pyarchappl

Quick Start

Data Retrieval Example

from archappl.client import ArchiverDataClient
import matplotlib.pyplot as plt

client = ArchiverDataClient()
client.url = 'http://127.0.0.1:17665'  # Optional, default provided

pv = 'TST:gaussianNoise'
data = client.get_data(pv)

data.plot()
plt.show()

Example Plot

Management Example

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']

Command Line Tools

PyArchAppl provides convenient CLI tools:

  • pyarchappl-get — Retrieve data (use -h for help)
  • pyarchappl-inspect — Inspect archiver information (use -h for help)

Configuration

PyArchAppl uses an INI-style configuration file to define service connection and behavior.

Config file search order:

  1. ~/.pyarchappl/config.ini
  2. /etc/pyarchappl/config.ini
  3. Package default: main/config/default.ini

Override with the environment variable: PYARCHAPPL_CONFIG_FILE.

See the default.ini for all options.


Development

  • Clone the repo and install dependencies from requirements.txt and requirements-dev.txt.
  • [Optional] Set up a local Archiver Appliance for testing.

License

This project is licensed under the GPLv3+ License. See the LICENSE file for details.


Metadata

Release files for pyarchappl 1.0.3.post3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pyarchappl 1.0.3.post3
File Interpreter ABI Platform Actions
pyarchappl-1.0.3.post3-py3-none-any.whl Python 3 none any Details for pyarchappl-1.0.3.post3-py3-none-any.whl

Release files / pyarchappl-1.0.3.post3-py3-none-any.whl

Download URL pyarchappl-1.0.3.post3-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd6ab1e8756b265ec8946129b3c2ecef13afe9eeb9c8ae58322ba3a6caa47560
BLAKE2b-256 checksum
How to use checksums
01309d50a54ce8c73a8edb29d238f9a25645d0d35210b8d70ce5aade0650bbb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for pyarchappl 1.0.3.post3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3.post3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page