faker-crypto
faker-crypto is a Faker provider for Cryto Addreses.
Following crypto addresses are supported:
- Bitcoin
- Bitcoin Cash
- Litecoin
- Dogecoin
- Ethereum
- Polygon
- Binance Smart Chain
- Cronos
- Optimism
- Arbitrum
- Avalanche C-Chain
- Ripple
- Tron
- Polkadot
- Stellar
- Solana
- Zilliqa
- Cardano
- Hedera
Installation
Install with pip:
pip install faker-crypto
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()
# '13XTsE8TKEHW5zAmCWmBvNk5KvEcEjVQu'
fake.litecoin_address()
# 'LM3HgLcPemiBb5MJ3vqRRPrPqBdtf7pL'
fake.ethereum_address()
# '0x7ea8abae70ce7e9ce09155ee9169d5f18fc96b'
fake.ripple_address()
# 'rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh'
fake.tron_address()
# 'TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL'
fake.stellar_address()
# 'GC7OHFPWPSWXL4HMN6TXAG54MTZSMJIASWHO6KVRQNHNCXEAHWDSGGC3'
fake.solana_address()
# '7EcDhSYGxXyscszYEp35KHN8vvw3svAuLKTzXwCFLtV'
fake.zilliqa_address()
# 'zil102n74869xnvdwq3yh8p0k9jjgtejruft268tg8'
fake.polygon_address()
# '0x32f065b1fe349fcaa29bfdfa5e6aae25a53203'
Development
This project uses uv for dependency management.
Setup Development Environment
# Install project in development mode with all dependencies
uv sync --frozen --dev
# Or use just command
just install
Testing
Run unit tests with code coverage with:
uv run pytest --cov -v
# Or use just command
just test
Formatting and Linting
# Format code
just format
# Run linters
just lint
Metadata
Release files for faker-crypto 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| faker_crypto-1.1.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| faker_crypto-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / faker_crypto-1.1.0.tar.gz
| Download URL | faker_crypto-1.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78600bb4120f1d3026168a4f31086b112f69cc66d0e22332516a4ff25cd57770
|
|
BLAKE2b-256 checksum How to use checksums |
29882628480fcaa6a95b9fc4213d5ee33820d395f8fc6047d336b265de5e2108
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.
Transparency logRelease files / faker_crypto-1.1.0-py3-none-any.whl
| Download URL | faker_crypto-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8232cee989844e213e70fdaa6fabb512ef41cfd9d783479aef8f62dfba58ddc
|
|
BLAKE2b-256 checksum How to use checksums |
b257fcbd730f7a867431ba947b2b6d695f1194e9b4f3b997bbeb45afb8bb6e74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.
Transparency log