Path to this page:
./
textproc/py-validators,
Python data validation for humans
Branch: CURRENT,
Version: 0.36.0,
Package name: py313-validators-0.36.0,
Maintainer: pkgsrc-usersPython has all kinds of data validation tools, but every one of them seems to
require defining a schema / form. This is a simple validation library where
validating a simple value does not require defining a form or a schema.
Required to run:[
devel/py-decorator] [
lang/python310]
Master sites:
Filesize: 77.377 KB
Version history: (Expand)
- (2026-10-13) Updated to version: py313-validators-0.36.0
- (2026-09-03) Updated to version: py313-validators-0.35.0
- (2026-09-03) Package has been reborn
- (2026-09-03) Package deleted from pkgsrc
- (2025-05-13) Updated to version: py312-validators-0.35.0
- (2025-04-14) Updated to version: py312-validators-0.34.0nb1
CVS history: (Expand)
2026-10-13 14:54:17 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-validators: updated to 0.36.0
0.36.0 (2026-10-10)
_**Breaking**_
* Drops support for Python `v3.9` and `v3.10`. Python `v3.11` or newer is required.
* Stricter validation: the following inputs, previously accepted by mistake, are \
now rejected.
* `isin()` now verifies the check digit, which was previously ignored. \
Lowercase ISINs are still accepted.
* `cusip()` and `sedol()` require a numeric check digit.
* `md5()`, `sha1()`, `sha224()`, `sha256()`, `sha384()`, `sha512()`, \
`base16()`, `base32()`, `base58()` and `base64()` reject trailing characters, \
such as a trailing newline.
* `ind_pan()` requires a full-string match.
* `fr_ssn()` no longer accepts a comma as the gender or Corsica department \
character.
* `domain()` rejects an underscore in the last label
* `mastercard()` accepts only the 2221-2720 range of the 2-series BINs.
* `eth_address()` rejects non-hexadecimal characters.
* `mac_address()` rejects mixed separators.
* `slug()` rejects a trailing newline, and telnet URIs reject control characters.
_**Features**_
* feat(uri): add telnet URI validation per RFC 4248
* Accept `file://` URLs per RFC 8089
* cron: accept a step over a range (e.g. `1-5/2`) and in list items
* Accept lowercase IBANs in `iban()`
* fix(cron): accept day-of-week `7` as a Sunday alias
* Accept a trailing dot on simple hostnames with `rfc_1034`
* fix(crypto_addresses): accept testnet (`tb`) segwit addresses
|
2025-05-13 19:14:03 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-validators: updated to 0.35.0
0.35.0 (2025-05-01)
Breaking
* Drops support for Python `v3.8`.
Features
* Validator russian individual tax number
* feat: allow custom URL scheme validation
* Refactor API: remove print from `ru_inn`, update description, and expose via \
`__init__`
* Add Mir card validation support
Maintenance
* Update README.md
* fix(domain): accept .onion as a valid TLD
* fix(url): add hashtag to allowed fragment characters
* chore(deps): bump jinja2 from 3.1.4 to 3.1.6 in /package
* Fix email regex issue 140
* fix(uri): replace `lstrip("mailto:")` with manual prefix removal
* running `doctest` failes
* Fix: Allow Special DOI Cases Used in Public Administration Tests
* chore: formatting; sync dependencies
* chore: prepare for new release
* chore: updates changelog
|
2025-04-14 15:00:59 by Adam Ciarcinski | Files touched by this commit (10) |  |
Log message:
Fix PLIST after py-setuptools update; bump depends and revision
|
| 2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-09-04 10:44:32 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-validators: updated to 0.34.0
0.34.0 (2024-09-03)
_**Breaking**_
> No breaking changes were introduced in this version.
_**Features**_
* feat: cache IANA TLDs for faster lookups
_**Maintenance**_
* chore: update dependencies
* docs: adds configuration info
|
2024-07-16 05:35:24 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-validators: updated to 0.33.0
0.33.0 (2024-07-15)
**Breaking**
> No breaking changes were introduced in this version.
**Features**
- feat: adds validator for `bsc` addresses
**Maintenance**
- chore: bump version
0.32.0 (2024-07-10)
**Breaking**
> No breaking changes were introduced in this version.
**Features**
- feat: add validator for `sha384` hash
**Maintenance**
- maint: bump version
0.31.0 (2024-07-08)
**Breaking**
> No breaking changes were introduced in this version.
**Features**
- feat: add validators for `base16` and `base32` encodings
|
2024-07-04 13:08:03 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-validators: updated to 0.30.0
0.30.0 (2024-07-04)
Breaking
> No breaking changes were introduced in this version.
Features
- feat: add validator for trx addresses
|
2024-07-02 15:45:59 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-validators: updated to 0.29.0
0.29.0 (2024-07-01)
Breaking
- patch: moves `btc_address` to `crypto_addresses`
Features
- feat: add validator for eth addresses
Maintenance
- chore: update dev deps; adds python EOL info
|