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.3.tar.gz (12.2 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.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pup_core-0.0.3.tar.gz
  • Upload date:
  • Size: 12.2 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.3.tar.gz
Algorithm Hash digest
SHA256 c57f79d422a679f8288138d17ead1d93dbcaa33752fcc7459d4d655ec2039efc
MD5 3ae732f608af47941466aaef06136902
BLAKE2b-256 259015cdb64db8f0fc8af0921b8c0ce78d3dc65b47d450f722b2c3dc94b21e41

See more details on using hashes here.

Provenance

The following attestation bundles were made for pup_core-0.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: pup_core-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ac7f20306bf57f641dd6565605097b5961a71d766afb58177cb06cdfc1b8b305
MD5 c2915d406989cc0bccf4aa8a22f719b2
BLAKE2b-256 444273a4026740055ece7f08b9e726d4cdc2b3adec32096f6d4fb83166f62d6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pup_core-0.0.3-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