Skip to main content

Fake address and IBAN generator for 200+ countries — async-first Python library

Project description

SmartFaker

Fake address & IBAN generator for 200+ countries — sync & async Python library

PyPI version Python License

SmartFaker generates realistic fake postal addresses and IBAN numbers for over 200 countries. Bundled data, zero network calls, and a true sync and async API.

Installation

pip install smartfaker

Quick start — sync

from smartfaker import Faker

faker = Faker()
addr = faker.address("us")
iban = faker.iban("DE")
print(addr["city"], iban["iban"])

Quick start — async

import asyncio
from smartfaker import Faker

faker = Faker()

async def main():
    addr = await faker.aaddress("gb")
    iban = await faker.aiban("FR")
    print(addr["city"], iban["iban"])

asyncio.run(main())

Features

  • 200+ countries of bundled address data
  • 57 country IBAN generators with MOD-97 validation
  • Sync and async, both first-classaddress / aaddress, batch_addresses / abatch_addresses, iban / aiban
  • Field filtering and locale-prefixed names
  • Batch generation across many countries in one call
  • Tiny dependency surface — only pycountry

Documentation

License

LGPL-3.0-or-later © ISmartCoder | t.me/TheSmartDev

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

smartfaker-3.25.6.tar.gz (207.2 kB view details)

Uploaded Source

Built Distribution

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

smartfaker-3.25.6-py3-none-any.whl (247.9 kB view details)

Uploaded Python 3

File details

Details for the file smartfaker-3.25.6.tar.gz.

File metadata

  • Download URL: smartfaker-3.25.6.tar.gz
  • Upload date:
  • Size: 207.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smartfaker-3.25.6.tar.gz
Algorithm Hash digest
SHA256 7de173349b50b83272018da8966f9124ab403268f4b62c5775b651447e2ede63
MD5 cd55665dec47ed1ae647b21d385eee1f
BLAKE2b-256 5480d71c701b2d1abe70c3d079bd66dd541090f1e620deb956edbbfc014345b3

See more details on using hashes here.

File details

Details for the file smartfaker-3.25.6-py3-none-any.whl.

File metadata

  • Download URL: smartfaker-3.25.6-py3-none-any.whl
  • Upload date:
  • Size: 247.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smartfaker-3.25.6-py3-none-any.whl
Algorithm Hash digest
SHA256 729d3fcc7f2514942f817b8b093c39efb55835fa7a20653437374505cfed63fc
MD5 e70446db189ea6fa80fd03263a43da1a
BLAKE2b-256 7bffd71f5dc01939d1f305153e20f19129a82780c6e29ef3a273336ddb7b6837

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