A Copier-based cookiecutter for creating Python projects managed by uv.
Project description
Whiteprints
Table of contents
Background
whiteprints is a command line to generate Python projects managed by uv.
This is currently for my personal use, the documentation needs to be vastly improved. However if you like the project feel free to use it, ask me questions and even contribute 😊.
Highlights
- Managed by uv
- Tox, Pytest and Sphinx for the development
- Template for GitHub with actions to publish to PyPI, ReadTheDocs and CodeCov
The whiteprint command line is under GPL-3.0-or-later license, however the code templates used to generate the code are under MIT-0 license.
Try it!
All you need is a working uv
. If you don't already have it just open a
terminal and run:
- On macOS and Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
- On Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Then just run whiteprints with uvx:
uvx whiteprints init my_awesome_project
Answer a few questions and you're ready to go 🚀.
This will create a directory named my_awesome_project
containing your Python project.
To generate a GitHub template please look at the command line help
uvx whiteprints init --help
You may also have a look at the Documentation
Documentation
See: https://whiteprints.readthedocs.io/en/stable/.
Install
See INSTALL.md.
Maintainers
See MAINTAINERS.md.
Contributing
See CONTRIBUTING.md.
Contributors
Romain Brault 🚇 ⚠️ 💻 |
Licensing
The Python code of this project is distributed under license GPL-3.0-or-later.
In case of doubt, please check the SPDX header of each individual source code file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file whiteprints-0.10.2.tar.gz
.
File metadata
- Download URL: whiteprints-0.10.2.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a4d2aeccbff03d4c95b3e5edaf93c2ea2855b26e37d1030b09516cb135bcfa7 |
|
MD5 | f74610a47ffac2cc15eb27fd9b61b2d1 |
|
BLAKE2b-256 | 5ec05dbf1c3c146af01b2b2914166aa66590a5995471efac1b2d450a61fdbeb8 |
Provenance
The following attestation bundles were made for whiteprints-0.10.2.tar.gz
:
Publisher:
publish_pypi.yml
on whiteprints/whiteprints
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
whiteprints-0.10.2.tar.gz
- Subject digest:
2a4d2aeccbff03d4c95b3e5edaf93c2ea2855b26e37d1030b09516cb135bcfa7
- Sigstore transparency entry: 142130872
- Sigstore integration time:
- Predicate type:
File details
Details for the file whiteprints-0.10.2-py3-none-any.whl
.
File metadata
- Download URL: whiteprints-0.10.2-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d27940942885961515b9994e33a40fbaf26dc6468dae2cfdca00ac28232f49e3 |
|
MD5 | a4986d0e22d81234bf3e10106ca5b10a |
|
BLAKE2b-256 | 1d000829d899b55e7d4a4fa25efbd52bf1a815a0557e5ee51b09b83d5059ca96 |
Provenance
The following attestation bundles were made for whiteprints-0.10.2-py3-none-any.whl
:
Publisher:
publish_pypi.yml
on whiteprints/whiteprints
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
whiteprints-0.10.2-py3-none-any.whl
- Subject digest:
d27940942885961515b9994e33a40fbaf26dc6468dae2cfdca00ac28232f49e3
- Sigstore transparency entry: 142130880
- Sigstore integration time:
- Predicate type: