net.ipv6
Parse IPv6 addresses and write them in RFC 5952 canonical form: lower-case, zeros compressed, IPv4 embedded.
A group of 3: parse_ipv6, format_ipv6, is_ipv6
1.0.0
py rs ts
47 tests
net.ipv4
Parse, format and check dotted-quad IPv4 addresses, refusing leading zeros, octal, hex and short forms.
A group of 3: parse_ipv4, format_ipv4, is_ipv4
1.0.0
py rs ts
39 tests
charts.format
Axis and label text for charts: tick numbers, SI prefixes (1.2k, 3.4M), percentages, dates and money.
A group of 5: format_tick, format_si, format_percent, format_date, format_money_tick
1.0.0
py rs ts
61 tests
health.nhs-number-format Unreviewed
Display an NHS number in the 3-3-4 format ("943 476 5919") after checking its modulus 11 check digit.
format_nhs_number in Python
1.0.1
py rs ts
13 tests
money.format
Render a monetary amount as text, using the currency's real minor-unit precision.
format_money in Python
1.0.0
py rs ts
11 tests
monitor.format-duration
A number of seconds as a short human duration for dashboards and alerts: "3h 12m", "2d 4h", "45s".
format_duration in Python
1.0.0
py rs ts
18 tests
text.format-decimal
Format a float as plain decimal text with fixed or trimmed places and optional grouping, identically in every language.
format_decimal in Python
1.0.0
py rs ts
19 tests
time.duration
Parse durations written as 1h30m, 90m or 01:30, add them up in whole minutes, and format the total.
duration in Python
1.0.0
py rs ts
23 tests
time.unix-to-iso
Unix time in seconds to an ISO 8601 UTC timestamp such as 2026-09-26T12:00:00Z, for years 0001 to 9999.
unix_to_iso in Python
1.0.0
py rs ts
15 tests