devel/py-validators 0.35.0_1 MidnightBSD
Simple data validation in Python
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
Python has all kinds of data validation tools, but every one of them seems to require defining a schema or form. This is a simple validation library where validating a simple value does not require defining a form or a schema.
>>> import validators
>>> validators.email('[email protected]') True
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-validators | 0.35.0_1 |
| FreeBSD | devel/py-validators | 0.36.0 |
| OpenBSD | devel/py-validators | 0.35.0p0 |
| DragonFly | devel/py-validators | 0.34.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}validators
From mports:
cd /usr/mports/devel/py-validators && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}validators>0:devel/py-validators
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| validators-0.35.0.tar.gz | 73399 | 992d6c48a4e77c81f1b4daba10d16c3a9bb0dbb79b3a19ea847ff0928e70497a |
Master sites 1
- PYPI