Skip to content

bmritz/cookiecutter-hypermodern-python

 
 

Repository files navigation

cookiecutter-hypermodern-python

Status Python Version CalVer License
Read the documentation Tests Codecov
pre-commit enabled Black codestyle Contributor Covenant

logo

Cookiecutter template for a Python package based on the Hypermodern Python article series.

✨📚✨ Read the full documentation

Usage

Create the repository

cookiecutter gh:bmritz/cookiecutter-hypermodern-python
cd <created directory>
git init
git branch -M main
# Open `noxfile.py` and change `python_version_default` to a version of python installed on your machine.
make install

Development troubleshooting

If you see:

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

Go to /Applications/Python3.x and run 'Install Certificates.command'

Setup Github Actions

  • Set the appropriate Github Actions Secrets in Github.
    • Check the Release Workflow to see what secrets need to be set for successful release. Secrets will look something like ${{ secrets.<> }} in that file.
    • Note: ${{ secrets.GITHUB_TOKEN }} is set up automatically by Github Actions on each run in a typical set up.

Setup The Documentation

  • Log into readthedocs.io (log in with github username, and authorize readthedocs to read the repository)
  • Select your newly created repository to track for builds

Features

The template supports Python 3.8, 3.9, 3.10, and 3.11

About

Python Library Cookiecutter

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 88.6%
  • Makefile 11.4%