Skip to content

rlipperts/python_package_template

Repository files navigation

python_package_template

Default files and structure for python package repositories (aimed at personal use)

installation

There are no PyPI releases. Neither are they planned.

setup project environment for development

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_name and module name src/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 packages table
    • remove the template workflow under .github/workflows/template_tests.yml
  • Setup poetry environment
    • poetry lock
    • poetry 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

usage

Write a more or less detailed description on how to use your package!

About

Default files and structure for python package repositories (aimed at personal use)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages