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.1.tar.gz
(51.7 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.1-py3-none-any.whl
(33.5 MB
view details)
File details
Details for the file point2pin-0.1.1.tar.gz.
File metadata
- Download URL: point2pin-0.1.1.tar.gz
- Upload date:
- Size: 51.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af764b7428cd2a822beafe79e036aa5c6ce8221456ea3bfa40511996b8db644a
|
|
| MD5 |
675243a066f17072598f39ee65db4cba
|
|
| BLAKE2b-256 |
9e5fffb0360b8cbcd0fcab102f452290e5153ecf92a6b43d8c9c341e58eca4b0
|
File details
Details for the file point2pin-0.1.1-py3-none-any.whl.
File metadata
- Download URL: point2pin-0.1.1-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 |
eaf9c449bb8009c5894357ae349eb6c0f63aaa96c9a031dbac7f6e43c505d264
|
|
| MD5 |
5a988a5b86ac6429b79418aaa305a31e
|
|
| BLAKE2b-256 |
1d3d7dc5be40dd03953cb2a0153800bd8b710a299b192e8170cd672f87baf97b
|