BSD Ports

devel/py-ddsketch 3.0.1 FreeBSD

Distributed quantile sketches

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
devel, python
Package size
38.4 KiB, 196.9 KiB installed

Description

This is the Python implementation of the distributed quantile sketch algorithm DDSketch. DDSketch has relative-error guarantees for any quantile q in [0, 1]. That is if the true value of the qth-quantile is x then DDSketch returns a value y such that |x-y| / x < e where e is the relative error parameter. (The default here is set to 0.01.) DDSketch is also fully mergeable, meaning that multiple sketches from distributed systems can be combined in a central node.

Our default implementation, DDSketch, is guaranteed to not grow too large in size for any data that can be described by a distribution whose tails are sub-exponential.

We also provide implementations (LogCollapsingLowestDenseDDSketch and LogCollapsingHighestDenseDDSketch) where the q-quantile will be accurate up to the specified relative error for q that is not too small (or large). Concretely, the q-quantile will be accurate up to the specified relative error as long as it belongs to one of the m bins kept by the sketch. If the data is time in seconds, the default of m = 2048 covers 80 microseconds to 1 year.

In the other systems

SystemPortVersion
FreeBSDdevel/py-ddsketch3.0.1
DragonFlydevel/py-ddsketch3.0.1

Install

Binary package:

pkg install py312-ddsketch

From the ports tree:

cd /usr/ports/devel/py-ddsketch/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-ddsketch>0:devel/py-ddsketch

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.0.13.0.12.0.43.0.13.0.1
FreeBSD:14:quarterly3.0.13.0.1n/a3.0.13.0.1
FreeBSD:15:latest3.0.13.0.1n/a3.0.13.0.1
FreeBSD:15:quarterly3.0.13.0.1n/an/an/a
FreeBSD:16:latest3.0.13.0.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 8

No port depends on this one.

Configuration

Options name: devel_ddsketch

OptionDefaultDescription
SERIALIZATIONoff(De)serialize support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ddsketch-3.0.1.tar.gz30010aa8f20b2965e61731ca4fee2ca9c209f397f5bbb23f9d192ec8bd7a2f5bd9824
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.