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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: epicsdbbuilder-1.4.2.tar.gz
  • Upload date:
  • Size: 18.1 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.61.0 CPython/3.7.10

File hashes

Hashes for epicsdbbuilder-1.4.2.tar.gz
Algorithm Hash digest
SHA256 ccb1caec1689f6a67105af807f3a271b606174d4d908cfd10ff792b7d4d27bdd
MD5 09ffede3f54389a4ef9edbe68774de6f
BLAKE2b-256 4624e5121e8675d5397d3e0e345f23de21f83df567693360a18633837fcd695f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: epicsdbbuilder-1.4.2-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.61.0 CPython/3.7.10

File hashes

Hashes for epicsdbbuilder-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c91d0095d0ac3b9abbabbacf5882fc0c02cf53f726c18e4439e0bcdea1ad9e28
MD5 fc608c0760ea0a6e22cd964f46e66f32
BLAKE2b-256 2479fd24f34763995635680d9f5af2c4db955c232b91531dedafaf1ee1a5dbe0

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