Skip to main content

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.

Source Distribution

truncated_binary_encoding-1.0.3.tar.gz (2.9 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