Hey there,
I just started to use jupyter notebooks
and because they are so awesome ( https://www.youtube.com/watch?v=ykwqXuMPsoc ) i thought it could be worth to use them to develop an easy to modify and at the same time well documented wrapper for python
as already mentioned in the non-dev-forum i forked the python wrapper
https://github.com/rid-dim/PySafeAPI
the notebook can be easily exported to a documentation-html:
https://rid-dim.github.io/PySafeAPI/safeAPI/safeAPI
(as i look at the site now … i think it would make way more sense to give examples on how to use the implemented functions and only link the safenet-sources instead of explaining why it is implemented like this)
as well as it can be exported to a python wrapper that can be imported by people via the simple “import safeAPI”
at the beginning of their script
I thought I’d mention it here hoping that others might give some feedback on this idea …?
(and yes i am aware that adding functions to a class like i do is probably no good object-oriented programming - but it is easy, works, makes it possible to develop and debug within the notebook and makes it possible to spread the class definition across several code-cells)
is this nonsense or do you think it could make sense when documenting how to use the functions …?
too complicated for others to contribute …? (notebooks are json-format … so merging shouldn’t be a problem …? what do you think …?)