Skip to main content

A fast Ramer-Douglas-Peucker algorithm implementation. Updated for GCP cloud run

Project description

crdp-gcr

Cython implementation of Ramer-Douglas-Peucker algorithm, identical to crdp but modified to run as a google cloud function.

Usage

pip instal crdp-gcr
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, author of the original code

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crdp_gcr-0.1.tar.gz (61.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crdp_gcr-0.1-cp313-cp313-macosx_15_0_x86_64.whl (21.9 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

File details

Details for the file crdp_gcr-0.1.tar.gz.

File metadata

  • Download URL: crdp_gcr-0.1.tar.gz
  • Upload date:
  • Size: 61.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for crdp_gcr-0.1.tar.gz
Algorithm Hash digest
SHA256 8481c84b7beeeed0f1a2b96ade2cb1add0f06d4cbeba3b15034f160d3e1761b6
MD5 bacda1fe55dce87c822696aa87152925
BLAKE2b-256 364ea046e76304879e52155a94679390a01e7e49cb6ae6edbedcef29f99039a7

See more details on using hashes here.

File details

Details for the file crdp_gcr-0.1-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for crdp_gcr-0.1-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a9a92e97767278ca9b0befaaaffb898e71016ac94ad3bf93200d7f8963e604f8
MD5 a85204458b8218278d390c8488917f62
BLAKE2b-256 0d265750f9a43bd2fc1a9e5909a9f0cc8539aa55297ea1c6ea4c1e4b5cc5b334

See more details on using hashes here.

Supported by

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