https://github.com/kpsaurus/indian-pincode-details
A package for retrieving a list of details based on a given pincode.
https://github.com/kpsaurus/indian-pincode-details
Last synced: 4 months ago
JSON representation
A package for retrieving a list of details based on a given pincode.
- Host: GitHub
- URL: https://github.com/kpsaurus/indian-pincode-details
- Owner: kpsaurus
- License: mit
- Created: 2023-01-25T12:03:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T12:12:54.000Z (over 3 years ago)
- Last Synced: 2025-11-27T18:27:03.465Z (7 months ago)
- Language: Python
- Size: 974 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Indian Pincode Details 🇮🇳📍
A package for retrieving a list of details based on a given pincode.
## Quick start
- Install from PyPI
```
pip install indian-pincode-details
```
- Import the function to get the details
```
from indian_pincode_details import get_pincode_details
```
- Retrieve the pincode details by passing a pincode. If no result is found, an empty list will be returned.
```
result = get_pincode_details(560034)
```
- The result will be:
```
[{'office_name': 'Koramangala I Block S.O', 'pincode': 560034, 'taluk': 'Bangalore South', 'district': 'Bangalore', 'state': 'Karnataka', 'country': 'India'}, {'office_name': 'Koramangala S.O', 'pincode': 560034, 'taluk': 'Bangalore South', 'district': 'Bangalore', 'state': 'Karnataka', 'country': 'India'}, {'office_name': 'St. John"s Medical College S.O', 'pincode': 560034, 'taluk': 'Bangalore South', 'district': 'Bangalore', 'state': 'Karnataka', 'country': 'India'}, {'office_name': 'Agara B.O', 'pincode': 560034, 'taluk': 'Bangalore South', 'district': 'Bangalore', 'state': 'Karnataka', 'country': 'India'}]
```