Skip to main content

Quantitative Information Flow library

Project description

Build Status PyPI version

libqif

Install

pip install qif
  • Needs python >= 3.5 and a sandybridge or later CPU
  • On linux pip >= 19 is needed (make sure to pip install -U pip)

A sample program

from qif import *

C = channel.randu(5)
pi = probab.uniform(5)

print("Channel:\n", C)
print("Prior:\n", pi)

print("Bayes vulnerability", measure.bayes_vuln.posterior(pi, C))
print("Bayes mult-capacity", measure.bayes_vuln.mult_capacity(C))

Documentation

A list of methods provided by qif is available here.

Use libqif with C++

See the installation instructions.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

qif-0.8.0-cp38-cp38-manylinux2010_x86_64.whl (18.8 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

qif-0.8.0-cp38-cp38-macosx_10_13_x86_64.whl (10.9 MB view hashes)

Uploaded CPython 3.8 macOS 10.13+ x86-64

qif-0.8.0-cp37-cp37m-manylinux2010_x86_64.whl (18.8 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

qif-0.8.0-cp37-cp37m-macosx_10_13_x86_64.whl (10.9 MB view hashes)

Uploaded CPython 3.7m macOS 10.13+ x86-64

qif-0.8.0-cp36-cp36m-manylinux2010_x86_64.whl (18.8 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

qif-0.8.0-cp36-cp36m-macosx_10_13_x86_64.whl (10.9 MB view hashes)

Uploaded CPython 3.6m macOS 10.13+ x86-64

qif-0.8.0-cp35-cp35m-manylinux2010_x86_64.whl (18.8 MB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

qif-0.8.0-cp35-cp35m-macosx_10_13_x86_64.whl (10.9 MB view hashes)

Uploaded CPython 3.5m macOS 10.13+ x86-64

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