pup-core: Professional Python Project Tools: Core Library
Shared core library for opinionated professional Python project tools.
Purpose
This library centralizes functionality across tools, including:
- repository root and project detection
pyproject.tomlinspection- 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-upsynchronizes professional project scaffolding with managed templates.pup-checkverifies that a project is internally consistent.pup-tidyremoves 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/pup-pack/pup-core
cd pup-core
code .
In a VS Code terminal
uv self update
uv python pin 3.15
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
# 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-core 0.1.3
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_core-0.1.3.tar.gz | 15.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pup_core-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.8 kB
Release files / pup_core-0.1.3.tar.gz
| Download URL | pup_core-0.1.3.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfb14814e7ae3fce5b2ad25114685eb38222e9e88073716a954927bc378074bb
|
|
BLAKE2b-256 checksum How to use checksums |
f0b74f64fd9fe38786c5ed11fa6b4d2cd31b7f16d92aa4006da925de5a62028b
|
| 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 14, 2026.
Transparency logRelease files / pup_core-0.1.3-py3-none-any.whl
| Download URL | pup_core-0.1.3-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd7b3ff4004ba9ad909e7d2e79d098e8b72b7fdf43a285543d0aa2e87da8b699
|
|
BLAKE2b-256 checksum How to use checksums |
16dd9a22e952557729d83f9b911a28862c0e6e16582aae285ac8919f1d83e942
|
| 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 14, 2026.
Transparency log