Python application template for personal use
Project description
pyprefab
A Python template for personal use. The package itself doesn't do much, but I keep it up to date as my Python workflow and tooling preferences evolve.
Installing and running the package (no development)
To install this package via pip:
pip install git+https://github.com/bsweger/pyprefab.git
To run it:
hello_world
Setup for local development
The instructions below outline how to set up a development environment based on uv tooling.
Prerequisites:
-
Clone this repository
-
Change to the repo's root directory:
cd pyprefab
-
Create a Python virtual environment and install dependencies. The command below creates a virtual environment in the
.venvdirectory, installs Python if needed, installs project dependencies (including dev dependencies), and installs the package in editable mode:uv sync -
Run the test suite to confirm that everything is working:
uv run pytest
Updating dependencies
Use uv add to include a
new dependency in the project. This command will install the new dependency
into the virtual environment, add it to uv.lock, and update the
dependencies section of pyproject.toml.
uv add <package-name>
To add a dependency to a specific group (adding a dev dependency, for example),
use the --group flag:
uv add <package-name> --group dev
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.2.0.tar.gz.
File metadata
- Download URL: pyprefab-0.2.0.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cd5230ad2a54bbaf8f02508211f537aa6f7c8d6ccbd39babbde0399fcc9633f
|
|
| MD5 |
d70735547dfd1e18d467d510a8fd7c95
|
|
| BLAKE2b-256 |
bbcedf281e24de5245ffa4099dfe91b8f0a2897c74b98351a0bb7ecbb3d41f3f
|
Provenance
The following attestation bundles were made for pyprefab-0.2.0.tar.gz:
Publisher:
publish-pypi.yml 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.2.0.tar.gz -
Subject digest:
6cd5230ad2a54bbaf8f02508211f537aa6f7c8d6ccbd39babbde0399fcc9633f - Sigstore transparency entry: 161665600
- Sigstore integration time:
-
Permalink:
bsweger/pyprefab@66cf3052b917cf8168e5a3b35b00877972393f06 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/bsweger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@66cf3052b917cf8168e5a3b35b00877972393f06 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyprefab-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pyprefab-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d6a8244f0d948bcdd88870ac69bf1e3418f35b86829b2f8da22bd08b0da86e3
|
|
| MD5 |
34319d0eabbb39408431a1240b90b217
|
|
| BLAKE2b-256 |
029eaf01dba10e3e0fd7ac7abdf40ce35dd24133e847d7e1e04aaf964d4d7742
|
Provenance
The following attestation bundles were made for pyprefab-0.2.0-py3-none-any.whl:
Publisher:
publish-pypi.yml 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.2.0-py3-none-any.whl -
Subject digest:
3d6a8244f0d948bcdd88870ac69bf1e3418f35b86829b2f8da22bd08b0da86e3 - Sigstore transparency entry: 161665602
- Sigstore integration time:
-
Permalink:
bsweger/pyprefab@66cf3052b917cf8168e5a3b35b00877972393f06 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/bsweger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@66cf3052b917cf8168e5a3b35b00877972393f06 -
Trigger Event:
push
-
Statement type: