Skip to main content

pup-up: Professional Python Project Updater

PyPI Docs Site Repo Python 3.15 uv managed ty type checked Zensical docs MIT

CI Docs-Deploy Pre-Release Release Links Dependabot

pup logo

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. --diff shows 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.toml indicates ALL PY REPOS
  • pyproject.toml + src indicates ALL PY SRC REPOS
  • pyproject.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

.annotations/annotations.md

Citation

CITATION.cff

License

MIT

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)

Source distribution for pup-up 0.2.0
File Size Uploaded
pup_up-0.2.0.tar.gz 20.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pup-up 0.2.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page