Skip to content

sendgridlabs/nibbler-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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@[email protected]')
(False, 'A@b')

Testing

$ make test

Releases

No releases published

Packages

No packages published

Languages