Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alvarobartt/python-package-template

🎈 A Python package template using pyproject.toml, hatch, pre-commit, black, ruff, and mkdocs.
https://github.com/alvarobartt/python-package-template

black hatch mkdocs mkdocs-material pyproject-toml python-package ruff template

Last synced: about 2 months ago
JSON representation

🎈 A Python package template using pyproject.toml, hatch, pre-commit, black, ruff, and mkdocs.

Awesome Lists containing this project

README

        

# 🎈 Python Package Template

## ✨ Features

* Package configuration with `pyproject.toml` built with `hatch`
* Code formatting and linting with `ruff`, and `black`
* `Dockerfile` with package installation
* `pre-commit` configuration file
* GitHub Codespaces can be created from `.devcontainer`
* CI-CD Pipelines with GitHub Actions
* Basic `pytest` set-up for unit tests
* Auto-generated docs with `mkdocs` and `mkdocs-material`

## 🚚 Replacements

* `REPLACE_PACKAGE_NAME`: name of the package (usually the same name as the repository in which it's hosted).
* `REPLACE_PACKAGE_DESCRIPTION`: description of the package.
* `REPLACE_FULL_NAME`: user's full name.
* `REPLACE_EMAIL`: user's email.
* `REPLACE_GITHUB_USERNAME`: GitHub username of the package owner.