joke2k / joke2k/faker

Add ifsc() generator to en_IN bank provider

Open Beginner friendly
#2,435 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
19.4k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

The en_IN bank provider currently only has bank(), which returns a bank name.
It would be useful to also have an ifsc() method that generates a structurally
valid IFSC code (Indian Financial System Code), used to identify bank branches
in India — commonly needed for banking/fintech test data.

IFSC format: 4 letters (bank code) + 0 + 6 alphanumeric characters (branch code)
Example: HDFC0001234

I'd like to work on this if maintainers are aligned.

Contributor guide

Open the contributing guide

Research direction

Locate the en_IN bank provider and its existing bank() implementation, then inspect nearby provider tests for the expected generator patterns. Add ifsc() so its output follows the stated 4-1-6 IFSC structure, and run the relevant provider tests with coverage for the format.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.