Python application template for personal use
Project description
pyprefab
A template-driven command line interface (CLI) that creates the scaffolding for a fully-functional, modern Python package. The goal of pyprefab is to get you straight to writing application code by handling project startup tasks like logging setup and creating a test harness.
The scaffolding includes:
- project files in the src layout format
pyproject.tomlwith dependency groupsCHANGELOG.md,CONTRIBUTING.md,.gitignore, andREADME.md- automated package versioning with setuptools-scm
- structlog-based pre-configured logging
- a pytest-based test harness
- a pre-commit configuration with common plugins like ruff for linting (optional)
- GitHub workflow that automatically runs code checks, tests, and a test coverage report
- GitHub workflows to publish the package to TestPyPI and PyPI
Quickstart
If you have uv installed,
uv tool run is the
fastest way to create a new Python package with pyprefab:
uvx pyprefab
Otherwise, use pip or pipx to install pyprefab:
python -m pip install pyprefab
python -m pyprefab
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyprefab-0.5.3.tar.gz.
File metadata
- Download URL: pyprefab-0.5.3.tar.gz
- Upload date:
- Size: 162.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f214f01f504eee0f17bdd85c09f83b94886b4fd209e04c00df8fbb054d9c7d0
|
|
| MD5 |
e09c16465e822fef617e0a9e7ee733b1
|
|
| BLAKE2b-256 |
1a66f8c32e3a94a5474d8a06d8e8faa95473145dee72fe8d9d52978395fa46f0
|
Provenance
The following attestation bundles were made for pyprefab-0.5.3.tar.gz:
Publisher:
publish-pypi.yaml on bsweger/pyprefab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyprefab-0.5.3.tar.gz -
Subject digest:
9f214f01f504eee0f17bdd85c09f83b94886b4fd209e04c00df8fbb054d9c7d0 - Sigstore transparency entry: 173669621
- Sigstore integration time:
-
Permalink:
bsweger/pyprefab@17706c05d41bf3ff445cb1f3dbfa7abebeea352f -
Branch / Tag:
refs/tags/v0.5.3 - Owner: https://github.com/bsweger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yaml@17706c05d41bf3ff445cb1f3dbfa7abebeea352f -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyprefab-0.5.3-py3-none-any.whl.
File metadata
- Download URL: pyprefab-0.5.3-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41f316a2bb5ba9a9c05c5c715fa86834461835408389be81aa97526db64c06a2
|
|
| MD5 |
6eb8a7bcbd9a808484c2454cfad00801
|
|
| BLAKE2b-256 |
9a35d6f74c370db09e6a91412f037501290d21a73c1ab70fa01ae4bf6ad90b7e
|
Provenance
The following attestation bundles were made for pyprefab-0.5.3-py3-none-any.whl:
Publisher:
publish-pypi.yaml on bsweger/pyprefab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyprefab-0.5.3-py3-none-any.whl -
Subject digest:
41f316a2bb5ba9a9c05c5c715fa86834461835408389be81aa97526db64c06a2 - Sigstore transparency entry: 173669622
- Sigstore integration time:
-
Permalink:
bsweger/pyprefab@17706c05d41bf3ff445cb1f3dbfa7abebeea352f -
Branch / Tag:
refs/tags/v0.5.3 - Owner: https://github.com/bsweger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yaml@17706c05d41bf3ff445cb1f3dbfa7abebeea352f -
Trigger Event:
push
-
Statement type: