Skip to main content

wuti-py-util

codecov

A small Python toolkit for internal tools: read and write structured files, validate inputs, touch the filesystem safely, and optionally read CSV/Excel.

Requirements: Python >= 3.12. uv is recommended for local development.

Install

pip install wuti-py-util

The core package only depends on jsonschema and PyYAML. DataFrame and Excel features are opt-in:

Extra Enables Install
pandas conversion_stats, csv (CsvReader) pip install "wuti-py-util[pandas]"
excel excel (ExcelReader), includes pandas pip install "wuti-py-util[excel]"
all Everything above pip install "wuti-py-util[all]"

What this library is

Core modules: serialization, validation, filesystem, log, csv / excel (extras), check, plus small helpers (filelist, filehash, datetime, string, environment, process).

Frozen (kept for compatibility, no new features): database, web, dataclass_utils.

Development

Development dependencies (pytest, coverage, ruff, mypy, hatchling, etc.) live in [dependency-groups].dev in pyproject.toml — not as a published PyPI extra. Use uv from the repository root:

uv sync --group dev

Run checks through that environment:

uv run pytest
uv run ruff check .
uv run ruff format --check .
uv run mypy

If you intentionally use an already-active shared venv, use --inexact so uv does not remove packages installed manually with uv pip install:

uv sync --active --inexact --group dev
uv run --active pytest
uv run --active ruff check .
uv run --active ruff format --check .
uv run --active mypy

Build and publish

Version comes from __version__ in src/wuti/util/__init__.py. The GitHub Release workflow requires the git tag (vX.Y.Z) to match that version. PyPI rejects duplicate versions.

uv build
uv pip install dist/wuti_py_util-<version>.tar.gz

Publish to PyPI (https://upload.pypi.org/legacy/) with a PyPI API token via UV_PUBLISH_TOKEN or --token:

uv publish

Metadata

Release files for wuti-py-util 0.7.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wuti-py-util 0.7.6
File Size Uploaded Provenance Actions
wuti_py_util-0.7.6.tar.gz 38.9 kB Without provenance Details for wuti_py_util-0.7.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wuti-py-util 0.7.6
File Interpreter ABI Platform Actions
wuti_py_util-0.7.6-py3-none-any.whl Python 3 none any Details for wuti_py_util-0.7.6-py3-none-any.whl

Total release size: 87.3 kB

Release files / wuti_py_util-0.7.6.tar.gz

Download URL wuti_py_util-0.7.6.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e03de276932c61c2ffab2ae4fc61eeda66e056c2418bb3cdd38fb5136141cbe3
BLAKE2b-256 checksum
How to use checksums
2f2cadc5e75c8fd24f2692e56ea1a36a1b93be1bf75ec46044f8bb00d3055157
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / wuti_py_util-0.7.6-py3-none-any.whl

Download URL wuti_py_util-0.7.6-py3-none-any.whl
Size 48.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee0cb5c6d4045711637816960dbf8bf2765c48abf5ee62731b1d27682256a055
BLAKE2b-256 checksum
How to use checksums
0af5ebbbc9d416f281dcfd71e560b83a80bf09d4c7d495b0723892139d93b10f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for wuti-py-util 0.7.6

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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