Skip to main content

Indian bank logos and structured metadata by Nitesh Kumar Singh (nkscoder) — IFSC prefixes, USSD codes, websites, and RBI bank types.

Project description

indian-banks

Author: Nitesh Kumar Singh · GitHub: @nkscoder
Repository: github.com/nkscoder/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. Built by Nitesh Kumar Singh (nkscoder).

Maintainer Nitesh Kumar Singh — nkscoder.in
Package (PyPI) nkscoder-indian-banks
Python import indian_banks
Version 1.0.1
License MIT
Python 3.10+

PyPI version Python Downloads 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, Nitesh Kumar Singh, 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 Nitesh Kumar Singh (nkscoder)

Nitesh Kumar Singh develops open-source data packages and Django tools under nkscoder. indian-banks (nkscoder-indian-banks on PyPI) is a free, MIT-licensed dataset of Indian bank logos, IFSC prefixes, USSD codes, and RBI metadata for fintech apps and developers.

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


License

Copyright © 2026 Nitesh Kumar Singh (nkscoder).

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.1.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.1-py3-none-any.whl (5.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nkscoder_indian_banks-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8bd4e0b0cc42355e3b041ceab0355d08fcbfec07eb996785ff992c8974e40fbf
MD5 b40ce6fe280c7456655aaaaef4c502d4
BLAKE2b-256 bfb01c92e0ea1636dccccba78ee31d710e5609b6c39da5289672fb88dbb3dda0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nkscoder_indian_banks-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8df9c81b922b3dcab93da771216cb4230b674ef00662dddf77acf1b022f39c89
MD5 8ee76c00fe742a28d80e968028a880e5
BLAKE2b-256 ad506cdd37382d9613f664694610a9f615e3c0dd0f72228338dabfeba459fda2

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