Point2Pin: Python Library To Convert Latitude/Longitude To Indian Pincode
- Based on pin code boundaries from: https://www.data.gov.in/catalog/all-india-pincode-boundary-geo-json
- Accelerated lookups using H3 Indexing
Installation
Using pip:
$ pip install point2pin
Using uv:
$ uv add point2pin
Usage
import point2pin
result = point2pin.lookup(12.9807806, 77.6421572) # (lat, lng)
print(result)
'''
OUTPUT:
{'Pincode': '560038', 'Office_Name': 'Indiranagar S.O (Bengaluru)', 'Division': 'Bengaluru East ', 'Region': 'Bengaluru HQ ', 'Circle': 'Karnataka '}
'''
REST API
Contact krtdvn@gmail.com for hosted API quotes.
Metadata
Release files for point2pin 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| point2pin-0.1.1.tar.gz | 51.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| point2pin-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.1 MB
Release files / point2pin-0.1.1.tar.gz
| Download URL | point2pin-0.1.1.tar.gz |
|---|---|
| Size | 51.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af764b7428cd2a822beafe79e036aa5c6ce8221456ea3bfa40511996b8db644a
|
|
BLAKE2b-256 checksum How to use checksums |
9e5fffb0360b8cbcd0fcab102f452290e5153ecf92a6b43d8c9c341e58eca4b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|
Release files / point2pin-0.1.1-py3-none-any.whl
| Download URL | point2pin-0.1.1-py3-none-any.whl |
|---|---|
| Size | 33.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eaf9c449bb8009c5894357ae349eb6c0f63aaa96c9a031dbac7f6e43c505d264
|
|
BLAKE2b-256 checksum How to use checksums |
1d3d7dc5be40dd03953cb2a0153800bd8b710a299b192e8170cd672f87baf97b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|