faker-crypto
Version: 0.2.2
faker-crypto is a Faker provider for Cryto Addreses.
Following crypto addresses are supported:
- Bitcoin
- Bitcoin Cash
- Litecoin
- Dogecoin
- Ethereum
- Binance Smart Chain
- Polygon
Installation
Install with pip:
pip install faker-cypto
Usage
Add CryptoAddress
provider to Faker instance:
from faker import Faker
from faker_crypto import CryptoAddress
fake = Faker()
fake.add_provider(CryptoAddress)
fake.bitcoin_address()
fake.litecoin_address()
fake.ethereum_address()
fake.binance_smart_chain_address()
fake.polygon_address()
Testing
Run unit tests with code coverage with:
pytest --cov -v