File: README.rst

package info (click to toggle)
validators 0.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 332 kB
  • sloc: python: 1,556; makefile: 150
file content (34 lines) | stat: -rw-r--r-- 1,037 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
validators
==========

|Build Status| |Version Status| |Downloads|

Python data validation for Humans.

Python has all kinds of data validation tools, but every one of them seems to
require defining a schema or form. I wanted to create a simple validation
library where validating a simple value does not require defining a form or a
schema.

.. code-block:: python

    >>> import validators

    >>> validators.email('someone@example.com')
    True


Resources
---------

- `Documentation <https://validators.readthedocs.io/>`_
- `Issue Tracker <http://github.com/kvesteri/validators/issues>`_
- `Code <http://github.com/kvesteri/validators/>`_


.. |Build Status| image:: https://travis-ci.org/kvesteri/validators.svg?branch=master
   :target: https://travis-ci.org/kvesteri/validators
.. |Version Status| image:: https://img.shields.io/pypi/v/validators.svg
   :target: https://pypi.python.org/pypi/validators/
.. |Downloads| image:: https://img.shields.io/pypi/dm/validators.svg
   :target: https://pypi.python.org/pypi/validators/