Skip to main content

Python Project Poetry Template

Project description

Python Project Poetry Template

This is a template of a python project with all CI/CD tools implemented.

Features

  • direnv support
  • commitizen support
  • pre-commit support
  • Github Actions support
  • Version bumping support

External requirements:

  • direnv
  • task
  • git-flow

Understand how it works

Making new releases with git is not that simple. Actually, this mechanism with the current tools we have does not really support well nomenclature change in the git history. If you want to experiment, you may want to sometime reset your git history to start from a fresh clean.

Howto

Completely reset the project

Locally:

  • git clone REPO -b <BRANCH_YOU_WANT_TO_KEEP> RESET

  • git clone git@github.com:mrjk/python-project-poetry-template.git -b main RESET
  • cd RESET
  • rm -rf .git
  • git init .
  • git add .
  • git commit -m "Initial commit"

On github (if you want to clean actions and releases as well):

  • Delete your repository
  • Recreate your repo with the same name
  • Ensure in the settings:
    • Settings/Actions/General
      • Check: Allow all actions
    • Settings/Pages
      • Check: Deploy from branch
      • Branch: gh_page
      • Dir: / (root)

Finally, locally:

  • git remote add origin git@github.com:/.git
  • git push -u --force origin master

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_project_poetry_template-0.14.0.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page