Did I find the right examples for you? yes no

All Samples(7)  |  Call(2)  |  Derive(0)  |  Import(5)

src/w/a/waltz-0.1.71/waltz/security.py   waltz(Download)
import hashlib
import random
from utils import Storage, to36, valid_email, \
    ALPHANUMERICS as ALPHAS
 
        if not passwd: raise ValueError('Password Required')
 
        if email and not valid_email(email):
            raise ValueError("Email '%s' is malformed and does not " \
                                 "pass rfc3696." % email)

src/w/a/waltz-HEAD/waltz/security.py   waltz(Download)
import hashlib
import random
from utils import Storage, to36, valid_email, \
    ALPHANUMERICS as ALPHAS
 
        if not passwd: raise ValueError('Password Required')
 
        if email and not valid_email(email):
            raise ValueError("Email '%s' is malformed and does not " \
                                 "pass rfc3696." % email)

src/t/o/tornado-utils-HEAD/tornado_utils/tests/test_utils.py   tornado-utils(Download)
    def test_valid_email(self):
        from ..utils import valid_email
        self.assertTrue(valid_email('peterbe@gmail.com'))
        self.assertTrue(valid_email("peter'be@gmail.com"))
 

src/t/o/tornado_gists-HEAD/apps/main/tests/test_utils.py   tornado_gists(Download)
    def test_valid_email(self):
        from utils import valid_email
        self.assertTrue(valid_email('peterbe@gmail.com'))
        self.assertTrue(valid_email("peter'be@gmail.com"))
 

src/t/o/tornado-utils-1.6/tornado_utils/tests/test_utils.py   tornado-utils(Download)
    def test_valid_email(self):
        from ..utils import valid_email
        self.assertTrue(valid_email('peterbe@gmail.com'))
        self.assertTrue(valid_email("peter'be@gmail.com"))