Skip to main content

EPICS Database Builder

Project description

Code CI Docs CI Test Coverage Latest PyPI version Apache License

This Python module is designed to make it easy to build complex EPICS databases by writing a Python script. While writing record templates the corresponding dbd entries are checked to reduce the number of errors in the database.

PyPI

pip install epicsdbbuilder

Source code

https://github.com/dls-controls/epicsdbbuilder

Documentation

https://dls-controls.github.io/epicsdbbuilder

A simple example of the use of this library is the following:

from epicsdbbuilder import *
InitialiseDbd('/dls_sw/epics/R3.14.12.3/base/')
SetTemplateRecordNames()

a = records.ao('TEST')
c = records.calc('CALC', CALC = 'A+B', SCAN = '1 second', INPA = a.VAL)
c.INPB = c

WriteRecords('output.db')

See https://dls-controls.github.io/epicsdbbuilder for more detailed documentation.

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

epicsdbbuilder-1.4.1.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

epicsdbbuilder-1.4.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file epicsdbbuilder-1.4.1.tar.gz.

File metadata

  • Download URL: epicsdbbuilder-1.4.1.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for epicsdbbuilder-1.4.1.tar.gz
Algorithm Hash digest
SHA256 75d591ea730c7f8814872ec568a2afe3efb30d64af6fce25b92d9ebc6d19f943
MD5 774377fe9858fc9f71d85e464bf34f96
BLAKE2b-256 69e053608c2a09e2e829023a306da0f303ecaea5892211cbb6ae9fa0be69369b

See more details on using hashes here.

File details

Details for the file epicsdbbuilder-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: epicsdbbuilder-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for epicsdbbuilder-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4eef4ca9b749cf959f99e93c836554558a28f9591e925a7c324ba26d11da9bb
MD5 79bf5b161b3c9990f274e644db3e369f
BLAKE2b-256 4a82ace4b0a3cb514a1470ebbca5c7e4cd71ec0146f9e4a157f96020b85dcedb

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