Skip to content

bmritz/cookiecutter-hypermodern-python

This branch is 60 commits ahead of, 5 commits behind cjolowicz/cookiecutter-hypermodern-python:main.

Folders and files

NameName
Last commit message
Last commit date
Apr 26, 2023
Apr 26, 2023
Apr 30, 2020
Nov 12, 2021
Apr 29, 2023
Apr 22, 2020
Mar 25, 2023
May 16, 2022
Apr 5, 2020
May 25, 2022
May 25, 2022
May 26, 2022
Apr 26, 2023
Jan 3, 2022
May 26, 2022

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

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.6%
  • Makefile 11.4%