commons: stdlib-only sync helpers shared across projects. - timing: unix-ts deltas + tz datetime conversions (one _delta_seconds engine), a configurable Clock, fast-mode for tests. - paths: deep_get / deep_set by dotted path (numeric segments index lists). - masking: display masking for cards/cvv/tokens (provider covers VISA/MC/AMEX/UPAY/DISC/JCB/DNRS). - addr: ip/address tooling — pure stdlib ipaddress utils in base, async geo lookups (ipify/geo.ipify/nominatim) behind the [addr] aiohttp extra; geo.ipify api_key is injected, never hardcoded. config-free, emit-only logging, base is zero-deps. src/ layout, hatchling. Signed-off-by: disqualifier <dev@disqualifier.me>
17 lines
418 B
TOML
17 lines
418 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "commons"
|
|
version = "0.1.0"
|
|
description = "small stdlib-only sync helpers: time/timezone deltas, dotted-path dict access, display masking, and ip/address tooling"
|
|
requires-python = ">=3.10"
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
addr = ["aiohttp>=3.9"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/commons"]
|