Python Project Poetry Template
This is a template of a python project with all CI/CD tools implemented.
Features
direnvsupportcommitizensupportpre-commitsupport- 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
Metadata
Release files for python-project-poetry-template 0.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python_project_poetry_template-0.14.0.tar.gz | 22.6 kB | Without provenance | Details for python_project_poetry_template-0.14.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_project_poetry_template-0.14.0-py3-none-any.whl | Python 3 | none | any | Details for python_project_poetry_template-0.14.0-py3-none-any.whl |
Total release size: 45.7 kB
Release files / python_project_poetry_template-0.14.0.tar.gz
| Download URL | python_project_poetry_template-0.14.0.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85dacd837b26fe063939576017c5997176869e00cbd4c641da5e003aa7b49c7a
|
|
BLAKE2b-256 checksum How to use checksums |
d4b669ce45c60a6b54ac631debd736613c345997ba055aa9a7c21d496713e05f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.12 Linux/5.15.74-3-MANJARO
|
Release files / python_project_poetry_template-0.14.0-py3-none-any.whl
| Download URL | python_project_poetry_template-0.14.0-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe8fd34c6338994e1a8dbca12b1490c50b261f124640e4d1bc366fe60098e1ae
|
|
BLAKE2b-256 checksum How to use checksums |
d3d31df5253b553e0b5704db2e8942bedb39c917c827db89cd7caa77e69385a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.12 Linux/5.15.74-3-MANJARO
|
Security for python-project-poetry-template 0.14.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.