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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43b155671e51262f23fab76ce913a32e1b6afce59134d48adef103462d828696
|
|
| MD5 |
af851c0ab6eca2671e3de87465128f57
|
|
| BLAKE2b-256 |
ce8a2ed298255a5bdd84224dc25473ef6a61bb6d72d62f6afe79ccc540f12259
|
File details
Details for the file random_credit_card-0.1.0-py3-none-any.whl.
File metadata
- Download URL: random_credit_card-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95d77f511d90a957de54fe90eae487337e41bbb4be69bac57f6ed616ab8b9fda
|
|
| MD5 |
8c3b7250f2b95d870af399bab9741d18
|
|
| BLAKE2b-256 |
dcde8b27c2b842d409243af944c88da10ad896bc4fe81ddff491ad93f457e119
|