A template repository for a modern Python library
The template library is libname
to make it clear what is needed for replacement
- Edit
setup.py
to reflect all of your library's needs and requirements - Edit the paths to badges in the
README
to match your library's locations- Change
libame
to your library's name - Change
matthewfeickert
to your username or org name on GitHub - Change
python-library-template
to your project name on GitHub (probably the same as the library name)
- Change
- Replace the rest of the
README
contents with your information - Run
git grep "libname"
to make sure that you have changed all instances oflibame
(it is easy to miss the dotfiles) - Setup accounts with Codecov, LGTM, and CodeFactor
- Generate a Codecov token and add it to your GitHub repo's secrets with name
CODECOV_TOKEN
When you want to increment the version number for a new release use bumpversion
to do it correctly across the whole library.
For example, to increment to a new patch release you would simply run
bumpversion patch
which given the .bumpversion.cfg
makes a new commit that increments the release version by one patch release.