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.2.tar.gz
(13.0 kB
view details)
File details
Details for the file circllhist-0.3.2.tar.gz
.
File metadata
- Download URL: circllhist-0.3.2.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a96b85ab076d97bbb974332cca1c3648b494c80901955d12f3bf5833f9ef9a62 |
|
MD5 | 952c38da5a446988cd1a31d54d6f6d29 |
|
BLAKE2b-256 | 1a12e8beec71d6e982cdfb252668859e20c382f01396ffd7b390577d847e808a |