Skip to main content

OpenHistogram log-linear histogram library

Project description

Python bindings for libcircllhist

This package requires the OpenHistogram C library, libcircllhist, to be installed on your system:

https://github.com/openhistogram/libcircllhist/

The bindings themselves can be installed via pip:

pip install circllhist

Or manually via

python setup.py install

from this folder.

Usage Example

import circllhist

h = circllhist.Circllhist()
h.insert(123,3)        # Insert value 123, three times
h.insert_intscale(1,1) # Insert 1x10^1
print(h.count())       # Print the count of used bins
print(h.sum())         # Print the sum of all values

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

circllhist-0.3.1.tar.gz (6.1 kB view hashes)

Uploaded Source

Supported by

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