Skip to main content

Open-source Indian bank logos and structured metadata — IFSC prefixes, USSD codes, websites, and RBI bank types.

Project description

indian-banks

Open-source Indian bank logos & structured data — IFSC prefixes, USSD balance codes, websites, and RBI bank categories for fintech apps, UPI flows, and banking integrations.

Maintainer nkscoder.in
Package (PyPI) nkscoder-indian-banks
Python import indian_banks
Version 1.0.0
License MIT
Python 3.10+

PyPI Python License: MIT


Why this project?

Finding reliable, verified Indian bank logos and metadata (IFSC prefix, USSD codes, official websites) is time-consuming for fintech and banking apps.

This repo is a single source of truth for:

  • Official PNG / JPEG / AVIF bank logos (170+ files)
  • Structured JSON metadata per bank
  • Python API to look up banks by slug or IFSC prefix
  • Ready for PyPI install in Django, Flask, FastAPI, or data pipelines

Keywords: Indian banks, bank logos India, IFSC bank code, RBI bank list, UPI fintech, balance check USSD, nkscoder.


Install

From PyPI

pip install nkscoder-indian-banks

From source (development)

git clone https://github.com/nkscoder/indian-banks.git
cd indian-banks
pip install -e .

Quick start (Python)

import indian_banks

# List all banks
banks = indian_banks.get_all_banks()
print(len(banks), "banks loaded")

# Lookup by IFSC code or prefix
sbi = indian_banks.get_bank_by_ifsc("SBIN0001234")
print(sbi.name, sbi.website, sbi.ussd)

# Lookup by slug
hdfc = indian_banks.get_bank("hdfc")

# Resolve logo path on disk
logo_path = indian_banks.get_logo_path(sbi)
print(logo_path)  # .../indian_banks/logos/State Bank of India.png

Data schema

Each bank entry in indian_banks/data/banks.json includes:

Field Example Description
name State Bank of India Display name
slug sbin Unique short id
ifsc_prefix SBIN First 4 chars of IFSC
logo State Bank of India.png Logo filename
bank_type public_sector RBI category
website https://sbi.co.in Official site
ussd *999# Balance enquiry code

Full schema: docs/DATA.md


Bank slugs & logos (sample)

Bank Name Slug IFSC Logo
State Bank of India sbin SBIN State Bank of India logo
HDFC Bank hdfc HDFC HDFC Bank logo
ICICI Bank icic ICIC ICICI Bank logo
Punjab National Bank punb PUNB PNB logo
Union Bank of India ubin UBIN Union Bank logo

➡️ 170+ banks with logos in indian_banks/logos/. Metadata enrichment is ongoing — contributions welcome.


Project layout

indian-banks/
├── indian_banks/           # Python package
│   ├── __init__.py
│   ├── banks.py            # lookup API
│   ├── data/banks.json     # structured metadata
│   └── logos/              # bank logo files
├── docs/DATA.md            # schema documentation
├── pyproject.toml
├── PUBLISHING.md           # PyPI upload guide
├── LICENSE
└── README.md

Publish to PyPI

To upload this package to PyPI:

  1. Create an API token at pypi.org/manage/account/token
  2. Build and upload — full steps in PUBLISHING.md
pip install build twine
python -m build
twine upload dist/*
# Username: __token__
# Password: <your-pypi-api-token>

GitHub Actions workflow (.github/workflows/publish-pypi.yml) publishes automatically on release when PYPI_API_TOKEN is set.


Roadmap

  • Bank logo collection (170+ files)
  • JSON metadata + Python API
  • PyPI package (nkscoder-indian-banks)
  • Vector (SVG) logos for all major banks
  • Complete IFSC / USSD / website for every RBI-listed bank
  • Automated verification against official RBI sources

Bank types reference: RBI Official List


Contributing

  1. Fork the repo
  2. Add or update a logo in indian_banks/logos/
  3. Update indian_banks/data/banks.json (see docs/DATA.md)
  4. Open a pull request

About nkscoder.in

This package is maintained by nkscoder.in as open infrastructure for Indian banking data — logos, IFSC prefixes, and metadata for apps and fintech products.

For support or custom integrations, visit https://nkscoder.in.


License

Copyright © 2026 nkscoder.in.

Released under the MIT License. Logos remain property of their respective banks; use only for identification and reference in applications.

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

nkscoder_indian_banks-1.0.0.tar.gz (5.7 MB view details)

Uploaded Source

Built Distribution

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

nkscoder_indian_banks-1.0.0-py3-none-any.whl (5.7 MB view details)

Uploaded Python 3

File details

Details for the file nkscoder_indian_banks-1.0.0.tar.gz.

File metadata

  • Download URL: nkscoder_indian_banks-1.0.0.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for nkscoder_indian_banks-1.0.0.tar.gz
Algorithm Hash digest
SHA256 09d12949f80a0a174ac57227109b91f05d5fbac77fc26ea3867a38274d735f13
MD5 55fbc8fbd0b37b6b754734acc74be461
BLAKE2b-256 26b268c86f013476b788525c885391b5289f71b7f8e243be890eda0751459961

See more details on using hashes here.

File details

Details for the file nkscoder_indian_banks-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nkscoder_indian_banks-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd751af092630a60e131e550dd832f938ecb792188ceebe1bc5466553becae0c
MD5 420c30c9798e7f3bef01c053378c5786
BLAKE2b-256 456282743689423f584f5bf0b4b8872d8cf1fca62ef75205bc5147155d65733f

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