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

Uploaded Source

Built Distribution

epicsdbbuilder-1.4-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: epicsdbbuilder-1.4.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.8

File hashes

Hashes for epicsdbbuilder-1.4.tar.gz
Algorithm Hash digest
SHA256 be4c37aead8f2bb5500ef3e7693eee97ecd4fb3c1090324689062d0505de3325
MD5 6dd604ea2060eb55c8bc385acc425fa0
BLAKE2b-256 e459f14a532a757a721466cdb5e939f75258266a72f977e1b97227e85bf7d1c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: epicsdbbuilder-1.4-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.8

File hashes

Hashes for epicsdbbuilder-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0c3bb0ae55d618474880c1004218a3d3ac640235d04426df6622b75229c563fc
MD5 be2a4c88cbfb7f114ad115c317e03df9
BLAKE2b-256 7f8be56838eb4e2ebc75991549b0632472c0bc1465177e0067de4c19a4e9b7cd

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