Python package for mapping pins to the place where it belong
Project description
Indiapins is a Python package for getting the places tagged to particular Indian pincode
Data is last updated February 21, 2026, with 165,627 area pin codes
Free software: MIT license
Documentation: https://pawangeek.github.io/indiapins/
Github Repo: https://github.com/pawangeek/indiapins
Installation
Install the plugin using ‘pip’:
$ pip install indiapins
Alternatively, install from source by cloning this repo:
$ pip install .
Features
Get all the mappings of given pins
The Python sqlite3 module is not required, so easily to use in Clouds (no additional dependencies)
Works with 3.10, 3.11, 3.12, 3.13, 3.14 and PyPy
Cross-platform: Windows, Mac, and Linux are officially supported.
Simple usage and very fast results
Examples
1. Exact Match
To find the names of all places, districts, circles and related information by given Indian Pincode
Important: The Pincode should be of 6 digits, in string format
indiapins.matching('110011')
[{'Name': 'Nirman Bhawan', 'BranchType': 'PO', 'DeliveryStatus': 'Delivery',
'Circle': 'Delhi Circle', 'District': 'NEW DELHI', 'Division': 'New Delhi Central Division',
'Region': 'Delhi Region', 'State': 'DELHI', 'Pincode': 110011,
'Latitude': 28.6108611, 'Longitude': 77.2148611},
{'Name': 'Udyog Bhawan', 'BranchType': 'PO', 'DeliveryStatus': 'Non Delivery',
'Circle': 'Delhi Circle', 'District': 'NEW DELHI', 'Division': 'New Delhi Central Division',
'Region': 'Delhi Region', 'State': 'DELHI', 'Pincode': 110011,
'Latitude': 28.6111111, 'Longitude': 77.2127500}]
2. Valid Pincode
To check if the given Pincode is valid or not
indiapins.isvalid('110011')
True
3. District by Pincode
It extracts the district of given Indian pincode
indiapins.districtmatch('302005')
'Jaipur'
4. Coordinates of Pincode
It extracts all the coordinates of given Indian pincode
indiapins.coordinates('110011')
{'Udyog Bhawan': {'latitude': '28.6111111', 'longitude': '77.2127500'},
'Nirman Bhawan': {'latitude': '28.6108611', 'longitude': '77.2148611'}}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file indiapins-1.0.6.tar.gz.
File metadata
- Download URL: indiapins-1.0.6.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60734a60411f703910ec51fd2bd8117c28382daffa2fe51e7debb1a84dbd573f
|
|
| MD5 |
86e8700c7d35d869588d3a36a113bb6c
|
|
| BLAKE2b-256 |
9d6f875f2c326d4f648e1e13adcb46639977c191d539762052cce8de33f2c47b
|
File details
Details for the file indiapins-1.0.6-py3-none-any.whl.
File metadata
- Download URL: indiapins-1.0.6-py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3da697644ebe77bb8ee632f775b971c3c52eda836f1bf4841d376db4fd0675f8
|
|
| MD5 |
ed54e7e10c7f501e1ff47aacde2c861b
|
|
| BLAKE2b-256 |
a33f7044f699c7247f196313fa44f3f008f9c67adc0372e2be0ca1ddd9d524f7
|