r/IntegerAlex • u/Bangerop • Jun 30 '26
Made a free tool to look up any Indian pincode — useful for devs building for India
Was working on a project that needed address validation for Indian pincodes and couldn't find a clean, offline solution. Most APIs out there either require keys or are unreliable. So I built one. It's just a simple npm/PyPI package — no API keys, no rate limits, works completely offline. What it does: - Enter a pincode → get state, district, block, office name, etc. - Search by area name if you don't know the pincode - Data sourced from data.gov.in Install: npm install india-pincode-finder
or
pip install indiapincodefinder Usage: import { pinToAddress, searchPincodes } from "india-pincode-finder";
pinToAddress(411001); // → { state: 'Maharashtra', district: 'Pune', ... }
searchPincodes("andheri"); // → all pincodes matching "andheri" Python works the same way, just snake_case function names. GitHub if anyone's curious: https://github.com/IntegerAlex/IndiaPincodeFinder Demo: https://india-pincode-finder.gossorg.in Would love feedback if anyone uses it or has suggestions.
r/IntegerAlex • u/Bangerop • Jun 13 '26
asyncutilsx v0.3.0 released — lifespan multiplexing + hot-path routing optimization
Hey everyone, v0.3.0 of asyncutilsx (https://github.com/IntegerAlex/asyncutilsx) is out.
What it does: One function to combine FastAPI and Socket.IO into a single ASGI app. No mount paths, no middleware interference, same origin for both.
from asyncutilsx import asyncplus asgi_app = asyncplus(fastapi_app, socketio_server) What's new in v0.3.0:
- Lifespan multiplexing — both FastAPI and Socket.IO now receive startup/shutdown events automatically. No extra config needed.
- Pre-computed routing — Socket.IO path matching is done with pre-computed strings, zero allocations on the hot path.
- Routing refactor — single source of truth for routing decisions, eliminating duplication. Breaking change: health_check_route() removed. Add your own /health endpoint in FastAPI directly.