# crdp-gcp
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 install crdp-gcp
```
```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-gcp",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "rdp ramer douglas peucker line simplification cython",
"author": "Ran Bi",
"author_email": "biran0079@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7c/fc/11120b8484410aea34f97f79977840ef11396042a030f42b8a777e90dde3/crdp-gcp-0.0.4.tar.gz",
"platform": null,
"description": "# crdp-gcp\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 install crdp-gcp\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 function",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/vtecftwy/crdp-gcp"
},
"split_keywords": [
"rdp",
"ramer",
"douglas",
"peucker",
"line",
"simplification",
"cython"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f75c5ad5ee9af2539e9833a5b4a54f4cee9a60fc99fb2ed35daa293b59d09c16",
"md5": "e85b148bb5714a1036e63317e674ae95",
"sha256": "4a46e2f9bfa17b6f5df5a32686f15704eeb198ee03a40bd8f73e1c6db39202ee"
},
"downloads": -1,
"filename": "crdp_gcp-0.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "e85b148bb5714a1036e63317e674ae95",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 19359,
"upload_time": "2023-06-11T13:23:22",
"upload_time_iso_8601": "2023-06-11T13:23:22.339763Z",
"url": "https://files.pythonhosted.org/packages/f7/5c/5ad5ee9af2539e9833a5b4a54f4cee9a60fc99fb2ed35daa293b59d09c16/crdp_gcp-0.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7cfc11120b8484410aea34f97f79977840ef11396042a030f42b8a777e90dde3",
"md5": "943619fb3a5fd3bb616b94afdfba653c",
"sha256": "145db298a2c2b92d44d8565a10d9997f2dcefb6540924e3745a8891bbbf9d142"
},
"downloads": -1,
"filename": "crdp-gcp-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "943619fb3a5fd3bb616b94afdfba653c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 33030,
"upload_time": "2023-06-11T13:23:23",
"upload_time_iso_8601": "2023-06-11T13:23:23.885996Z",
"url": "https://files.pythonhosted.org/packages/7c/fc/11120b8484410aea34f97f79977840ef11396042a030f42b8a777e90dde3/crdp-gcp-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-11 13:23:23",
"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-gcp"
}