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

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


Branch: CURRENT, Version: 0.12.3, Package name: py27-validators-0.12.3, 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-setuptools] [lang/python27] [devel/py-decorator] [lang/py-six]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: e5a1df1fb3b171ee143ef574e111e71d7d24fc7a
RMD160: f1c873fb7657fb435423c6c78bfd6c04276cbc72
Filesize: 22.26 KB

Version history: (Expand)


CVS history: (Expand)


   2018-11-13 17:05:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-validators: updated to 0.12.3

0.12.3:
Added allow_temporal_ssn parameter to fi_ssn validator
Remove py33 support
   2018-08-19 09:26:32 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-validators: updated to 0.12.2

0.12.2:
Fixed IPv4 formatted IP address returning True on ipv6
Fixed IPv6 address parsing
Fixed domain validator for international domains and certain edge cases

0.12.1:
Fixed IDNA encoded TLDs in domain validator
Fixed URL validator for URLs with invalid characters in userinfo part

0.12.0:
Added hash validators for md5, sha1, sha224, sha256 and sha512
Made ipv6 validator support IPv4-mapped IPv6 addresses

0.11.3:
Fixed URL validator for URLs containing localhost

0.11.2:
Fixed URL validator for urls with query parameters but without path

0.11.1:
Fixed pyp2rpm build problem

0.11.0:
Fixed public url validation
Made URL validator case insensitive
Drop Python 2.6 support

0.10.3:
Added public parameter to url validator

0.10.2:
Fixed various URL validation issues

0.10.1:
Fixed domain name validation for numeric domain names
Fixed IBAN validation for Norwegian and Belgian IBANs

0.10.0:
Added support for internationalized domain names in domain validator

0.9.0:
Added new validator: domain
Added flake8 and isort checks in travis config

0.8.0:
Added new validator: iban
   2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372)
Log message:
Reset maintainer
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-10-06 00:22:50 by Blue Rats | Files touched by this commit (2)
Log message:
0.7.0 (2014-09-07)
^^^^^^^^^^^^^^^^^^

- Fixed errors in code examples.
- Fixed ``TypeError`` when using ``between`` validator with ``datetime`` objects
  like in the code example.
- Changed validators to always return ``True`` instead of a truthy object when
  the validation succeeds.
- Fixed ``truthy`` validator to work like it's name suggests. Previously it
  worked like ``falsy``.
   2014-06-26 03:19:04 by Blue Rats | Files touched by this commit (3)
Log message:
This version fixes an issue with other packages from the same upstream
provider regarding files being installed to ${PYSITELIB}/tests/. The
others have yet to be imported, but let's fix this now. From CHANGES.rst:

0.6.0 (2014-06-25)
^^^^^^^^^^^^^^^^^^

- Added new validator: slug
   2014-06-14 16:35:09 by Blue Rats | Files touched by this commit (5)
Log message:
Import py27-validators-0.5.0 as textproc/py-validators.

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.