skip to navigation
skip to content

mynumber 0.0.5

'My Number' validate module

日本語ドキュメント: Japanese Document


$ pip install mynumber

Sample Code

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from mynumber import MyNumber

# Validate
my_number = 123456789018
print MyNumber.validate(my_number)

# Validate MyNumber. Duplicate Disable
for my_number in MyNumber.gets(1000):
    assert MyNumber.validate(my_number)

# Validate MyNumber by iterator. Duplicate Enable
for my_number in MyNumber():
    assert MyNumber.validate(my_number)


File Type Py Version Uploaded on Size
mynumber-0.0.5.tar.gz (md5) Source 2015-10-27 2KB