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 | Provenance | Actions |
|---|---|---|---|---|
| point2pin-0.1.1.tar.gz | 51.7 MB | Without provenance | Details for point2pin-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| point2pin-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for point2pin-0.1.1-py3-none-any.whl |
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
|
Security for point2pin 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.