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
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 Distribution
File details
Details for the file channel_access.client-0.1.2.tar.gz
.
File metadata
- Download URL: channel_access.client-0.1.2.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea55db0a9e6489e59754349140cd5a39d62e68b3fecc748fa03d16bd3d2bdbae |
|
MD5 | 95e8efd3b054ee52bdc23bded8080a1b |
|
BLAKE2b-256 | 2d01e2fabfb84988121d0dbafcc30c58f29bf20706301a0be88de70d22e34402 |