Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/astrojuanlu/copier-pylib

template for pure Python libraries. As simple as possible. No magic.
https://github.com/astrojuanlu/copier-pylib

copier copier-template packaging-python python

Last synced: about 2 months ago
JSON representation

template for pure Python libraries. As simple as possible. No magic.

Awesome Lists containing this project

README

        

# copier-pylib

[Copier](https://github.com/copier-org/copier) template for pure Python libraries.

_As simple as possible. No magic._

## Features

- [uv] for project management.
- [pytest] for testing.
- [tox] for automation of test runners and other stuff.
- [Sphinx] for documentation
- [GitHub Actions] for continuous integration and publishing to PyPI.
- [Read the Docs] for continuous documentation.
- [mypy] for type checks.
- [ruff] for style checks and automatic Python code formatting.
- [pre-commit] for optional automation of style checks.
- [PDM] as build backend.

## Usage

Install `copier`:

```
uv tool install copier
```

Generate a Python package:

```
copier copy gh:astrojuanlu/copier-pylib path/to/destination
```

## License

[MIT License](LICENSE)

[uv]: https://github.com/astral-sh/uv
[copier]: https://github.com/copier-org/copier/
[mypy]: http://mypy.readthedocs.io/
[PDM]: https://pdm-project.org/
[pytest]: https://docs.pytest.org/
[Sphinx]: http://www.sphinx-doc.org/
[tox]: https://tox.readthedocs.io/
[ruff]: https://docs.astral.sh/ruff/
[pre-commit]: https://github.com/pre-commit/pre-commit/
[GitHub Actions]: https://github.com/features/actions/
[Read the Docs]: https://readthedocs.org/