Skip to main content

A Python library to encode geographic coordinates into DIGIPIN and decode DIGIPINs back to coordinates.

Project description


digipin-python

A Python library for encoding geographic coordinates into a 10-digit alphanumeric DIGIPIN and decoding a DIGIPIN back into its approximate central latitude and longitude.

Report Bug . Request Feature

Downloads GitHub Contributors Github Issues GitHub Last Commit Repo Size GitHub Pull Requests Github License Test Cases

Table Of Contents

✨ Features

  • 🔢 Encode: Convert latitude and longitude into a unique 10-digit DIGIPIN.

  • 🔍 Decode: Convert a DIGIPIN back to its central latitude and longitude.

  • Validation:

    • Latitude/longitude bounds checking.

    • Format checks for DIGIPIN strings.

📦 Getting Started

Install digipin-python with pip

  pip install digipin-python

Or clone the repository:

git clone https://github.com/crackedngineer/digipin-python.git
cd digipin-python
pip install -e .

🚀 Usage

Read the Documentation here

📄 License

Distributed under the MIT License. See LICENSE for more information.

💛 Support This Project

If this project helps you discover amazing tools or saves your time, consider supporting it:

Buy Me a Coffee — Every bit helps keep the lights on!

📬 Contact: subhomoyrchoudhury@gmail.com


🙏 Acknowledgements


Made in India with ❤️ by crackedngineer

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

digipin_python-0.1.7.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

digipin_python-0.1.7-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file digipin_python-0.1.7.tar.gz.

File metadata

  • Download URL: digipin_python-0.1.7.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1015-azure

File hashes

Hashes for digipin_python-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ceb5525cbc8dd6adcf513634726ea54ef26208bf2ef21347bcb41ac30e067e8a
MD5 f65565133ed5202b3e828781e4508efa
BLAKE2b-256 f399f7bb86c1c105fb074fdaff3e5942e3f02f2ac8b05fd5e4053e2a7f40d486

See more details on using hashes here.

File details

Details for the file digipin_python-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: digipin_python-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1015-azure

File hashes

Hashes for digipin_python-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8bfa4ece5cf642e4a0355e549edb15c8f5d53d2134b035bb5148832f9699782d
MD5 f36611ab31005a0a75a55752289a3001
BLAKE2b-256 97fa9683d3a29436d7f644bc097a194cee82962d3184148e52f014e8146ac0ce

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