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.0.tar.gz (21.9 kB view details)

Uploaded Source

File details

Details for the file channel_access.client-0.1.0.tar.gz.

File metadata

  • Download URL: channel_access.client-0.1.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for channel_access.client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0e4988cc72a118c81490e205f889a14e53eaba2d9a4af0c8fce1f5262408f386
MD5 3ffdc6982dccbf61fddd284b4d6113fc
BLAKE2b-256 0cbf566a66850bbfd9f0bb25e416824b8df1ec920b1205ed4695c51c21e8cede

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