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

Python package implementing truncated binary encoding.

Project description

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

Python package implementing truncated binary encoding.

How do I install this package?

As usual, just download it using pip:

pip install truncated_binary_encoding

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 truncated_binary_encoding import truncated_binary_encoding

truncated_binary_encoding(0, 10) # 000
truncated_binary_encoding(1, 10) # 001
truncated_binary_encoding(2, 10) # 010
truncated_binary_encoding(3, 10) # 011
truncated_binary_encoding(4, 10) # 100
truncated_binary_encoding(5, 10) # 101
truncated_binary_encoding(6, 10) # 1100
truncated_binary_encoding(7, 10) # 1101
truncated_binary_encoding(8, 10) # 1110
truncated_binary_encoding(9, 10) # 1111

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 truncated-binary-encoding, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size truncated_binary_encoding-1.0.3.tar.gz (2.9 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