Skip to main content

DIGIPIN encoder/decoder for India Post geocoding

Project description

indiapost-geocode

DIGIPIN encoder/decoder for India Post geocoding system.

Installation

pip install indiapost-geocode

Usage

from indiapost_geocode import get_digipin, get_lat_lng_from_digipin

# Encode coordinates to DIGIPIN
pin = get_digipin(28.6139, 77.2090)
print(pin)  # Output: FFF-3MF-34F8

# Decode DIGIPIN to coordinates
coords = get_lat_lng_from_digipin('FFF-3MF-34F8')
print(coords)  # Output: {'latitude': 28.613900, 'longitude': 77.209000}

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

indiapost_geocode-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

indiapost_geocode-1.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file indiapost_geocode-1.0.0.tar.gz.

File metadata

  • Download URL: indiapost_geocode-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for indiapost_geocode-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d531f13d7d6c67338bf726d76a39d3603cee3c8bb675d4f858c9f4abb0834af0
MD5 a37ac02fca5676b53ef736adfa5a1248
BLAKE2b-256 92efc0206ef9155fee41b03981e6ffa10c714a2dc550a7f3df74ec1cb67910c8

See more details on using hashes here.

File details

Details for the file indiapost_geocode-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for indiapost_geocode-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a65b4d64d9850d1d28243bd28b69e23e295ae03983617e7eeadb94aed5d9c9c8
MD5 016452eada81da463a531b251e39ab04
BLAKE2b-256 a89f6b431cf53f0abc261d5c78d15cd7c97a96475d10ca36eadf8ae4aa78f98b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page