Skip to content

miek770/python_uv_package_template

Repository files navigation

My Python Package Project Template

This is a Python package project template that combines the following libraries:

  • black: To automate formatting.
  • pre-commit: To active pre-commit hooks, including black.
  • pytest: To test the project.
  • twine: To publish to PyPI, for systems with older uv.

The rest of the readme is meant to be used as a template for package projects. The information is otherwise irrelevant for this template.

Installation

Install the package from PyPI with pip using:

pip install <pkg>

Usage

Examples

Contributing

Contributions are welcome; please:

  • Use uv.
  • Run uv sync to install the development environment.
  • Run uv run pre-commit install to active the pre-commit hooks, including black.
  • Ensure pytest runs without failures with make tests.
  • Be nice.

The source code is hosted at <homepage>.

License

<pkg> is licensed under the MIT License. See LICENSE file for details.

About

My Python package template

Resources

License

Stars

Watchers

Forks