Releasing a new version of the project to PyPi is fairly straight forward.

First, make sure you have the correct credentials for PyPi correctly configued on your machine.

Update and commit the Version History in the README.

Then, use ``bumpversion`` to increment the version numbers in the project. This will also create acommit and a tag automatically for the new version. For example, to increment the version numbersfor a 'patch' release:

.. code-block:: console

$ bumpversion patch $ git push --tags origin master

``bumpversion`` can increment 'patch', 'minor' or 'major' version numbers: