nibbler-python

nibbler-python - Better email parser


Keywords
email, parser, esp, sendgrid
License
MIT
Install
pip install nibbler-python==0.0.2

Documentation

nibbler-python

Better email parser for Python

Build Status Downloads Version

nibbler

Installation

# 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

Usage

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@c@example.com')
(False, 'A@b')

Testing

$ make test