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.7.tar.gz (207.3 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.7-py3-none-any.whl (248.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartfaker-3.25.7.tar.gz
  • Upload date:
  • Size: 207.3 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.7.tar.gz
Algorithm Hash digest
SHA256 84fe17bcc0fe059be7a0d74963d8dc5c28e20fe63303f2c45d0b54391ee94095
MD5 0f0a6bf17be732942689efc3f39b25ef
BLAKE2b-256 8bbf8df9e138ed95ea0a3df51f4cfc5a52af2241629cb110df9a321667807989

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smartfaker-3.25.7-py3-none-any.whl
  • Upload date:
  • Size: 248.1 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a72417387b14a7750be2873b960aa9c7cff5b6a60e18461b6d5adac236021bb6
MD5 f5bcc58a8b196398f47d03aa378500a8
BLAKE2b-256 f997a7ab5988b0f38a362d1599d97b059f160b86de36cb4c216b0cd8911d64a7

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