Skip to main content

"Issuer Identification Number Database and Verification Utility Library. Luhn Algorithm, BIN Checker, Random Credit Card Generators."

Project description

Build Status Build status Documentation Status License: GPLv3 Organization Views PRs Welcome GitHub pull-requests Language

pycctek.

Issuer Identification Number Database and Verification Utility Library. Luhn Algorithm, BIN Checker, Random Credit Card Generators.

TralahTek TralahM TralahM

Documentation

Documentation

Issuer Identification Numbers

ISO/IEC 7812 Identification cards — Identification of issuers was first published by the International Organization for Standardization (ISO) in 1989. It is the international standard specifies "a numbering system for the identification of the card issuers, the format of the issuer identification number (IIN) and the primary account number (PAN).

The registration authority for Issuer Identification Numbers (IINs) is the American Bankers Association.

An IIN is currently six digits in length. The leading digit is the major industry identifier (MII), followed by 5 digits, which together make up the IIN. This IIN is paired with an individual account identification number, and a single digit checksum. MII 9 has been assigned to national standards bodies for national use.

The first digit is a 9 followed by a three-digit numeric country code numeric-3 country code from ISO 3166-1. National Numbering Systems are managed by ISO-member national standards bodies. The US National Numbering system is managed by the American National Standards Institute.

MII Digit Value Issuer Category
0 ISO/TC 68 Assignment
1 Airline cards
2 Airlines cards (and other future industry assignments)
3 Travel and Entertainment Cards
4 Banking and Financial Cards
5 Banking and Financial Cards
6 Merchandising and Financial Cards
7 Gas Cards- Other Future Industry Assignments
8 Healthcare Cards- Telecommunications- Other Future Industry Assignments
9 For Use by National Standards Bodies

The first six digits, including the major industry identifier, compose the issuer identifier number (IIN) which identifies the issuing organization. The IIN is sometimes referred to as a "bank identification number" (BIN). The IIN's use is much broader than identification of a bank. IINs are used by companies other than banks.

Luhn Algorithm

The Luhn algorithm or Luhn formula, also known as the "modulus 10" or "mod 10" algorithm, named after its creator, IBM scientist Hans Peter Luhn, is a simple checksum formula used to validate a variety of identification numbers, such as:

  • credit card numbers,
  • IMEI numbers,
  • National Provider Identifier numbers in the United States,
  • Canadian Social Insurance Numbers,
  • Israeli ID Numbers,
  • South African ID Numbers,
  • Greek Social Security Numbers (ΑΜΚΑ),
  • and survey codes appearing on McDonald's, Taco Bell, and Tractor Supply Co. receipts.

It is described in U.S. Patent No. 2,950,048, filed on January 6, 1954, and granted on August 23, 1960.

Read The Wikipedia Page for a more comprehensive description of Luhn's Algorithm

How to Install

# In terminal do:
$ pip install pycctek

Building from Source for Developers

$ git clone https://github.com/TralahM/pycctek.git
$ cd pycctek
$ python setup.py install

Contributing

See the Contributing File

See the Pull Request File

Support

LICENCE

Read the license here

Self-Promotion

TralahM TralahM

Blog

TralahTek

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

pycctek-0.0.3.tar.gz (3.1 MB view details)

Uploaded Source

Built Distributions

pycctek-0.0.3-py3.8.egg (4.5 MB view details)

Uploaded Source

pycctek-0.0.3-py3-none-any.whl (4.6 MB view details)

Uploaded Python 3

File details

Details for the file pycctek-0.0.3.tar.gz.

File metadata

  • Download URL: pycctek-0.0.3.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for pycctek-0.0.3.tar.gz
Algorithm Hash digest
SHA256 10505d7309ed282adec202a19a3e853681c1c2d98caf3a1fe49acd8aac9e4e54
MD5 f5090be69a97aeaa9c25a152b97aca3a
BLAKE2b-256 dc8c49f3adc77e6488be3fac520206db4c32be2d8b059f631a6d049462a09b85

See more details on using hashes here.

File details

Details for the file pycctek-0.0.3-py3.8.egg.

File metadata

  • Download URL: pycctek-0.0.3-py3.8.egg
  • Upload date:
  • Size: 4.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for pycctek-0.0.3-py3.8.egg
Algorithm Hash digest
SHA256 bd0bfa4ed3254531ecaba8458cd5350bb5a1406e01a6fe57973543512ea7faa7
MD5 5ecf4d49e38cb39bd7350b0e8cc5dd1b
BLAKE2b-256 e5d9ee0c35e1c6d4d704a33bc0188e7f08406289cbd60a03771b723bef630a0c

See more details on using hashes here.

File details

Details for the file pycctek-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pycctek-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for pycctek-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5da4cb5cdf30e8148ce5ffcb34fc7b00ba04076562617249759dcc504022802e
MD5 9373cae349ae3f6e14ef07215e3222a1
BLAKE2b-256 071dfb96785590201ec1b7852c4ff69e87480bcfce533c6176fd01ee3c69f148

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