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

Uploaded Source

Built Distributions

epicsdbbuilder-1.5-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

epicsdbbuilder-1.5-py2-none-any.whl (23.7 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: epicsdbbuilder-1.5.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for epicsdbbuilder-1.5.tar.gz
Algorithm Hash digest
SHA256 698ad5882de4a626a82086139ff95204e8de72e63d03d9f22d4418da3a6c8566
MD5 b739ab61a8a2652e6991e33e451cedc4
BLAKE2b-256 cc31c1b5f49621934d1bcd87d306817d9d81fa5d0935476d7ba73b98181f6557

See more details on using hashes here.

File details

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

File metadata

  • Download URL: epicsdbbuilder-1.5-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for epicsdbbuilder-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ae8dc724c72478d2c6a68b08145d027a50af98702d17e4692f2d73f145818e74
MD5 230a7a9685ddea7e6d7103fcf7d88b2c
BLAKE2b-256 10f8858c81f516cb9d1c1f73e8bf379be2cbec4388c93f48a4eb118c47f32d4d

See more details on using hashes here.

File details

Details for the file epicsdbbuilder-1.5-py2-none-any.whl.

File metadata

  • Download URL: epicsdbbuilder-1.5-py2-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.2 requests/2.26.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.18

File hashes

Hashes for epicsdbbuilder-1.5-py2-none-any.whl
Algorithm Hash digest
SHA256 32321c0eff5209a1604464a19e30a73429f597efe4df69f1f859758c3a14ebc7
MD5 412ce9efb7a807668fcb265aec3dd7a8
BLAKE2b-256 135b8d9f0e864bf81c9c7718a083f06ba280e5dbae5bc5f21b8bee5f9f325ac8

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