Skip to main content

Blazing-fast offline BIN (Bank Identification Number) lookup database with hundreds of thousands of records bundled.

Project description

SmartBinDB

PyPI version Python versions License: MIT Docs

Blazing-fast offline Bank Identification Number (BIN) lookup database for Python.

SmartBinDB ships with a bundled binary database covering hundreds of thousands of card BINs across the globe and provides a simple async API to look them up by BIN, issuing bank or country — with zero network calls.

Installation

pip install smartbindb

Quick start

import asyncio
from smartbindb import SmartBinDB

db = SmartBinDB()

async def main():
    print(await db.get_bin_info("457173"))
    print(await db.get_bins_by_bank("Chase", limit=5))
    print(await db.get_bins_by_country("BD", limit=10))

asyncio.run(main())

Documentation

Full API documentation, tutorials, integration guides (FastAPI, Flask, Django, Telegram bots) and examples live at: https://abirxdhack.github.io/TheSmartBinDB

Links

License

MIT © Abir Arafat Chawdhury

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

smartbindb-5.17.5.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

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

smartbindb-5.17.5-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

Details for the file smartbindb-5.17.5.tar.gz.

File metadata

  • Download URL: smartbindb-5.17.5.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smartbindb-5.17.5.tar.gz
Algorithm Hash digest
SHA256 0ffcd947fa2637c3104edfd2880e074d7976d50bc28af5e9c8bd752229e51c8a
MD5 cb8128dfa14c7a9c22f448897db8f520
BLAKE2b-256 c0a4f9cc1a8bbb5e6619400cb03d33cb6d6e957365f90f3a586498e5b7a45ff9

See more details on using hashes here.

File details

Details for the file smartbindb-5.17.5-py3-none-any.whl.

File metadata

  • Download URL: smartbindb-5.17.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smartbindb-5.17.5-py3-none-any.whl
Algorithm Hash digest
SHA256 51a63f1200aede0a4fb4f8d5e63a78242bc2cbac4d390cb7b3c88976c7c159c1
MD5 0befa4e4fbc83836b44d54a4cef5cd4d
BLAKE2b-256 7f8eb037168ea468640e0807e967f999a333ea854d2acac8cde79b25c19b3282

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