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
supportcommitizen
supportpre-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)
- Settings/Actions/General
Finally, locally:
- git remote add origin git@github.com:/.git
- git push -u --force origin master
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_project_poetry_template-0.14.0.tar.gz
.
File metadata
- Download URL: python_project_poetry_template-0.14.0.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.12 Linux/5.15.74-3-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85dacd837b26fe063939576017c5997176869e00cbd4c641da5e003aa7b49c7a |
|
MD5 | 415dcd61ba3a108995c6932f8e2cfed9 |
|
BLAKE2b-256 | d4b669ce45c60a6b54ac631debd736613c345997ba055aa9a7c21d496713e05f |
File details
Details for the file python_project_poetry_template-0.14.0-py3-none-any.whl
.
File metadata
- Download URL: python_project_poetry_template-0.14.0-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.12 Linux/5.15.74-3-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe8fd34c6338994e1a8dbca12b1490c50b261f124640e4d1bc366fe60098e1ae |
|
MD5 | cfea7ff64f0826fcf1cf121ba0aa3bd6 |
|
BLAKE2b-256 | d3d31df5253b553e0b5704db2e8942bedb39c917c827db89cd7caa77e69385a0 |