Skip to main content

This is a rust implementation of the downsampling alogrithm Large-Triangle-Dynamic. The algorithm was described in the thesis "Downsampling Time Series for Visual Representation " written by Sveinn Steinarsson. You can find his thesis at https://skemman.is/handle/1946/15343f.

The code is losely taken from https://github.com/janjakubnanista/downsample.

This was a fun projet for me were I was able to implement the algorithm in rust and also publish it as a python package.

Usage

from ltd_rust import downsample
import random
length = 1000

x = [i for i in range(length)]
y = [random.randint(0,1000) for i in range(length)]

x_down, y_down = downsample(x,y,100)

Metadata

Release files for ltd-rust 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ltd-rust 0.1.6
File Size Uploaded Provenance Actions
ltd_rust-0.1.6.tar.gz 5.3 kB Without provenance Details for ltd_rust-0.1.6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for ltd-rust 0.1.6
File Actions
ltd_rust-0.1.6-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl PyPy 3.7 PyPy 3.7 7.3 Linux glibc 2.5+ x86-64 Details for ltd_rust-0.1.6-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
ltd_rust-0.1.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-64 Details for ltd_rust-0.1.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl
ltd_rust-0.1.6-cp310-none-win_amd64.whl CPython 3.10 none Windows x86-64 Details for ltd_rust-0.1.6-cp310-none-win_amd64.whl
ltd_rust-0.1.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details for ltd_rust-0.1.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
ltd_rust-0.1.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64 Details for ltd_rust-0.1.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
ltd_rust-0.1.6-cp39-none-win_amd64.whl CPython 3.9 none Windows x86-64 Details for ltd_rust-0.1.6-cp39-none-win_amd64.whl
ltd_rust-0.1.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details for ltd_rust-0.1.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
ltd_rust-0.1.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64 Details for ltd_rust-0.1.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
ltd_rust-0.1.6-cp38-none-win_amd64.whl CPython 3.8 none Windows x86-64 Details for ltd_rust-0.1.6-cp38-none-win_amd64.whl
ltd_rust-0.1.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details for ltd_rust-0.1.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
ltd_rust-0.1.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64 Details for ltd_rust-0.1.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
ltd_rust-0.1.6-cp37-none-win_amd64.whl CPython 3.7 none Windows x86-64 Details for ltd_rust-0.1.6-cp37-none-win_amd64.whl
ltd_rust-0.1.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details for ltd_rust-0.1.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
ltd_rust-0.1.6-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.7 CPython 3.7 pymalloc macOS 11.0+ ARM64, macOS 10.9+ x86-64, macOS 10.9+ universal2 (ARM64, x86-64) Details for ltd_rust-0.1.6-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Total release size: 8.2 MB

Release files / ltd_rust-0.1.6.tar.gz

Download URL ltd_rust-0.1.6.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8fb67104d9431c52f50b0b06803b05c2047bf1703987f91a66d6a3961e1d1510
BLAKE2b-256 checksum
How to use checksums
6c8d843c06475b7195bd3ecf365f137a1cc7538a406926a939e29d1b513e7d47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL ltd_rust-0.1.6-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 996.6 kB
Tags Linux glibc 2.5+ x86-64 PyPy 3.7 PyPy 3.7 7.3
SHA-256 checksum
How to use checksums
9acc19c046f99c27f5614f99299ba319cae645251180fbd1a7d4481cbd7fb319
BLAKE2b-256 checksum
How to use checksums
8ecd85c76a09cc77cc9a787e09f33bc06049d83c3d14545a53024cc79e927194
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL ltd_rust-0.1.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 993.2 kB
Tags CPython 3.11 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
6986dc404356ab33bc2d649ba2117ba9f3f9d0ded33964c4e734057aff5ecbd2
BLAKE2b-256 checksum
How to use checksums
5ba80e2c07fda51c52e747531e48bc8f4aca4aa6120bf443305f349792751912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp310-none-win_amd64.whl

Download URL ltd_rust-0.1.6-cp310-none-win_amd64.whl
Size 118.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
6608a24d7c8cbb06bd6c65dfe99997e93361cea234904f770e33129525854234
BLAKE2b-256 checksum
How to use checksums
48e4b3f1545fd27c01a5dba2c2aa467d217d6572ec6a8cedf3f8f6d913e36b06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL ltd_rust-0.1.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 993.2 kB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
90e9ddd22cc63d3dbe44409d919fde84db000a3621e3cdac11886054a36d04b1
BLAKE2b-256 checksum
How to use checksums
209901fbd4e7b98ef7936335000055b97b0ff992edff1aff49dd4e32bc0b949c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL ltd_rust-0.1.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 441.5 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a9ab39eba6585ec88591f69e1842a761ed6928fe54d8bac7f0d2996cadcdd3b2
BLAKE2b-256 checksum
How to use checksums
0f072a8a3c25b46a15e677015e4320fea08b4e049efdc1c99b206a2d797ababd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp39-none-win_amd64.whl

Download URL ltd_rust-0.1.6-cp39-none-win_amd64.whl
Size 118.3 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
d9d92aa1a5e46b76d09d5fea4a94fff00ce8eb4ad9727d6257ccc77443827d8c
BLAKE2b-256 checksum
How to use checksums
70a90be5b204f490eb45f5e9a2fa8d9bc14abf17a572e51cf296240e027f6d19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL ltd_rust-0.1.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 992.9 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f09155807cc44791ddc7ac16a7dab4615ab8cbba385da83ef3f805dc92f6a3a7
BLAKE2b-256 checksum
How to use checksums
43d75f51717c5d8b58bd415cc46491606888abdca6aa7a3f16668538594346cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL ltd_rust-0.1.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 441.8 kB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cf83ec89a8c2731159aa5fb0717c90aa26e83471ae190bfd319f396ef5edfd69
BLAKE2b-256 checksum
How to use checksums
fea2779426c4f64cb511cf8d6824d75424bdfcd9bb9763598d27990656eceebd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp38-none-win_amd64.whl

Download URL ltd_rust-0.1.6-cp38-none-win_amd64.whl
Size 118.2 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
87080e40dd2be156b7e3ba205a16d3b8c90258966af278d27dd925841deab2ab
BLAKE2b-256 checksum
How to use checksums
0bab7d920658bb5305221087f1f4563fb39cb416a9c331876012ff140dfc5052
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL ltd_rust-0.1.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 993.6 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
ada2d90899b6afb0406837d583ae741bfe340f573ca3c94c3640b89faf0d91e5
BLAKE2b-256 checksum
How to use checksums
0a7a51028f8c3f60f53bb2ee931ec589fc132e193e103132ec7678e40c40e60b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL ltd_rust-0.1.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 442.1 kB
Tags CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7983e99635bb110fc8fe968789a7a63d06f399c3e1591afb4df4da066ac49765
BLAKE2b-256 checksum
How to use checksums
af876b4f066e876d24bcb5d9c65da66dacf16147c239da44c1d13c967e7a644e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp37-none-win_amd64.whl

Download URL ltd_rust-0.1.6-cp37-none-win_amd64.whl
Size 118.1 kB
Tags CPython 3.7 Windows x86-64
SHA-256 checksum
How to use checksums
8f5e2bb269a440787d005d91586a372b96b72068c54ee95e6f2928dfc0bcdd0f
BLAKE2b-256 checksum
How to use checksums
c4f4735a8e6224a86de29482d9a835da95db341a8fd504c5aec6a69e33c7bf31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL ltd_rust-0.1.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 993.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
2fd4fd363cc302e6a50277a418742d90704ce4ca981b972dbc71d0ccce0b8285
BLAKE2b-256 checksum
How to use checksums
4219f9a4aa6bdaa9bd842954509c42d8dc039b39b131de2a1b2b980e14977070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Release files / ltd_rust-0.1.6-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL ltd_rust-0.1.6-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 442.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2aeb5ef2328b61c6286a60d1b6c16578b05e978039dfe6addc7037c5016c47c6
BLAKE2b-256 checksum
How to use checksums
d00a7d5458ba74825d89bbfb3df4a49884eb016d08f478f66dcfa7b7c51f5ece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.12.20

Security for ltd-rust 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page