Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python package implementing minimal binary coding.

Project description

Travis CI build SonarCloud Quality SonarCloud Maintainability Codacy Maintainability Maintainability Pypi project Pypi total project downloads

Python package implementing minimal binary coding.

How do I install this package?

As usual, just download it using pip:

pip install minimal_binary_coding

Tests Coverage

Since some software handling coverages sometime get slightly different results, here’s three of them:

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

Usage examples

from minimal_binary_coding import minimal_binary_coding

minimal_binary_coding(0, 1) # ε
minimal_binary_coding(0, 2) # 0
minimal_binary_coding(1, 2) # 1
minimal_binary_coding(0, 3) # 0
minimal_binary_coding(1, 3) # 10
minimal_binary_coding(2, 3) # 11
minimal_binary_coding(0, 4) # 00
minimal_binary_coding(1, 4) # 01
minimal_binary_coding(2, 4) # 10
minimal_binary_coding(3, 4) # 11
minimal_binary_coding(0, 5) # 00
minimal_binary_coding(1, 5) # 01
minimal_binary_coding(2, 5) # 10
minimal_binary_coding(3, 5) # 110
minimal_binary_coding(4, 5) # 111
minimal_binary_coding(0, 6) # 00
minimal_binary_coding(1, 6) # 01
minimal_binary_coding(2, 6) # 100
minimal_binary_coding(3, 6) # 101
minimal_binary_coding(4, 6) # 110
minimal_binary_coding(5, 6) # 111
minimal_binary_coding(0, 7) # 00
minimal_binary_coding(1, 7) # 010
minimal_binary_coding(2, 7) # 011
minimal_binary_coding(3, 7) # 100
minimal_binary_coding(4, 7) # 101
minimal_binary_coding(5, 7) # 110
minimal_binary_coding(6, 7) # 111

Project details


Download files

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

Files for minimal-binary-coding, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size minimal_binary_coding-1.0.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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