Skip to main content

This package was created for the SatSure Sage GIS team. It is useful for POC matching for all states.

Project description

TerraHarmonize

This package was created for SatSure SAGE. It is designed for matching client data with internal data for proof-of-concept (POC) purposes. It is applicable to all states

Installation

pip install TerraHarmonize

Examples

For changing regional character to English.

from TerraHarmonize import POC_matching

>>> string = '12/अ/1'
>>> print(POC_matching.char_assasin(string,'Hi'))
    '12/A/1'

For getting the index of the best match.

from TerraHarmonize import POC_matching

>>> string = '13/A1'
>>> comparing_list = ['13/A1','14/A/1','12/A/1','13/అ','13-అ/1']
    #correct matching is [0,3,4] index i.e. '13/A1','13/అ','13-అ/1' 
>>> print(POC_matching(string,comparing_list).right_choice_AP(include='normal'))
    [0]
>>> print(POC_matching(string,comparing_list).right_choice_AP(include='both',state='AP'))
    [0, 3, 4]

Adding / inbetween a number and an alphabet.

from TerraHarmonize import POC_matching

>>> data = '13/1AA/BB1/E'
>>> updated_data = POC_matching.string_updation(data,'En')
>>> print(updated_data)
    '13/1/AA/BB/1/E'

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

terraharmonize-0.1.2.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

terraharmonize-0.1.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file terraharmonize-0.1.2.tar.gz.

File metadata

  • Download URL: terraharmonize-0.1.2.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.8.0-45-generic

File hashes

Hashes for terraharmonize-0.1.2.tar.gz
Algorithm Hash digest
SHA256 32be9b8c7d31494238972b5612d45e0a46b0ccd5dcbf0328606810a560c44da7
MD5 cd563f2485be2a83f16134a404b08d49
BLAKE2b-256 225321bd0a69d297f91f4e493b7ffb0ec54f3b77e2b759aefef161a0d6ea0a03

See more details on using hashes here.

File details

Details for the file terraharmonize-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: terraharmonize-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.8.0-45-generic

File hashes

Hashes for terraharmonize-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e8398d3d1362f5cc85673125e41c1e88ace7bf0eafba7571f354e5d007029fb3
MD5 992cbafb46e229df611fcacb1eaf4b3d
BLAKE2b-256 733411dcaf81240f01ee656d1f8565bd30b9b1ce85256ab66aebb8aba1c8e441

See more details on using hashes here.

Supported by

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