BSD Ports

textproc/py-validators 0.35.0 NetBSD

Python data validation for humans

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7df9de5818
License
mit
Categories
textproc, python
Package size
61.4 KiB, 363.9 KiB installed

Description

Python 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.

In the other systems

SystemPortVersion
NetBSDtextproc/py-validators0.35.0
DragonFlydevel/py-validators0.34.0

Install

Binary package:

pkgin install py311-validators

From pkgsrc:

cd /usr/pkgsrc/textproc/py-validators && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-validators-0.35.0, py313-validators-0.35.0, py314-validators-0.35.0

Commit history 1

DateCommitCreditsLog message
7df9de5818 adam 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 …