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.1.tar.gz
.
File metadata
- Download URL: channel_access.client-0.1.1.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0d526d23b2a87d20f03882afb1ca34da3eae90e3c7e661d24a620c376c4f50 |
|
MD5 | e34b4e4e7755cbea92ff8b2ebf16e029 |
|
BLAKE2b-256 | 1c514300d4b84363731262be49cabaf42a5f8b2f062bc02de0dd15d116d28c00 |