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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-ddsketch | 3.0.1 |
| DragonFly | devel/py-ddsketch | 3.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.0.1 | 3.0.1 | 2.0.4 | 3.0.1 | 3.0.1 |
| FreeBSD:14:quarterly | 3.0.1 | 3.0.1 | n/a | 3.0.1 | 3.0.1 |
| FreeBSD:15:latest | 3.0.1 | 3.0.1 | n/a | 3.0.1 | 3.0.1 |
| FreeBSD:15:quarterly | 3.0.1 | 3.0.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.0.1 | 3.0.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}six>=0: devel/py-six
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
| Option | Default | Description |
|---|---|---|
| SERIALIZATION | off | (De)serialize support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ddsketch-3.0.1.tar.gz | 30010 | aa8f20b2965e61731ca4fee2ca9c209f397f5bbb23f9d192ec8bd7a2f5bd9824 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.