I just released "yapyseq": a sequencer for Python functions
https://github.com/romaintt/yapyseq : Yet Another Python Sequencer
I just want to share with you my biggest Python project (actually, I released version 1.1).
Here is an extract of the README, to explain what it is:
If you have a bunch of Python functions in a bunch of files, which can be called in various orders in function of the need, you have two choices:
- Call these functions in classic python scripts, ordering the calls with Python statements. You have to write from scratch the conditional structures, the multiprocessing management if necessary, and eventually write a lot of code.
- Use yapyseq to write a sequence. A sequence file has its own syntax, it makes references to Python functions that must be called. The calls, the conditional transitions between them, the multiprocessing, the logging, all of these things are automatically managed by yapyseq without writing a single line of Python code.
https://i.redd.it/lppzrratd6431.png
My first need was to create a test framework more flexible than pytest. but I have first written a flexible engine made to create complex sequences without even the notion of tests. yapyseq is very generic, and tests will only be an example of use in the future. Also, it was a chance to write code with features available from Python 3.6 and let 2.7 far behind.
I have many ideas for the next steps, the major one being a GUI to write sequences !
Posted Jun 13, 2019, 7:41 PM UTC