Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
TigranGit committed Apr 24, 2019
1 parent 82e381a commit dc8c433
Show file tree
Hide file tree
Showing 54 changed files with 3,623 additions and 271 deletions.
Binary file not shown.
Binary file modified Documentation/docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified Documentation/docs/build/doctrees/index.doctree
Binary file not shown.
90 changes: 90 additions & 0 deletions Documentation/docs/build/html/_sources/contents.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
Welcome to Simple Validator's documentation!
=============================================

What is Simple Validator(SV)?
=================================
Simple Validator is №1 validator in the world. This tool can validate and dates and emails.

It is written in Python.

What can SV do?
=================================

* Validate dates and times
* Validate EMails addresses
* Chain validation (date+email)

DateTimeValidator
-----------------
**DateTimeValidator** takes a string and date formats(*@not required*).

Returns *True* if string is validated or *False* if it isn't.

Usage
~~~~~

First you need to create **DateTimeValidator**::

d = DateTimeValidator()
Then use **validate** method to check validation::

d.validate('Cow')
>> False
d.validate('2019-04-22')
>> True

d.validate('05/04 20:22', date_formats=['%d/%m %H:%M'])
>> True


EMailValidator
-----------------
**EMailValidator** takes a string.

Returns *True* if string is validated or *False* if it isn't.

Usage
~~~~~

First you need to create **EMailValidator**::

e = EMailValidator()
Then use **validate** method to check validation::

e.validate('dambul')
>> False
e.validate('example@instigate.com')
>> True


ChainValidator
-----------------
**ChainValidator** takes a string and date formats(*@not required*).

Returns *True* if string is validated or *False* if it isn't.

Usage
~~~~~

First you need to create **ChainValidator**::

c = ChainValidator()
Then use **validate** method to check validation::

c.validate('05/04 20:22', date_formats=['%d/%m %H:%M'])
>> False
c.validate('05/04 20:22 name@instigate.com', date_formats=['%d/%m %H:%M'])
>> True


.. toctree::
:maxdepth: 2




Indices and tables
==================

* :ref:`genindex`
* :ref:`search`
1 change: 1 addition & 0 deletions Documentation/docs/build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Welcome to Simple Validator's documentation!
=============================================


What is Simple Validator(SV)?
=================================
Simple Validator is №1 validator in the world. This tool can validate and dates and emails.
Expand Down
1 change: 1 addition & 0 deletions Documentation/docs/build/html/_static/css/badge_only.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Documentation/docs/build/html/_static/css/theme.css

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit dc8c433

Please sign in to comment.