An open API service indexing awesome lists of open source software.

https://github.com/stdevteam/credit_card_validation


https://github.com/stdevteam/credit_card_validation

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

=================
Credit Card Validation
=================

-----------------
Development setup
-----------------
Install required system packages:

.. code-block:: bash
```bash
sudo apt-get install python3-pip
sudo apt-get install python3.6-dev
pip install -r requirements.txt
```

-----------------
Project Description
-----------------

Validate credit cards with ease


  1. It must start with a 4, 5 or 6.

  2. It must contain exactly 16 digits.

  3. It must only consist of digits (0-9).

  4. It may have digits in groups of 4, separated by one hyphen "-".

  5. It must NOT use any other separator like ' ', '_', etc.

  6. It must NOT have 4 or more consecutive repeated digits.