Skip to main content

Channel Access client library

Project description

This library contains the low-level bindings to the libca library and an high-level thread-safe interface for ease of use.

For the server implementation see channel_access.server.

Installation

Before installing the library, the environment variables EPICS_BASE and EPICS_HOST_ARCH must be set.

Then the library can be installed with pip:

pip install channel_access.client

Examples

Examples are located in the examples directory.

The simple.py example monitors a single process value and outputs the contents of the data dictionary:

python examples/simple.py test-pv

Get the source

The source code is available in a Github repository:

git clone https://github.com/delta-accelerator/channel_access.client

Documentation

The documentation for the last version is available online.

The documentation can also be generated from the source code with sphinx. The package must be installed prior to building the documentation:

cd /path/to/repository
pip install .
python setup.py build_sphinx

Then open build/sphinx/html/index.html.

Tests

Tests are run with pytest:

cd /path/to/repository
pytest -v

To run the tests for all supported version use tox:

cd /path/to/repository
tox

Project details


Download files

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

Source Distribution

channel_access_client-0.1.5.tar.gz (23.8 kB view details)

Uploaded Source

File details

Details for the file channel_access_client-0.1.5.tar.gz.

File metadata

  • Download URL: channel_access_client-0.1.5.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for channel_access_client-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8e0b65be5957d5fd3eccf3ff787683610ccae9c1c5a9b033e0656c32b242571c
MD5 2a00e5da18f966de7093ae4e69c537c2
BLAKE2b-256 37829559a3654aa9c36191be360ceab5eb79017db049a8369f10d16ede59faa2

See more details on using hashes here.

Supported by

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