3 ms·
I've used https://github.com/pytransitions/transitions https://github.com/pytransitions/transitions in production python systems. It worked great but the syste
by dkarp 6y ago
I've used https://github.com/pytransitions/transitions https://github.com/pytransitions/transitions in production python systems.
It worked great but the system was fairly simple and wasn't changed often. In my opinion, it's nicer when the state machine can be defined as configuration (in XML or whatever) and then generate the code. Unfortunately that's not possible with vanilla pytransitions, but I suppose you could build a layer on top of it.
- pknerd 6y agoInteresting! > Unfortunately that's not possible with vanilla pytransitions Can you elaborate?
- pknerd 6y agoBTW, did you check this? https://github.com/pytransitions/transitions/blob/master/examples/Frequently%20asked%20questions.ipynb https://github.com/pytransitions/transitions/blob/master/exa...
- dkarp 6y agoI did not! I used it last a couple years ago, so maybe that's new. Thanks for sharing!