Default files and structure for python package repositories (aimed at personal use)
There are no PyPI releases. Neither are they planned.
To setup this project to develop in it:
- Install python 3.12 and poetry
- Create your github repository using this template and clone it
- Adjust template
- edit this readme
- change your package-name
src/package_nameand module namesrc/package_name/module_name.py - change the name of the test under
tests/test_module_name.py - adjust the project data in the
pyproject.toml- change the name of your project
- adjust author, version, description
- update the path to your code in the
packagestable
- remove the template workflow under
.github/workflows/template_tests.yml
- Setup poetry environment
poetry lockpoetry install --with dev
- Optional: Install the ruff pre-commit hooks (this forces you to make your code pretty before you can commit)
poetry run pre-commit install
Write a more or less detailed description on how to use your package!