Skip to main content
Help us improve Python packaging – donate today!

Elena's functional hyperloglog module

Project Description

Allows you to take intersection of arbitrarily many hyperloglogs.

hll = HyperLogLog(0.01) # 0.01 is % accuracy hll.add(1) # can add objects of any type hll2 = HyperLogLog(0.01) hll3 = HyperLogLog(0.01)

hll.intersectoin([hll2, hll3]) # returns cardinality of intersection set NOTE THAT IN ORDER TO TAKE INTERSECTION ALL SETS MUST BE THE SAME SIZE or in other words, MUST HAVE THE SAME % ACCURACY

Release history Release notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
hyperloglogs-0.1.tar.gz (1.1 kB) Copy SHA256 hash SHA256 Source None Jul 13, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page