Skip to main content

日本語ドキュメント: 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

Metadata

Release files for mynumber 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mynumber 0.0.5
File Size Uploaded
mynumber-0.0.5.tar.gz 2.6 kB Details

Release files / mynumber-0.0.5.tar.gz

Download URL mynumber-0.0.5.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1f18e812979c967f82da4c003d0a1841fc92e94dd3bf467b3bb5a2e0e6d278a8
BLAKE2b-256 checksum
How to use checksums
0b22d6f5a7f48ab9f817cf232bedfd077d14175c3b34e07c7857caeb4532ec46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page