Skip to main content

pup-core: Professional Python Project Tools: Core Library

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

Shared core library for 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
  • Python source-file and module-docstring inspection
  • notebook detection
  • Python version normalization
  • project and package name normalization
  • safe repository-relative path handling
  • Git metadata and file-history inspection
  • GitHub Actions workflow and action-version inspection
  • canonical template discovery, layering, fetching, and rendering
  • reusable file and content comparison
  • managed file-section detection and manipulation
  • shared immutable types and errors

pup-core contains shared repository inspection, template, comparison, metadata, Git-history, Python-source, and GitHub Actions mechanisms.

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 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

# 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-core 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-core 0.2.0
File Size Uploaded
pup_core-0.2.0.tar.gz 21.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pup-core 0.2.0
File Interpreter ABI Platform
pup_core-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 48.3 kB

Release files / pup_core-0.2.0.tar.gz

Download URL pup_core-0.2.0.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d96bb9f1a22d37da278fad4373b4a2c3992bd7c3f3a82020d409fa27b1a576d6
BLAKE2b-256 checksum
How to use checksums
212b8c96a4a8966be882f782e4659337fc2897a8d33de64e179f9f651a8a91f0
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_core-0.2.0-py3-none-any.whl

Download URL pup_core-0.2.0-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcda5c9795deddddce3ad00ed1165f0ec6b765e0dcf92cd7a294fd6800874cc5
BLAKE2b-256 checksum
How to use checksums
7bf4684ddc5b275ed0f536b46b9b771b4c7d82bdeab9fbf264d239a2259e782a
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.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

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