On 2020-08-26 I released working changes to PYPI on the majority of my active public repositories. The new latest versions are: https://github.com/Erotemic/xdoctest - 0.14.0 https://github.com/Erotemic/ubelt - 0.9.2 https://gitlab.kitware.com/utils/scriptconfig - 0.5.8 https://gitlab.kitware.com/computer-vision/netharn - 0.5.10 https://gitlab.kitware.com/computer-vision/ndsampler - 0.5.11 https://gitlab.kitware.com/computer-vision/kwplot - 0.4.7 https://gitlab.kitware.com/computer-vision/kwimage - 0.6.5 https://gitlab.kitware.com/computer-vision/kwcoco - 0.1.5 See the CHANGELOG.md in each repo for details about what's… Continue reading New Package Releases, ubelt, xdoctest, and more
Category: Programming
Autogenerate explicit __init__.py files with mkinit
Today I want to talk a little bit about how to setup a Python package. Hopefully you are familiar with this already, but if not, let me give a quick overview. When building anything in Python that requires more than one file, you should always put it into a package with a directory structure following… Continue reading Autogenerate explicit __init__.py files with mkinit
Extending Python Doctests – xdoctest
If you're like me and you've ever wanted to (1) write tests without opening a new file, (2) give your functions interactive entry points, (3) provide example usage for API calls, or (4) simply thought "hmm, that's neat" when you saw how vim highlights text in docstrings prefixed with ">>>", then you may be interested… Continue reading Extending Python Doctests – xdoctest