Skip to main content

Generate random but theoretically valid credit card numbers.

Project description

Random Credit Card

Generate random but theoretically valid credit card numbers.

/!\ Disclamer

This code is intended for educational / regulated testing purposes only. It is provided "as is" without any warranties. Use at your own risk and ensure compliance with applicable laws.

Install

Random Credit Card can be installed from PyPI.

python3 -m pip install random-credit-card

Use as a script

If package is installed

python3 -m random_credit_card.credit_cards

Or download and run credit_cards.py.

python3 credit_cards.py

Use as a Python module

from random_credit_card import CreditCardNumber, ExpirationDate, generate_csc

...
number = CreditCardNumber() # Randomly generated
exp = ExpirationDate() # Randomly generated
code = generate_csc() # Randomly generated

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

random_credit_card-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

random_credit_card-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file random_credit_card-0.1.0.tar.gz.

File metadata

  • Download URL: random_credit_card-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Windows/11

File hashes

Hashes for random_credit_card-0.1.0.tar.gz
Algorithm Hash digest
SHA256 43b155671e51262f23fab76ce913a32e1b6afce59134d48adef103462d828696
MD5 af851c0ab6eca2671e3de87465128f57
BLAKE2b-256 ce8a2ed298255a5bdd84224dc25473ef6a61bb6d72d62f6afe79ccc540f12259

See more details on using hashes here.

File details

Details for the file random_credit_card-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for random_credit_card-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95d77f511d90a957de54fe90eae487337e41bbb4be69bac57f6ed616ab8b9fda
MD5 8c3b7250f2b95d870af399bab9741d18
BLAKE2b-256 dcde8b27c2b842d409243af944c88da10ad896bc4fe81ddff491ad93f457e119

See more details on using hashes here.

Supported by

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