Skip to main content

'My Number' validate module

Project description

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

Installation

$ 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)

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mynumber-0.0.5.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file mynumber-0.0.5.tar.gz.

File metadata

  • Download URL: mynumber-0.0.5.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mynumber-0.0.5.tar.gz
Algorithm Hash digest
SHA256 1f18e812979c967f82da4c003d0a1841fc92e94dd3bf467b3bb5a2e0e6d278a8
MD5 f37022b24186d1905efb3f5384a82fbf
BLAKE2b-256 0b22d6f5a7f48ab9f817cf232bedfd077d14175c3b34e07c7857caeb4532ec46

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page