A powerful Asynchronous Python library for getting BINs database by country name or bank name. Also supports BIN lookup for bots, MTProto API frameworks, and Python scripts.
Project description
SmartBinDB
A powerful asynchronous Python library for retrieving Bank Identification Number (BIN) database information, supporting lookups by country name, bank name, and individual BINs. Ideal for bots, MTProto API frameworks, and Python scripts. This is a closed-source project, and the source code is not available for public distribution.
Features
- Asynchronous operations using
asynciofor high-performance data retrieval. - Flexible lookups by country code, bank name, or specific BIN number.
- Optional limit support for bank and country-based searches.
- Compatible with Python 3.8 and all future versions.
- Seamless integration for developers working with bots, APIs, and scripts.
Installation
Install SmartBinDB via pip:
pip install smartbindb
Usage
Basic Asyncio Example
import asyncio
from smartbindb import SmartBinDB
async def main():
smartdb = SmartBinDB()
print("What would you like to do?")
print("1. BIN lookup")
print("2. Bank based search")
print("3. Country based search")
choice = input("Enter your choice (1, 2, or 3): ")
if choice == "1":
bin_number = input("Enter BIN number: ")
result = await smartdb.get_bin_info(bin_number)
print("BIN info:", result)
elif choice == "2":
bank_name = input("Enter bank name: ")
use_limit = input("Do you want to use a limit? (yes/no): ").lower()
limit = None
if use_limit == "yes":
limit = int(input("Enter limit: "))
result = await smartdb.get_bins_by_bank(bank_name, limit)
print("Bank results:", result)
elif choice == "3":
country_code = input("Enter country code: ").upper()
use_limit = input("Do you want to use a limit? (yes/no): ").lower()
limit = None
if use_limit == "yes":
limit = int(input("Enter limit: "))
result = await smartdb.get_bins_by_country(country_code, limit)
print("Country results:", result)
else:
print("Invalid choice. Please select 1, 2, or 3.")
if __name__ == "__main__":
asyncio.run(main())
Contributing
This is a closed-source project, and contributions are not accepted at this time.
License
This project is proprietary and not licensed for open-source use.
Contact
- Author: @ISmartCoder
- Email: abirxdhackz.info.me@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smartbindb-3.16.3.tar.gz.
File metadata
- Download URL: smartbindb-3.16.3.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48d9e490e3e6f20ed76fa5f12bff8b75dec5cc4dacacd112868196d22e8c55c2
|
|
| MD5 |
3518ec10b97716129df4bd9b1ab45130
|
|
| BLAKE2b-256 |
72d9c5c662fd55c6abab3d62c4c54346a08701c6c1950bd75a75453662b25876
|
File details
Details for the file smartbindb-3.16.3-py3-none-any.whl.
File metadata
- Download URL: smartbindb-3.16.3-py3-none-any.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e60eafd2e47aabc3fb6b159b2e453c6054eb4dfc84c1eecb805b6ccd4cf9ea1b
|
|
| MD5 |
a14b244e7e368702a9debfb2e5ffadbd
|
|
| BLAKE2b-256 |
e0f6295325f00d912c09d1888b216f8d59c6b01534c193518242ce826855879f
|