Skip to main content

No project description provided

Project description

RDP Rust

Build Status

Binary version of MIT licensed RDP implementation by fhirschmann.

Wheels are built for Linux Python 3.5, 3.6, and 3.7. OS X wheels are built for 3.6 and 3.7.

Benchmarks show approximately 60x speed increase.

Rust implementation of the Ramer-Douglas-Peucker algorithm (Ramer 1972; Douglas and Peucker 1973) for 2D data.

Installation

pip install rdp-rust

Usage

The inputs must all be floating points values.

>>> import numpy as np
>>> from rdp_rust import reduce_points

>>> arr = np.array([5.0, 0, 4, 0, 3, 0, 3, 1, 3, 2]).reshape(5, 2)
>>> reduce_points(small_arr, 0.2)
array([[5., 0.],
       [3., 0.],
       [3., 2.]])

Example

Demo of RDP

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

rdp_rust-0.4.0-cp37-cp37m-manylinux1_x86_64.whl (691.8 kB view details)

Uploaded CPython 3.7m

rdp_rust-0.4.0-cp37-cp37m-macosx_10_7_x86_64.whl (152.4 kB view details)

Uploaded CPython 3.7m macOS 10.7+ x86-64

rdp_rust-0.4.0-cp36-cp36m-manylinux1_x86_64.whl (692.2 kB view details)

Uploaded CPython 3.6m

rdp_rust-0.4.0-cp36-cp36m-macosx_10_7_x86_64.whl (152.7 kB view details)

Uploaded CPython 3.6m macOS 10.7+ x86-64

rdp_rust-0.4.0-cp35-cp35m-manylinux1_x86_64.whl (692.1 kB view details)

Uploaded CPython 3.5m

File details

Details for the file rdp_rust-0.4.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: rdp_rust-0.4.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 691.8 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for rdp_rust-0.4.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7b44d37c63fe9b3476db322f8aba32a5ce838877df4d4053ca8a15bd3319279b
MD5 d084eba9f3f31b33138fea86361ada5d
BLAKE2b-256 28c28b97d7404cc9735eb7f36ad32f785c8b097c2ddbf6e7e590f4de81001fef

See more details on using hashes here.

File details

Details for the file rdp_rust-0.4.0-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: rdp_rust-0.4.0-cp37-cp37m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 152.4 kB
  • Tags: CPython 3.7m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for rdp_rust-0.4.0-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 82a320203a6e42db9ab6d634c056c8eca00b004a56b92e9f288854841c73ce80
MD5 1e3f6f324e4673931d3d41a4654fbb8b
BLAKE2b-256 a3773e56dd802d76c9ff58bc2f0ff5a26b0e8b4f8eae91096031454fa3677c41

See more details on using hashes here.

File details

Details for the file rdp_rust-0.4.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: rdp_rust-0.4.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 692.2 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for rdp_rust-0.4.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 60f568b632442ba748996f82122a98bc3a8b8f37c27c1368bad8c5b875c9fd45
MD5 d498db4e8c05c4deed411bcc24662d50
BLAKE2b-256 cd17057e5587e4d02fd2e5d227f0d1a6933c28460b49ccf1807e2c57cc268a15

See more details on using hashes here.

File details

Details for the file rdp_rust-0.4.0-cp36-cp36m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: rdp_rust-0.4.0-cp36-cp36m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 152.7 kB
  • Tags: CPython 3.6m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for rdp_rust-0.4.0-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 18a17799503fa1eba00ea5f82cb27055fe5ae7db83fbc7d4fde056c363b7b3b3
MD5 d8c728b41c3545219067983333292275
BLAKE2b-256 f86681161210525f08e270d5d77212bf6e0e9069ca8ab1f7a9ea012925c14a04

See more details on using hashes here.

File details

Details for the file rdp_rust-0.4.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: rdp_rust-0.4.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 692.1 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for rdp_rust-0.4.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e4c4c7c16639b15c2dd315bd7ef2485afc8bda9026d04e782bc8f5f497f2a8c2
MD5 645c06fdae23cd96b65d076593c69eeb
BLAKE2b-256 745a14f7be72de354edb2ff22d5449d55364ab5eb6664bbe9499f20e7ee7ae4c

See more details on using hashes here.

Supported by

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