Better email parser for Python
# Production: install from PyPI
$ pip install nibbler-python
# Development: if you want to contribute to this project, clone it, install it from source
$ make install
Please see the test/test_parser.py for more test cases
>>> from nibbler.parser import parse_email
# valid email
>>> parse_email('"much.more unusual"@example.com')
(True, '"much.more unusual"@example.com')
# invalid email
>>> parse_email('A@b@[email protected]')
(False, 'A@b')
$ make test