5 ms·
Author here. This repo got popular before I had a chance to write README and organize code. I am going to make the code more consistent, add tests, and write br
by kwk236 9y ago
Author here. This repo got popular before I had a chance to write README and organize code. I am going to make the code more consistent, add tests, and write brief tutorials by the following month. Please let me know if you have suggestions.
- a3n 9y agoSuggestion: a short main() and if __name__ = ... for each file, serving as a demo/smoke test. It doesn't stop you from importing it as a module, and it's nice to see using code.
- felixhummel 9y agoAlong the same lines - use doctests maybe? if __name__ == "__main__": import doctest doctest.testmod() https://docs.python.org/3.5/library/doctest.html https://docs.python.org/3.5/library/doctest.html