I had wanted to follow the guide for automated PyPI releases here (https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/), but ended up getting carried away with the PyPI packaging process. Now, I can turn to updating my three repositories to automatically deploy new releases to PyPI. Begin by creating new tokens for the PyPI package on both testpypi and pypi proper…
Category: python
Add Python package to pypi
I’ve uploaded a couple pypi packages in the past, but have never really kept them updated. Apparently, the updating process can be automated using Github Actions: https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/. (I’ll look at the next time.) For now, I’m going to use this tutorial (and revisit pypi-setup doco) to add a new package, regexify, and update it so…
hypothesis for strings
I’ve never tried hypothesis. I recall watching a talk several years ago and thought how great an idea it is…but like with too many great ideas I witness, my lack of follow-up is disturbing. The goal of a library like hypothesis is to do ‘property-based testing’. Random data is provided as input (random data which…