./textproc/py-validators, Python data validation for humans

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.22.0nb1, Package name: py311-validators-0.22.0nb1, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-decorator] [lang/python310]

Master sites:

Filesize: 40.507 KB

Version history: (Expand)


CVS history: (Expand)


   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-10-02 10:54:47 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-validators: updated to 0.22.0

0.22.0

What's Changed

Breaking:
API changes in validators.ipv4 and validators.ipv6 functions
strict parameter now correctly validates IP addresses strictly in CIDR notation
host_bit parameter distinguishes between network and host IP address

fix: url validator considers urls with /#/ as valid
Add note about ValidationFailure to ValidationError in changes.md
fix: simple hostname validation regex
fix: strict CIDR IP validation; bump version
   2023-08-11 15:05:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validators: updated to 0.21.2

0.21.2 (2023-08-07)

What's Changed

feat: refactoring; updates; fixes; bump version
build(deps): bump pymdown-extensions from 9.11 to 10.0
build(deps): bump requests from 2.28.2 to 2.31.0
add validator ETH addresses (ERC20)
Added Country Code Validation
build(deps-dev): bump certifi from 2022.12.7 to 2023.7.22

0.21.1 (2023-04-10)

fix: source .venv/bin/activate before build
fix: id-token write permission at job level
feat: docs can be built with both sphinx & mkdocs
fix: improves build process
fix: removes 64-char limit for url path & query

0.21.0 (2023-03-25)

feat: add build for pypi workflow
feat: @validator now catches Exception
maint: improves i18n package
maint: misc changes to dev and ci
maint: misc fixes and improvements
maint: improves state of package development
fix: generate dynamic reference docs
maint: moving docs from .rst to .md
maint: improves url module
maint: improve domain, email & hostname
maint: simplified hostname module
maint: update email module
feat: adds hostname validator
maint: improves ip_address module
fix: misc fixes, use bandit
Create SECURITY.md
maint: improves mac_address, slug and uuid
maint: improve hashes and iban modules
feat: auto docs using mkdocstrings
maint: improves email module
maint: minor improvements
maint: improves domain module
maint: reformats card module, fix typo
feat: formats google pydoc style for mkdocstring
maint: refresh btc_address module
maint: improve type annotations
maint: improves between and length modules
maint: follows google's python style guide for docstrings
feat: type hints in utils.py, gh-actions
feat: add pyproject.toml, README.md, upd gitignore
remove Travis CI settings
   2022-08-10 15:48:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-validators: updated to 0.20.0

0.20.0 (2022-06-05)
- Added ipv4 digit lenghts validation
- Fixes error with international URLs that have more than 2 hyphens

0.19.0 (2022-05-04)
- Dropped py34 support
- Improve IPv6 validation
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2020-10-03 20:28:21 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validators: updated to 0.18.1

0.18.1:
- Made uuid validator accept UUID objects

0.18.0:
- Added bitcoin address validator

0.17.1:
- Fixed python_requires using twine

0.17.0:
- Added python_requires='>=3.4' to setup.py
- Fixed URL validator ip_last_octet regex

0.16.0:
- Added support for emojis and more IDNA URLs

0.15.0:
- Added bank card validators

0.14.3:
- Handle None values gracefully in domain validator
- Local part of the email address should be less or equal than 64 bytes
- Removed py27 support
- Removed pypy2 support

0.14.2:
- Made domain validation case-insensitive