"How do you create a Python package? How do you set up automated testing and code coverage? How do you publish the package? That's what this article teaches you." — delivered as promised!
Even more: "created a Python package;
set up Poetry for dependency management;
set up a GitHub repository to host the code;
defined some pre-commit hooks to make sure we only make commits that meet certain criteria;
added a (fairly permissive) license to the project;
configured Poetry to allow uploading to PyPI and a test version of PyPI;
tested uploading the package to a test version of PyPI;
added Scriv to help us with changelog management and generation;
tagged and published a release of our project;
wrote a bunch of tests;
automated testing and linting with tox;
checked code coverage and got it to 100%;
set up CI/CD with GitHub actions to run linting and testing;
integrated with Codecov to get coverage reports in our pull requests;
created a GitHub action to publish our package to PyPI automatically; and
added some nifty badges to the README file."
Original author here: don't make promises you won't keep, right? :P