TerraHarmonize


NameTerraHarmonize JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryThis package was created for the SatSure Sage GIS team. It is useful for POC matching for all states.
upload_time2024-07-01 05:27:34
maintainerNone
docs_urlNone
authorchandramohan
requires_python<3.11,>=3.9
licenseGPLv3
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/04/37/72f1719d26e9572873961fc9a36faff4a1b09d8347b0c4888907d601688e/terraharmonize-0.1.1.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.1",
    "project_urls": {
        "Documentation": "https://terraharmonize-docs.readthedocs.io/en/latest/index.html"
    },
    "split_keywords": [
        "satsure",
        " terraharmonize",
        " sage",
        " poc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9949be19b94f8cf45c9841efb661718e54a9580dd523726990a34184623f732",
                "md5": "672c90427565cc0e741e7c9cf1e2d5b3",
                "sha256": "909a08d0f52335832feeabf73806d5a74a9c1cfde2923280b1127cb9db6f5ded"
            },
            "downloads": -1,
            "filename": "terraharmonize-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "672c90427565cc0e741e7c9cf1e2d5b3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.11,>=3.9",
            "size": 19289,
            "upload_time": "2024-07-01T05:27:32",
            "upload_time_iso_8601": "2024-07-01T05:27:32.882866Z",
            "url": "https://files.pythonhosted.org/packages/e9/94/9be19b94f8cf45c9841efb661718e54a9580dd523726990a34184623f732/terraharmonize-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "043772f1719d26e9572873961fc9a36faff4a1b09d8347b0c4888907d601688e",
                "md5": "6a6ca0fbe3a502ffae82ee16d194314c",
                "sha256": "bcbd874a80a0ce86387e66c47ea53eaf0dc34854ad9490785a62bd93f7a26c3a"
            },
            "downloads": -1,
            "filename": "terraharmonize-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6a6ca0fbe3a502ffae82ee16d194314c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.11,>=3.9",
            "size": 18617,
            "upload_time": "2024-07-01T05:27:34",
            "upload_time_iso_8601": "2024-07-01T05:27:34.760521Z",
            "url": "https://files.pythonhosted.org/packages/04/37/72f1719d26e9572873961fc9a36faff4a1b09d8347b0c4888907d601688e/terraharmonize-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-01 05:27:34",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "terraharmonize"
}
        
Elapsed time: 1.01600s