Skip to main content

Fast weighted cardinality sketches in C++ with Python bindings.

Project description

weighted-cardinality-estimation

Przykład użycia

from weighted_cardinality_estimation import ExpSketch

sketch = ExpSketch(400, list(range(400)))
sketch.add("elem1", 5)
print(sketch.estimate())

To install in repo use

python -m pip install -e . --no-deps --no-build-isolation -vvv
pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weighted_cardinality_estimation-0.0.2.tar.gz (9.8 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

weighted_cardinality_estimation-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

weighted_cardinality_estimation-0.0.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (193.2 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

weighted_cardinality_estimation-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

weighted_cardinality_estimation-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (189.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

weighted_cardinality_estimation-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

weighted_cardinality_estimation-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (188.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

weighted_cardinality_estimation-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

weighted_cardinality_estimation-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (188.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

weighted_cardinality_estimation-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

weighted_cardinality_estimation-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (185.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

weighted_cardinality_estimation-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

weighted_cardinality_estimation-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (184.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

weighted_cardinality_estimation-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

weighted_cardinality_estimation-0.0.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (184.3 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file weighted_cardinality_estimation-0.0.2.tar.gz.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f146cff760b212a35cadb132e2b76018744efe6f34f2d492f8fa728350b58ca7
MD5 222a3f9fa51791fd9a3fc30185fe5d35
BLAKE2b-256 42d02232865b21dbfac6b208f7314eed27a7abaf30973e4cfd8de60daf7162ce

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a162b1354840159560863736c1194bb25196c9db05d76b674e0f51d8ca0bc817
MD5 e3ee733889f979c4ec9e7269ccf5799e
BLAKE2b-256 3ff124ddfccfaaf4f3d81ca1cdee146cbaed4787f5fc8d8311a74c8cedd6753e

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cb57dfd8e0705294b6e68a722cdba2e9289f22f5da4eddb323d8f4f79cfcd0bb
MD5 3701d324b76a6e04c576421026df77af
BLAKE2b-256 187a8fcfb6881aa4c304bb34895f3e099164aa080a1f25061b7a5d29339a5148

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6d0bf765c5588428ff112b703057e402453c6068ab4c1b0cecb0200d358d75f0
MD5 2ceaf862ca086ddc11b0c8a24b959472
BLAKE2b-256 80b0c27d1d6a8b61a65b6c8bbe3ec61e3da24694a1ee69c79d998b586591f813

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 96392048b87b61ab0ce3d42322cce813c023e76dfa930a758bc153f852e69d5b
MD5 acdcf1333eaab90b70c8ff43f6f3035a
BLAKE2b-256 b723f69f1d110c22a04f7cb0c69c7c73903b2890c218ab6d547c23c51ed144be

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 44af1a5b1669927c327c70fa42b67b84b788cac489473ae166026b8d15e27a75
MD5 0758397af32132b271a38223da01c345
BLAKE2b-256 808b0843a0f9432751de8d67ff23cd986a2e513b29c9145026c77735f140d6ed

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5ffe1e531887181c4454e8fe6e82b26fa4f320ed7a492b51ebec322d4450b654
MD5 b1bf3317a44560d2e27fc48874a8882c
BLAKE2b-256 b8f6f820190eb37f69be59dd3de31a91263bff262d1536df3f2fdf6b6336f6be

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b2d24adabbb48a0adcd98844bd8f15bea00b3cccd25ad38b16edb7e7cc44ad25
MD5 be4704524f1f22fd6c6383d649b13555
BLAKE2b-256 0bb51b25f9f1af0b95ef5d6f4a0404cc974c7fc971d3bb6760ceea56fa0742f5

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55c5f1fdf8a9245d9472809256258d4c2f8adcf2f8b5906fad9e7f571cad9dda
MD5 94ce63a3a78baeba64315efcbd642fec
BLAKE2b-256 7d2191cec5de31bd74767bf9700ab0858437024dfc1d64d4dc912f09a399b1ab

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 543fb80debe98d3c3a1a4459897b02b2bbcac6299589d2f9e5b272f8aec7ffa2
MD5 eff302a15e3f1840e588c74a64320b9e
BLAKE2b-256 af9b77ff1ffcd9779eafc845bc28edf6c790ef8d40a51c8197a9cb7614a6f03e

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd9308402aecfba42bf13ac21743b7a249011158e81b0d46d7ea4cf324a7800b
MD5 34b592a35aee68fb832a5d520addcd42
BLAKE2b-256 a6c5c805257978f9238790fbfb141c7a7b4f6c2e6354728ac02aa7a75e0998a2

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3e0ee0a0c34de05d028a50f31d3dc89c9ecfcc055b7019443a1f4faeb81dd727
MD5 5d702caa2a4e0cc814374222cdfe5552
BLAKE2b-256 b55ba21219b41b44b50fab06dddb99636f510a7e1c376f0c945545b6dffabad0

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08dfbb96ffd6f51b4007eada5999efe287c3e5adc8c933f022a004d694864964
MD5 8b2b543b50ec071accfd08c087899fd9
BLAKE2b-256 0c90e58ba5a58a787e2b16f7f4961cb70493e1c0324de55feaad7b686b4b3f0a

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a62e2b11bb8ef7a7f5849fc00ed9920c1f0a7a88fb3ea08e7efecb73fea2e77
MD5 7de49a431ee1ba469e46e28796dddb86
BLAKE2b-256 d26b9bb8aef3496655c25fa326bed2c2c1ae737437f0b6cdff5a7dacb4fbef7d

See more details on using hashes here.

File details

Details for the file weighted_cardinality_estimation-0.0.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for weighted_cardinality_estimation-0.0.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4cee6670d826ac7c35d8534c8802eb20aaff06bd7b04756ad43c03dfaeac6113
MD5 7bccc6b32ee6e91099eefc4e9242aa8d
BLAKE2b-256 ec92dbad6c83f86aa8565b6c5891d32e237d661c2af16a335c7727dd61c36d9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page