Skip to main content

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

Metadata

Release files for smartbindb 5.17.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smartbindb 5.17.7
File Size Uploaded
smartbindb-5.17.7.tar.gz 3.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for smartbindb 5.17.7
File Interpreter ABI Platform
smartbindb-5.17.7-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 MB

Release files / smartbindb-5.17.7.tar.gz

Download URL smartbindb-5.17.7.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
30d9f23dcd2316e3cb5730798ed516a328630634d81fd413c26c380789b15cfa
BLAKE2b-256 checksum
How to use checksums
a590738ec9a63d2c2b5992cc09ae50aaa74fa156a3f615b0dfed7de6a798cc7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / smartbindb-5.17.7-py3-none-any.whl

Download URL smartbindb-5.17.7-py3-none-any.whl
Size 4.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6ba8d63e6c44685f81c524f53749b39134d974f648e5e503424c7d1149f8f39b
BLAKE2b-256 checksum
How to use checksums
cd4848ca010e6cdf4f41a7b34fbc8f25256bb3a80f6e0ae340a0a4dbb1a6182d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

5.17.7 This release

2 release files

5.17.1

2 release files

4.12.8

2 release files

3.16.3

2 release files

2.16.5

2 release files

2.16.3

2 release files

2.16.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page