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"
- With pip:
pip install uv
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.7.0.tar.gz
.
File metadata
- Download URL: whiteprints-0.7.0.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f220d55e6d53046466035b1766147e7814d4116bf9db52a902fd01222d450b13 |
|
MD5 | 577096d5085275a2c50f1a647429364d |
|
BLAKE2b-256 | a038ce99bc6bb26e29e9b9afe59662abda87bcb63a3410067ece8848c4817a62 |
Provenance
The following attestation bundles were made for whiteprints-0.7.0.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.7.0.tar.gz
- Subject digest:
f220d55e6d53046466035b1766147e7814d4116bf9db52a902fd01222d450b13
- Sigstore transparency entry: 138172339
- Sigstore integration time:
- Predicate type:
File details
Details for the file whiteprints-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: whiteprints-0.7.0-py3-none-any.whl
- Upload date:
- Size: 27.3 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 | b892b2c76179ceafbb2a4f012d36faf022edbd95917cf976225f4d26cb9f0678 |
|
MD5 | e6fa0992c5675a90ebf557c4ab155b3b |
|
BLAKE2b-256 | 78cd8bcafbe65133423144395355fbff4377e78df164d93fb8873990fbc68d63 |
Provenance
The following attestation bundles were made for whiteprints-0.7.0-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.7.0-py3-none-any.whl
- Subject digest:
b892b2c76179ceafbb2a4f012d36faf022edbd95917cf976225f4d26cb9f0678
- Sigstore transparency entry: 138172340
- Sigstore integration time:
- Predicate type: