provider() used str.isdigit(), which accepts unicode digit lookalikes (e.g. superscript ²) that int() can't parse, crashing on digit-only-looking input; _digits() now filters on isdecimal()+isascii() so only real ASCII digits pass through. phantom() revealed the entire value for len <= 10 while still looking masked (first6+last4 fully covers or double-covers short strings); those now fully mask instead. Also compresses several essay-length docstrings (retry, masking, paths) to a line plus the real nuance, with zero behavior change, and bumps the README install pin. Signed-off-by: disqualifier <dev@disqualifier.me>
17 lines
434 B
TOML
17 lines
434 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "commons"
|
|
version = "0.3.2"
|
|
description = "small stdlib-based sync helpers: time/timezone deltas, dotted-path dict access, display masking, ip/address tooling, and retry/backoff"
|
|
requires-python = ">=3.10"
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
addr = ["aiohttp>=3.9"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/commons"]
|