Metadata-Version: 1.1
Name: SinicValidate
Version: 1.0.1
Summary: Validate Sinic Phone
Home-page: https://github.com/Brightcells/SinicValidate
Author: Hackathon
Author-email: kimi.huang@brightcells.com
License: UNKNOWN
Description: =============
        SinicValidate
        =============
        
        Validate Sinic Phone
        
        Refer: http://www.oschina.net/code/snippet_238351_48624
        
        Installation
        ============
        
        ::
        
            pip install SinicValidate
        
        
        Usage
        =====
        
        ::
        
            Python 2.7.5 (default, Mar  9 2014, 22:15:05)
            Type "copyright", "credits" or "license" for more information.
        
            IPython 4.0.0 -- An enhanced Interactive Python.
            ?         -> Introduction and overview of IPython's features.
            %quickref -> Quick reference.
            help      -> Python's own help system.
            object?   -> Details about 'object', use 'object??' for extra details.
        
            In [1]: import SinicValidate as validate
        
            In [2]: validate.phone('15171459560')
            Out[2]:
            {'isChinaMobile': True,
             'isChinaTelcom': False,
             'isChinaUnion': False,
             'isOtherTelphone': False,
             'isPhone': True}
        
            In [3]: validate.phone('11223344556')
            Out[3]:
            {'isChinaMobile': False,
             'isChinaTelcom': False,
             'isChinaUnion': False,
             'isOtherTelphone': False,
             'isPhone': False}
        
            In [4]:
        
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
