# crdp-gcr
Cython implementation of Ramer-Douglas-Peucker algorithm, identical to [crdp](https://pypi.org/project/crdp/0.0.2/) but modified to run as a google cloud function.
## Usage
```
pip instal crdp-gcr
```
```python
In [1]: from crdp import rdp
In [2]: rdp([[1,1],[2,3],[3,3],[4,4]], 0.8)
Out[2]: [[1, 1], [4, 4]]
In [3]: rdp([[1,1],[2,3],[3,3],[4,4]], 0.7)
Out[3]: [[1, 1], [2, 3], [4, 4]]
```
All credit to [Bi Ran](https://github.com/biran0079), author of the original code
            
         
        Raw data
        
            {
    "_id": null,
    "home_page": "https://github.com/vtecftwy/crdp-gcp",
    "name": "crdp-gcr",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.10",
    "maintainer_email": null,
    "keywords": "rdp ramer douglas peucker line simplification cython",
    "author": "Fabien PFAENDER",
    "author_email": "fabien.pfaender@utc.fr",
    "download_url": "https://files.pythonhosted.org/packages/36/4e/a046e76304879e52155a94679390a01e7e49cb6ae6edbedcef29f99039a7/crdp_gcr-0.1.tar.gz",
    "platform": null,
    "description": "# crdp-gcr\n\nCython implementation of Ramer-Douglas-Peucker algorithm, identical to [crdp](https://pypi.org/project/crdp/0.0.2/) but modified to run as a google cloud function.\n\n## Usage\n```\npip instal crdp-gcr\n```\n\n```python\nIn [1]: from crdp import rdp\n\nIn [2]: rdp([[1,1],[2,3],[3,3],[4,4]], 0.8)\nOut[2]: [[1, 1], [4, 4]]\n\nIn [3]: rdp([[1,1],[2,3],[3,3],[4,4]], 0.7)\nOut[3]: [[1, 1], [2, 3], [4, 4]]\n```\n\nAll credit to [Bi Ran](https://github.com/biran0079), author of the original code\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A fast Ramer-Douglas-Peucker algorithm implementation. Updated for GCP cloud run",
    "version": "0.1",
    "project_urls": {
        "Homepage": "https://github.com/vtecftwy/crdp-gcp"
    },
    "split_keywords": [
        "rdp",
        "ramer",
        "douglas",
        "peucker",
        "line",
        "simplification",
        "cython"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0d265750f9a43bd2fc1a9e5909a9f0cc8539aa55297ea1c6ea4c1e4b5cc5b334",
                "md5": "a85204458b8218278d390c8488917f62",
                "sha256": "a9a92e97767278ca9b0befaaaffb898e71016ac94ad3bf93200d7f8963e604f8"
            },
            "downloads": -1,
            "filename": "crdp_gcr-0.1-cp313-cp313-macosx_15_0_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a85204458b8218278d390c8488917f62",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": "<4,>=3.10",
            "size": 21932,
            "upload_time": "2025-09-05T07:50:58",
            "upload_time_iso_8601": "2025-09-05T07:50:58.004432Z",
            "url": "https://files.pythonhosted.org/packages/0d/26/5750f9a43bd2fc1a9e5909a9f0cc8539aa55297ea1c6ea4c1e4b5cc5b334/crdp_gcr-0.1-cp313-cp313-macosx_15_0_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "364ea046e76304879e52155a94679390a01e7e49cb6ae6edbedcef29f99039a7",
                "md5": "bacda1fe55dce87c822696aa87152925",
                "sha256": "8481c84b7beeeed0f1a2b96ade2cb1add0f06d4cbeba3b15034f160d3e1761b6"
            },
            "downloads": -1,
            "filename": "crdp_gcr-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "bacda1fe55dce87c822696aa87152925",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.10",
            "size": 61171,
            "upload_time": "2025-09-05T07:51:00",
            "upload_time_iso_8601": "2025-09-05T07:51:00.373174Z",
            "url": "https://files.pythonhosted.org/packages/36/4e/a046e76304879e52155a94679390a01e7e49cb6ae6edbedcef29f99039a7/crdp_gcr-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-05 07:51:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "vtecftwy",
    "github_project": "crdp-gcp",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "crdp-gcr"
}