Samathingamajig / credit-card-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Credit Card CLI

Usage: credit_card_cli.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  checksum  validates the correctness of the checksum digit, according to Luhn's algorithm
  generate  determines the checksum digit of a partial card number, according to Luhn's algorithm
  validate  generates a random 16 digit credit card number, guaranteed to be valid according to Luhn's algorithm. Most likely not valid card in reality

About

License:MIT License


Languages

Language:Python 100.0%