Skip to content

Commit 2724bb0

Browse files
SGrondinnberth
authored andcommitted
Package tdigest.2.2.0
1 parent b1f785d commit 2724bb0

File tree

1 file changed

+39
-0
lines changed
  • packages/tdigest/tdigest.2.2.0

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
maintainer: "Simon Grondin"
3+
authors: [
4+
"Simon Grondin"
5+
"Will Welch"
6+
]
7+
synopsis: "OCaml implementation of the T-Digest algorithm"
8+
description: """
9+
The T-Digest is a data structure and algorithm for constructing an approximate distribution for a collection of real numbers presented as a stream.
10+
11+
The T-Digest can estimate percentiles or quantiles extremely accurately even at the tails, while using a fraction of the space.
12+
13+
Additionally, the T-Digest is concatenable, making it a good fit for distributed systems. The internal state of a T-Digest can be exported as a binary string, and the concatenation of any number of those strings can then be imported to form a new T-Digest.
14+
"""
15+
license: "MIT"
16+
homepage: "https://github.com/SGrondin/tdigest"
17+
dev-repo: "git://github.com/SGrondin/tdigest"
18+
doc: "https://github.com/SGrondin/tdigest"
19+
bug-reports: "https://github.com/SGrondin/tdigest/issues"
20+
depends: [
21+
"ocaml" { >= "4.10.0" }
22+
"dune" { >= "1.9.0" }
23+
24+
"base" { >= "v0.15.0" & < "v0.17.0" }
25+
"ppx_sexp_conv" { >= "v0.16.0" }
26+
27+
"ppx_expect" { >= "v0.16.0" & with-test }
28+
"ppx_custom_printf" { >= "v0.16.0" & with-test }
29+
# "ocamlformat" { = "0.25.1" } # Development
30+
# "ocaml-lsp-server" # Development
31+
]
32+
build: ["dune" "build" "-p" name "-j" jobs]
33+
url {
34+
src: "https://github.com/SGrondin/tdigest/archive/refs/tags/2.2.0.tar.gz"
35+
checksum: [
36+
"md5=04bf837d0c57ecd9221a2b796c1123de"
37+
"sha512=b6821d4da761f068a23421290ce8d222ed00df96fb7a0dc89694dc37eabc3b20ba3394b99a93a6e24b39b405673e6711589d9874d8dac250da686f474599b353"
38+
]
39+
}

0 commit comments

Comments
 (0)