pup-up: Professional Python Project Updater
Opinionated professional Python project template synchronizer
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-up makes it easy to keep the infrastructure files commonly used in
professional projects current and consistent.
Benefits
pup-up is pull-based.
Each repository fetches the current baseline and applies it on its own terms.
Nothing reaches in from a central place, so:
- Repo owner is in control. Run it when you choose. The default is a dry run;
nothing is written until you pass
--write. - See before accept.
--diffshows exactly what would change, line by line, before any file is touched. - Blast radius is one repo. A template change is applied per repository.
- Local differences survive. A repo that needs to diverge just doesn't take a specific file. Templates offer an optional baseline, never a mandate.
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 REPOSpyproject.toml+src+[build-system]+[tool.hatch.version]+[project.urls]indicates ALL PY SRC PYPI REPOS
Default Template Source
Update a Repo based on Templates
# see what files would change (dry run, the default)
uvx pup-up
# run the latest published version in dry-run mode
uvx pup-up@latest
# see exactly what would change, line by line
uvx pup-up --diff
# add and overwrite all the files listed (CAUTION: DESTRUCTIVE)
uvx pup-up --write
# add and overwrite only specific files listed (CAUTION: DESTRUCTIVE)
uvx pup-up --write .gitattributes .github/.yamllint.yml .github/workflows/links.yml
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-up
cd pup-up
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-up
uv run pup-up --diff
uv run pup-up --write
uv run pup-up --write .gitattributes .github/.yamllint.yml .github/workflows/links.yml
# 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
Release files for pup-up 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pup_up-0.2.0.tar.gz | 20.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pup_up-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.6 kB
Release files / pup_up-0.2.0.tar.gz
| Download URL | pup_up-0.2.0.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
655a1e8a03445e7f78f043b4bbd8a052a0f60c5b872c5b20b7d4984f6d0f4f6d
|
|
BLAKE2b-256 checksum How to use checksums |
acca28e2a71b45f764c0f86b412e9663288f1ce9e272dbc3f091dfd301cfeb92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / pup_up-0.2.0-py3-none-any.whl
| Download URL | pup_up-0.2.0-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d35f09fd68cdf9f433f1555146fcbac2221d160a853605ba14f9be33a4be1fe7
|
|
BLAKE2b-256 checksum How to use checksums |
12e0a73e375f8edb70719661b28605968b87074bd981d0ed9f1c4fdf43975bfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency log