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.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 wuti-py-util 0.7.0
File Size Uploaded Provenance Actions
wuti_py_util-0.7.0.tar.gz 35.9 kB Without provenance Details for wuti_py_util-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 80.7 kB

Release files / wuti_py_util-0.7.0.tar.gz

Download URL wuti_py_util-0.7.0.tar.gz
Size 35.9 kB
Tags Source
SHA-256 checksum
How to use checksums
52123117834e3f0a66dc1e96b8442ac877486e0b87f391066dfca778aaba2b42
BLAKE2b-256 checksum
How to use checksums
7ccd05668b4c7e99e291f757b58c34ec834e5402ff59881993a3856eef77590d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","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.0-py3-none-any.whl

Download URL wuti_py_util-0.7.0-py3-none-any.whl
Size 44.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5acfa517257dcb35047ceeffb710fb1c51bc436573178928f1ff140a8f9aa2b5
BLAKE2b-256 checksum
How to use checksums
563e5704e65bc5c590ed935b5c5100f0e747de26b33c91b474a82cecc5bf6b5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","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.0

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