@@ -4,8 +4,9 @@ email\_validator
4
4
A robust email address syntax and deliverability validation library for
5
5
Python 2.7/3.4+ by [ Joshua Tauberer] ( https://razor.occams.info ) .
6
6
7
- This library validates that address are of the form ` x@y.com ` . This is
8
- the sort of validation you would want for a login form on a website.
7
+ This library validates that a string is of the form ` x@y.com ` . This is
8
+ the sort of validation you would want for an email-based login form on
9
+ a website.
9
10
10
11
Key features:
11
12
@@ -25,8 +26,10 @@ And this library does NOT permit obsolete forms of email addresses, so
25
26
if you need strict validation against the email specs exactly, use
26
27
[ pyIsEmail] ( https://github.com/michaelherold/pyIsEmail ) .
27
28
28
- This library was first published in 2015. The current version is 1.0.5
29
- (posted October 18, 2019).
29
+ This library was first published in 2015. The current version is 1.1.0
30
+ (posted April 30, 2020). ** In this version, the type of the value returned
31
+ from ` validate_email ` has changed, but dict-style access to the validated
32
+ address information still works, so it is backwards compatible.**
30
33
31
34
Installation
32
35
------------
@@ -389,12 +392,14 @@ as universal in the file `setup.cfg` by the `universal = 1` key in the
389
392
To release:
390
393
391
394
* Update the version number.
392
- * Follow the steps below to publish a universal wheel to pypi:
393
-
394
- pip3 install twine
395
- rm -rf dist
396
- python3 setup.py sdist
397
- python3 setup.py bdist_wheel
398
- twine upload dist/*
399
- git tag v1.0.XXX # replace with version in setup.py
400
- git push --tags
395
+ * Follow the steps below to publish source and a universal wheel to pypi:
396
+
397
+ ``` sh
398
+ pip3 install twine
399
+ rm -rf dist
400
+ python3 setup.py sdist
401
+ python3 setup.py bdist_wheel
402
+ twine upload dist/*
403
+ git tag v1.0.XXX # replace with version in setup.py
404
+ git push --tags
405
+ ```
0 commit comments