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

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


Branch: CURRENT, Version: 0.28.1, Package name: py311-validators-0.28.1, 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: 64.74 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-19 21:45:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-validators: updated to 0.28.1

0.28.1 (2024-04-19)

_**Breaking**_

> No breaking changes were introduced in this version.

_**Features**_

> No features were introduced in this version.

_**Maintenance**_

- fix: reduce memory footprint when loading TLDs
- build(deps): bump idna from 3.6 to 3.7 in /package
- fix: rfc cases in the `domain` validator
- chore: documentation maintenance
- chore: update contribution guidelines
- chore: updated dev dependencies; bump version
   2024-04-08 07:17:02 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validators: updated to 0.28.0

0.28.0 (2024-04-04)

_**Breaking**_ ⚠️

- patch: moves `country_code` module to `country` module

_**Features**_

- feat: adds indian aadhar and pan validator
- feat: adds `finance` validator
- feat: adds `consider_tld` parameter to `domain`, `hostname` and `url` modules

_**Maintenance**_

- maint: updated dev dependencies, doc links; bump version

0.27.0 (2024-04-03)

_**Breaking**_ ⚠️

- patch: moves `base58` and `base64` into `encoding`

_**Features**_

- feat: lays foundation for URI validation
- feat: adds `private` parameter to `ip_address`, `hostname` & `url`

_**Maintenance**_

- patch: adds `encoding` tests and docs
   2024-04-03 11:52:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validators: updated to 0.26.0

0.26.0 (2024-04-02)

_**Breaking**_

> No breaking changes were introduced in this version.

_**Features**_

- feat: adds `base58` and `base64` validators

_**Maintenance**_

- fix: regex ignore-case uses only `a-z`
- patch: supported extended latin in username

0.25.0 (2024-04-02)

_**Breaking**_

> No breaking changes were introduced in this version.

_**Features**_

- feat: adds basic `cron` validator

_**Maintenance**_

- maint: adds quick start docs
- fix: `domain` validation is now more consistent across rfcs
   2024-03-24 08:26:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-validators: updated to 0.24.0

0.24.0 (2024-03-24)

_**Breaking**_

> No breaking changes were introduced in this version.

_**Features**_

- feat: conditionally raises `ValidationError`; bump version

_**Maintenance**_

- patch: `domain` & `url` modules
- fix: domain name not confirming to rfc_2782
- maint: update dev dependencies; adds favicon to docs
   2024-03-21 06:58:46 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validators: updated to 0.23.2

0.23.2 (2024-03-20)

Maintenance

maint: rectifies changelog
fix: packaging as well as rST & md document generation

0.23.1 (2024-03-19)

Maintenance

maint: fix between & length validators
fix: manual nav reference for mkdocs; bumps version

0.23.0 (2024-03-19)

Features

feat: add french i18n validation

Maintenance

fix: Valid URLs failing validation - query and fragment parts
fix: bug in between module
chore: update dependencies, improve packaging
Fix fragment check
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package
fix: allow pct-encoded entities in fragments
chore: update dev dependencies
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package
chore: monthly updates for Jan'24
maint: adds versiond docs; update copyright year
chore: update dev dependencies
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package
   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