Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.1.1 instead.
Reason given by maintainers: superseded

pup-core: Professional Python Project Updater: Core

PyPI Docs Site Repo Python 3.15 License

CI Docs-Deploy Pre-Release Release Links Dependabot

Shared core library for opinionated professional Python project tools.

Purpose

This library centralizes functionality across tools, including:

  • repository root and project detection
  • pyproject.toml inspection
  • Python package and source-layout detection
  • notebook detection
  • Python version normalization
  • project and package name normalization
  • safe repository-relative path handling
  • Git and repository metadata inspection
  • managed file-section detection and manipulation
  • shared immutable types and errors

pup-core contains shared mechanisms rather than project policy.

The user-facing tools determine what should happen:

  • pup-up synchronizes professional project scaffolding with managed templates.
  • pup-check verifies that a project is internally consistent.
  • pup-tidy removes known generated artifacts when preparing teaching repositories for release.

Professional Python Project Tools

Template Source

Developer Command Reference

Show command reference

In a machine terminal

Open a machine terminal where you want the project:

git clone https://github.com/denisecase/pup-core

cd pup-core
code .

In a VS Code terminal

uv self update
uv python pin 3.15
uv lock --upgrade
uv sync --upgrade

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

# types, tests, docs
uv run python -m pyright
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

Annotations

.annotations/annotations.md

Citation

CITATION.cff

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pup_core-0.0.4.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pup_core-0.0.4-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file pup_core-0.0.4.tar.gz.

File metadata

  • Download URL: pup_core-0.0.4.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pup_core-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d2318d6f718b9b688c157c6140796c7ea8b063abeeaaaee1bce22c15e95a4c4b
MD5 826f67267e23d56354f54cb8c55e679d
BLAKE2b-256 d36f9af9b8128b51c857db7537bc4bc637bc1d094fbfacccb231e68406a55912

See more details on using hashes here.

Provenance

The following attestation bundles were made for pup_core-0.0.4.tar.gz:

Publisher: release-pypi.yml on denisecase/pup-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pup_core-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pup_core-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pup_core-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3d37e594f6c2c9de1ddcba4d5442b9f0a1c8de4df4bf60ed1e830413736c182c
MD5 c4d6c732e94d06d4ddade38507be48f4
BLAKE2b-256 874947d04e371d6585c8ae8b8c3a836032f592edaf44c4a9e4c6064cacc2537f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pup_core-0.0.4-py3-none-any.whl:

Publisher: release-pypi.yml on denisecase/pup-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page