98f9b2b8ad4533a49b21bc21fa53defb90f031e2
in the previous version FloatRange(max=100) was neither working
properly nor complaining, because the maxval=None default was
overriding the value for max.
possible fixes:
- raise an error when min/max used as argument (confusing for
the programmer, as it is a property)
- allow both versions minval/maxval and min/max (more code)
- use min/max and a pylint directive here (the only thing to
take care is not to use the min/max builtin in __init__)
this change uses the last option for the fix
Change-Id: Iff0e0c4d0d7b165003bdeffa67a93a1cd7f29eea
Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/31982
Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de>
Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
Frappy: Framework for programming secnodes in Python
Frappy is a Python-framework for writing SECoP servers (called SECNodes or Nodes) and Clients. It comes with its own Graphical client and a collection of example Nodes. It is able to use TCP and Serial connections.
To get started, look at the provided demo, the provided examples, or have a look at the INTRODUCTION section.
Main development is done here and a readonly GitHub-mirror for easier access is available here.
Requirements
See requirements.txt.
Demo
Use the following command after installing the dependencies:
$ make demo
Documentation
Description
Languages
Python
99.9%