pup-down: Reports Repo Infrastructure Changes That Belong in Templates
Report-only. Compares the active repository's infrastructure against canonical templates and lists the files the repo has moved ahead on that may be worth copying back upstream.
Purpose
Professional Python repositories commonly share infrastructure such as:
- editor and Git configuration
- ignore and line-ending rules
- Markdown, YAML, and link checking
- formatting, linting, type checking, and testing
- documentation tooling
- continuous integration
- package and release validation
pup-down makes it easy to identify infrastructure improvements made
during recent work that should possibly be copied back to the canonical
templates.
Benefits
pup-down is report-only.
Each repository fetches the current baseline and compares it with its
own infrastructure.
Nothing reaches in from a central place, so:
Repo owner is in control. Run it when you choose. No files are updated. A list of changes to possibly copy to the canonical template files is provided.
Templates are fetched by immutable commit SHA, so an update always reflects the latest push to the template repository and every run is pinned to an exact template commit.
Repo type is inferred from the presence of key files so no extensive configuration is needed. For example:
- ALL REPOS
pyproject.tomlindicates ALL PY REPOSpyproject.toml+srcindicates ALL PY SRC REPOS
Default Template Source
Compare a Repo with Templates
# compare with canonical templates
uvx pup-down@latest
# compare using the latest published pup-down version
uvx pup-down@latest
Developer Command Reference
Show command reference
In a machine terminal
Open a machine terminal where you want the project:
git clone https://github.com/pup-pack/pup-down
cd pup-down
code .
In a VS Code terminal
uv self update
uv python pin 3.15
uv python install
uv lock --upgrade
uv sync
uv run pre-commit install
uv run pre-commit autoupdate
git add -A
uv run pre-commit run --all-files
# repeat if changes were made
uv run pre-commit run --all-files
# run locally to test
uv run pup-down
# types, tests, docs
uv run ty check
uv run python -m pytest
uv run python -m zensical build
# save progress
git add -A
git commit -m "update"
git push -u origin main
Documentation
Annotations
Citation
License
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 pup_down-0.2.0.tar.gz.
File metadata
- Download URL: pup_down-0.2.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8aa2c3cd8ab60ff86ff5a9bd47f18851013867115eb6772cd74682f53b655afb
|
|
| MD5 |
338c0def5ca84eab70ebb8d62af417f7
|
|
| BLAKE2b-256 |
fe5c7c61f997094790ba709a2ebb5d74e3e6838f0eba3389a95c5d113fa61b44
|
Provenance
The following attestation bundles were made for pup_down-0.2.0.tar.gz:
Publisher:
release-pypi.yml on pup-pack/pup-down
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pup_down-0.2.0.tar.gz -
Subject digest:
8aa2c3cd8ab60ff86ff5a9bd47f18851013867115eb6772cd74682f53b655afb - Sigstore transparency entry: 2604322624
- Sigstore integration time:
-
Permalink:
pup-pack/pup-down@a02c120506b1c6c027d2028d104554df29712b66 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/pup-pack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@a02c120506b1c6c027d2028d104554df29712b66 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pup_down-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pup_down-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1b571dd54fde3215ecfe466cfb441571e4a1768846e00f9ed74290d960730b0
|
|
| MD5 |
eb89c8ab2b00f3d2b76a696c652cec0f
|
|
| BLAKE2b-256 |
5ffc0fca1a02939faf2c778cb603f631360773321824bf5b162c68823067a8ce
|
Provenance
The following attestation bundles were made for pup_down-0.2.0-py3-none-any.whl:
Publisher:
release-pypi.yml on pup-pack/pup-down
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pup_down-0.2.0-py3-none-any.whl -
Subject digest:
e1b571dd54fde3215ecfe466cfb441571e4a1768846e00f9ed74290d960730b0 - Sigstore transparency entry: 2604322628
- Sigstore integration time:
-
Permalink:
pup-pack/pup-down@a02c120506b1c6c027d2028d104554df29712b66 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/pup-pack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@a02c120506b1c6c027d2028d104554df29712b66 -
Trigger Event:
push
-
Statement type: