Name | TerraHarmonize JSON |
Version |
0.1.2
JSON |
| download |
home_page | None |
Summary | This package was created for the SatSure Sage GIS team. It is useful for POC matching for all states. |
upload_time | 2024-10-01 09:01:39 |
maintainer | None |
docs_url | None |
author | chandramohan |
requires_python | <3.11,>=3.9 |
license | GPLv3 |
keywords |
satsure
terraharmonize
sage
poc
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
```sh
pip install TerraHarmonize
```
### Examples
For changing regional character to English.
```python
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.
```python
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.
```python
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'
```
Raw data
{
"_id": null,
"home_page": null,
"name": "TerraHarmonize",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.11,>=3.9",
"maintainer_email": null,
"keywords": "SatSure, TerraHarmonize, Sage, POC",
"author": "chandramohan",
"author_email": "chandramohan@satsure.co",
"download_url": "https://files.pythonhosted.org/packages/22/53/21bd0a69d297f91f4e493b7ffb0ec54f3b77e2b759aefef161a0d6ea0a03/terraharmonize-0.1.2.tar.gz",
"platform": null,
"description": "# TerraHarmonize\nThis 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\n\n### Installation\n```sh\npip install TerraHarmonize\n```\n### Examples\n\nFor changing regional character to English.\n```python\nfrom TerraHarmonize import POC_matching\n\n>>> string = '12/\u0905/1'\n>>> print(POC_matching.char_assasin(string,'Hi'))\n '12/A/1'\n```\nFor getting the index of the best match.\n\n```python\nfrom TerraHarmonize import POC_matching\n\n>>> string = '13/A1'\n>>> comparing_list = ['13/A1','14/A/1','12/A/1','13/\u0c05','13-\u0c05/1']\n #correct matching is [0,3,4] index i.e. '13/A1','13/\u0c05','13-\u0c05/1' \n>>> print(POC_matching(string,comparing_list).right_choice_AP(include='normal'))\n [0]\n>>> print(POC_matching(string,comparing_list).right_choice_AP(include='both',state='AP'))\n [0, 3, 4]\n\n```\nAdding **/** inbetween a number and an alphabet.\n\n```python\nfrom TerraHarmonize import POC_matching\n\n>>> data = '13/1AA/BB1/E'\n>>> updated_data = POC_matching.string_updation(data,'En')\n>>> print(updated_data)\n '13/1/AA/BB/1/E'\n\n```",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "This package was created for the SatSure Sage GIS team. It is useful for POC matching for all states.",
"version": "0.1.2",
"project_urls": {
"Documentation": "https://terraharmonize-docs.readthedocs.io/en/latest/index.html"
},
"split_keywords": [
"satsure",
" terraharmonize",
" sage",
" poc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "733411dcaf81240f01ee656d1f8565bd30b9b1ce85256ab66aebb8aba1c8e441",
"md5": "992cbafb46e229df611fcacb1eaf4b3d",
"sha256": "e8398d3d1362f5cc85673125e41c1e88ace7bf0eafba7571f354e5d007029fb3"
},
"downloads": -1,
"filename": "terraharmonize-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "992cbafb46e229df611fcacb1eaf4b3d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.11,>=3.9",
"size": 19302,
"upload_time": "2024-10-01T09:01:37",
"upload_time_iso_8601": "2024-10-01T09:01:37.401174Z",
"url": "https://files.pythonhosted.org/packages/73/34/11dcaf81240f01ee656d1f8565bd30b9b1ce85256ab66aebb8aba1c8e441/terraharmonize-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "225321bd0a69d297f91f4e493b7ffb0ec54f3b77e2b759aefef161a0d6ea0a03",
"md5": "cd563f2485be2a83f16134a404b08d49",
"sha256": "32be9b8c7d31494238972b5612d45e0a46b0ccd5dcbf0328606810a560c44da7"
},
"downloads": -1,
"filename": "terraharmonize-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "cd563f2485be2a83f16134a404b08d49",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.11,>=3.9",
"size": 18630,
"upload_time": "2024-10-01T09:01:39",
"upload_time_iso_8601": "2024-10-01T09:01:39.568441Z",
"url": "https://files.pythonhosted.org/packages/22/53/21bd0a69d297f91f4e493b7ffb0ec54f3b77e2b759aefef161a0d6ea0a03/terraharmonize-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-01 09:01:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "terraharmonize"
}