Skip to main content

pysmlib

Python Finite State Machines for EPICS

Developers: Damiano Bortolato - Davide Marcato @ Laboratori Nazionali di Legnaro - INFN

Main Repository: https://github.com/darcato/pysmlib

Full documentation: https://darcato.github.io/pysmlib/docs/html/

Main features

  • Easy to use and fast development of complex event based fsm - just code the states!
  • Full EPICS Channel Access integration via PyEpics.
  • High expandability as provided by all the libraries of Python.
  • Integrated configurable logging systems.
  • Convenient methods to access all the information on I/O.
  • Timers can be used to execute actions after a time delay.
  • Integrated watchdog logic.
  • Multi-threading: each fsm is executed on a different thread, sharing I/O.
  • Convenient loader to launch a daemon with multiple fsm.
  • Possibility to apply a configurable naming convention on I/O.

Installation

To install simply run:

pip install pysmlib

or download the latest release/sources from github, unpack it and run:

cd pysmlib
pip install .

Dependencies

Requires Python 3.6+. Pyepics is required and automatically installed by pip. Sphinx and its theme "Read the Docs" are required to build the documentation.

Example

Examples can be found on the examples folder.

Metadata

Release files for pysmlib 3.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysmlib 3.4.2
File Size Uploaded
pysmlib-3.4.2.tar.gz 52.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysmlib 3.4.2
File Interpreter ABI Platform
pysmlib-3.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 88.8 kB

Release files / pysmlib-3.4.2.tar.gz

Download URL pysmlib-3.4.2.tar.gz
Size 52.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cc3fba9e3f53d796fb1d526626fc2fa6a816d541fc706de372ac459e36dde740
BLAKE2b-256 checksum
How to use checksums
d75c679661d8166c0030f4ec44ca1f3bfbfd17731b46bdcd8db884bdb7c0865e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / pysmlib-3.4.2-py3-none-any.whl

Download URL pysmlib-3.4.2-py3-none-any.whl
Size 36.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ef405b3c9a826af9b2a70dc56c2a7f28e1630ad5ce05af0aaaecbd35ee424f8
BLAKE2b-256 checksum
How to use checksums
a2e92603d00fe24f4d6680d71f0edf21367cb7ae3a76e60e4d90e1de3b71a3eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

3.4.2 This release

2 release files

3.4.1

2 release files

3.4.0

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page