Skip to main content
Files added late

4 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

lttbc: Largest-Triangle-Three-Buckets (Python using a c implementation)

This is a low-level implementation of the Largest-Triangle-Three-Buckets (LTTB) downsampling algorithm written in Python.

The code has been translated from the work of Sveinn Steinarsson (https://github.com/sveinn-steinarsson/flot-downsample/).

Known features and requirements:

  • The algorithm requires monotonically increasing x data (finite)
  • The algorithm requires finite y data (otherwise problems might occur)
  • x and y data have to be of same length (of course)
  • The algorithm returns arrays of dtype double

How to use on the field

The module lttbc differs in the standard input from other largest triangle three buckets implementations. The downsample function takes an input for x and y in addition to the threshold:

import lttbc
import numpy as np

ARRAY_SIZE = 10000
THRESHOLD = 1000

x = np.arange(ARRAY_SIZE, dtype=np.int32)
y = np.random.randint(1000, size=ARRAY_SIZE, dtype=np.uint64)

nx, ny = lttbc.downsample(x, y, THRESHOLD)

assert len(nx) == THRESHOLD
assert len(ny) == THRESHOLD
assert nx.dtype == np.double
assert ny.dtype == np.double

# List data or a mixture is accepted as well ...
x = list(range(ARRAY_SIZE))
y = [np.random.uniform(0, 1000) for _ in range(ARRAY_SIZE)]

assert isinstance(x, list)
assert isinstance(y, list)

nx, ny = lttbc.downsample(x, y, THRESHOLD)

assert len(nx) == THRESHOLD
assert len(ny) == THRESHOLD
assert nx.dtype == np.double
assert ny.dtype == np.double

Release files for lttbc 0.2.1

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

Files added late

4 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for lttbc 0.2.1
File Size Uploaded
lttbc-0.2.1.tar.gz 93.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for lttbc 0.2.1
File
lttbc-0.2.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
lttbc-0.2.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-64 Details
lttbc-0.2.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
lttbc-0.2.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details
lttbc-0.2.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
lttbc-0.2.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
lttbc-0.2.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
lttbc-0.2.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
lttbc-0.2.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
lttbc-0.2.1-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
lttbc-0.2.1-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
lttbc-0.2.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 254.3 kB

Release files / lttbc-0.2.1.tar.gz

Download URL lttbc-0.2.1.tar.gz
Size 93.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8ee634437b8a265d73de758bb81354aee4206698caa0e65fdd33568dc2373d47
BLAKE2b-256 checksum
How to use checksums
52cde2967ba6757a614c9b8ff103c82b8c05e5a3ac88fb263283a73042e48920
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.11

Release files / lttbc-0.2.1-cp311-cp311-win_amd64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL lttbc-0.2.1-cp311-cp311-win_amd64.whl
Size 10.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a8ea47ef09c4ff40f7efe5cd6b31f7d63bfd1492ef7d7a61e96fe775e18369ac
BLAKE2b-256 checksum
How to use checksums
98c98640162447420baa36f6b4cfa2a0589c780351f14649167f358000473d1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / lttbc-0.2.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL lttbc-0.2.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 8.0 kB
Tags CPython 3.11 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
96a4be0ac595f3a92d74cbbf2c00f17a8e84954b0f0ad39b9b0aa5b842c2dfdb
BLAKE2b-256 checksum
How to use checksums
06484938c22ea734577a6081b42f29c1e75f19e3a8e5848a548f7465a668c0ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / lttbc-0.2.1-cp310-cp310-win_amd64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL lttbc-0.2.1-cp310-cp310-win_amd64.whl
Size 10.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
cbdc07c9d76e84256827de473a009d7b721d6b724a33052639646e1bbaf583b1
BLAKE2b-256 checksum
How to use checksums
60dae991941296990cf142eb43d07866efa272352cbabc067f502c0983e0b57f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / lttbc-0.2.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL lttbc-0.2.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 8.0 kB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
4f24e24139a8a298844bde492bbade13d710330b118756e4359072df80c7b2b6
BLAKE2b-256 checksum
How to use checksums
6152bfe8672c89407cd273eece1477b7c964fe1c3f700ab189a6a67197fd1569
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / lttbc-0.2.1-cp39-cp39-win_amd64.whl

Download URL lttbc-0.2.1-cp39-cp39-win_amd64.whl
Size 10.3 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
398d8df1073094764508c15be585bdaab99040e7c202c802aaebae7f4649ff41
BLAKE2b-256 checksum
How to use checksums
5b011dd7f31840dc5e755a205abc6d35a2f28ad081e59e187bce8dd5b07175f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.11

Release files / lttbc-0.2.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL lttbc-0.2.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 8.0 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f17d786b893562fb748d66f32f82036291b8534fc2a00c127dde4010b0223728
BLAKE2b-256 checksum
How to use checksums
707dc91d68eec3c1dfa4f57e1536f17e4a84b5b13c3cc9a101a0474e13ca731b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release files / lttbc-0.2.1-cp38-cp38-win_amd64.whl

Download URL lttbc-0.2.1-cp38-cp38-win_amd64.whl
Size 10.3 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
29db756d674b6ed3e5e190b354962c654da774f78607dbdfc69bd891e9087efc
BLAKE2b-256 checksum
How to use checksums
9caef7cd09c17caa6b6e78dee01c3ed01b44905115fcd225564217f16c55ea00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.11

Release files / lttbc-0.2.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL lttbc-0.2.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 25.3 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
03fbec70af032edc49f12c36ce46686a63e0b5f2bb1ecd8a61f9cf8c0a08c1c7
BLAKE2b-256 checksum
How to use checksums
ce04ed97296d044eda7f9e4d928e881c81d287e354349b5790dc5de24c2a00a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release files / lttbc-0.2.1-cp37-cp37m-win_amd64.whl

Download URL lttbc-0.2.1-cp37-cp37m-win_amd64.whl
Size 10.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
40f2947abcea2824bd8357208e4e637959145a9b985c804cf8164efa105a52c0
BLAKE2b-256 checksum
How to use checksums
d1f566ebd1ff650ea14da7d35c4e108ddc0c4827c303acd4a86d74f23f8fba1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.11

Release files / lttbc-0.2.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL lttbc-0.2.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 25.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
940f104feffb1c2f5bca79911a84dccd20ec05a6b6c543cc92d1bb9ed0b9f726
BLAKE2b-256 checksum
How to use checksums
ddf2b7fcc12af119b980ad7108e2a4b5c62f7cb31419c1eba5958b592e982d03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release files / lttbc-0.2.1-cp36-cp36m-win_amd64.whl

Download URL lttbc-0.2.1-cp36-cp36m-win_amd64.whl
Size 10.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5fa960f03a5a069fafde816ca3ba007436b10568eac422f627d11e756965cfea
BLAKE2b-256 checksum
How to use checksums
3e842c8657a05c495931e1cc3163c1c26d08aa39c3c233a8256f4fced6d9691e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.11

Release files / lttbc-0.2.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL lttbc-0.2.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 24.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5a2ed72bb400bd99aef25db1bc533cc2c0a077e301283fa1f11ce9e9938aa8ba
BLAKE2b-256 checksum
How to use checksums
9bc5bab77f6cac6b4dd14064b34ebeb5853948913ec89cb5487706f2a4906df2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release history Release notifications | RSS feed

0.3.0

6 release files

0.2.4

1 release file

0.2.2

This release

0.2.1 This release

13 release files

0.2.0

7 release files

0.1.9

4 release files

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