Python package implementing truncated binary encoding.
Project description
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:
from truncated_binary_encoding import truncated_binary_encoding
truncated_binary_encoding(0, 7) # 000
truncated_binary_encoding(1, 7) # 001
truncated_binary_encoding(2, 7) # 010
truncated_binary_encoding(3, 7) # 011
truncated_binary_encoding(4, 7) # 100
truncated_binary_encoding(5, 7) # 101
truncated_binary_encoding(6, 7) # 110
truncated_binary_encoding(7, 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.
Source Distribution
Close
Hashes for truncated_binary_encoding-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32459184336b2b86d65b21c33cdcb57cd442771d8708e9c88befc137ae925617 |
|
MD5 | 41a1f857f285ce8c5b1dbe08d9551397 |
|
BLAKE2b-256 | 13909fcb3badb92cec821a2ea26db24a7f210947e1d4a6599fed9d5d4cb63826 |