From nobody Fri May 13 11:44:22 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C938B1AD53FB; Fri, 13 May 2022 11:44:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L06Hq1q2Fz3qsd; Fri, 13 May 2022 11:44:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652442263; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IElawxfySt7mvWJkxobnWdqbb/WRShlNvRO+cHkm5Bk=; b=tSATlKRjItKYhmngF8bNHsBkUjPGy3jCyYgghMVkoahayrrLoCiQOjJ4Cvs+saDg/238XA 9QsCyuLw3eFC9MaJ+IXlLm/2MP6tUwamM2iDEdG45JcUhUIWHQgoTHZ1ha0iCSVB2s9mAP SDM3CZZ6jxq4UrQGRQuXz491XRh92posA01qH7ThoixOSpat5fRVmbjTisL+lGe1zHkXNw 3pA5qY1KcHzA8LVeb/p06xA+a8QzQ0zVP+Fwrc/OHs/6ypJ5tnSOMXGieE0vJ7OKRN9Fgd LD3zFasg9sM9OoM6qLDzLuhn6DgJ+OnHLYqiQ1xuIZ7dBd5+jcGR6TyG9Uk+Bg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D76C821DBC; Fri, 13 May 2022 11:44:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24DBiMG0062329; Fri, 13 May 2022 11:44:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DBiMWf062328; Fri, 13 May 2022 11:44:22 GMT (envelope-from git) Date: Fri, 13 May 2022 11:44:22 GMT Message-Id: <202205131144.24DBiMWf062328@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 8172bd00a7ef - main - devel/py-ddsketch: Add py-ddsketch 2.0.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8172bd00a7efe63c77eea0afcecb0232fa0d7a3a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652442263; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IElawxfySt7mvWJkxobnWdqbb/WRShlNvRO+cHkm5Bk=; b=U5QF0qaM356fMboVmUYVD/oG0a/MzemjhZb9lHNwsTN66W+SkUzYrc2aEKG+d0cAy9d4WM V0vaq5/E+P1v94Oy3Q5Wud8L7lA4i4r3vWjyyJB4QLNU3ErDtmPDK+RwyTCmK1xnJ8Pxw6 6cxaAUAthK1MnOsVhGj7OUO/gJCuevZXUjXY6Ddvv+OdokXDulzkkmc5R6F2+y8YlRwUfs DNptUl3JxDy+ev7iC+Vb3ktewsgyQWSXgsNwfo+N45EQVot12EIzMQrlbzsqLzoCDA7n7U 9pTQNLQ9p7NJM5TDLl2e23R3SJQtDwsUzPOSo/nc/zdjYYVo3Z1HFM58vZfkiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652442263; a=rsa-sha256; cv=none; b=ZfvHGVhjmNVUUb2ZUDackuq0vSUe9lR0uFvrkKbLFWdCcZe9vNUFTdWVwPJdW83RDmUuww e9dSTVcD7yonPS9grRjRgi372RLgK7BT4AzFypeEC+NlzXqGLzQnYQX2/5dVlIBoCp5PQy 4IUsXc5VLatfW6Vg3GgUz0QbBhPEQ0t1iQLoDLG6xuw67tLt3YE+oAaXre+vsndRNbsU+D x8CqP703Xi72uGlxXIA7ppWWH08qEmsyB7qJ3rt7M3VpfzVHU4SXsxE9BbWnOrNGqC30OE 1UynOL670UtxWVYonBS2S/LoTWarugJw/kqYsy8PKZ/chg5xtyO6durCM7jJww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8172bd00a7efe63c77eea0afcecb0232fa0d7a3a commit 8172bd00a7efe63c77eea0afcecb0232fa0d7a3a Author: Po-Chuan Hsieh AuthorDate: 2022-05-13 11:27:19 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-05-13 11:39:10 +0000 devel/py-ddsketch: Add py-ddsketch 2.0.2 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. WWW: https://github.com/DataDog/sketches-py --- devel/Makefile | 1 + devel/py-ddsketch/Makefile | 23 +++++++++++++++++++++++ devel/py-ddsketch/distinfo | 3 +++ devel/py-ddsketch/pkg-descr | 19 +++++++++++++++++++ 4 files changed, 46 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0ef5f85f32a3..42eb39e75526 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4455,6 +4455,7 @@ SUBDIR += py-dateutils SUBDIR += py-datrie SUBDIR += py-dbus + SUBDIR += py-ddsketch SUBDIR += py-ddt SUBDIR += py-ddtrace SUBDIR += py-debtcollector diff --git a/devel/py-ddsketch/Makefile b/devel/py-ddsketch/Makefile new file mode 100644 index 000000000000..a8eb7d9e70e2 --- /dev/null +++ b/devel/py-ddsketch/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= ddsketch +PORTVERSION= 2.0.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Distributed quantile sketches + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.0.0,1:devel/py-protobuf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-ddsketch/distinfo b/devel/py-ddsketch/distinfo new file mode 100644 index 000000000000..1c0f6bd69899 --- /dev/null +++ b/devel/py-ddsketch/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1652122529 +SHA256 (ddsketch-2.0.2.tar.gz) = 00c7f9d376c2abe8f9290d10cb3c712cd9effcdcd4477147553813ce54c97fee +SIZE (ddsketch-2.0.2.tar.gz) = 28932 diff --git a/devel/py-ddsketch/pkg-descr b/devel/py-ddsketch/pkg-descr new file mode 100644 index 000000000000..a3621b68d57c --- /dev/null +++ b/devel/py-ddsketch/pkg-descr @@ -0,0 +1,19 @@ +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. + +WWW: https://github.com/DataDog/sketches-py