Convert Lat Lng To Indian Pincode
Project description
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.
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
point2pin-0.1.0.tar.gz
(29.5 MB
view details)
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
point2pin-0.1.0-py3-none-any.whl
(33.5 MB
view details)
File details
Details for the file point2pin-0.1.0.tar.gz.
File metadata
- Download URL: point2pin-0.1.0.tar.gz
- Upload date:
- Size: 29.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34ce6299af1d19d44fc824336766bb31d942a34be83e4b46c658e2f91a05370e
|
|
| MD5 |
a8b72182766363922e76cd159d11363c
|
|
| BLAKE2b-256 |
bd28f80abe21635f5cd99570868866d6cb5d0c4f1a7e1753235621f4660545c9
|
File details
Details for the file point2pin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: point2pin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 33.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf04fc4a1cead12b64bdc417729a5802294cc647a70ca818bc6716dec0dfe62b
|
|
| MD5 |
262ecf000a90b5c7d9d59318f37e5bf6
|
|
| BLAKE2b-256 |
b6f769ed6a032602b030f745f29f575a8a3e6b47f043cd731b12eb436fdfe710
|