semvec/pypi-packages huggingface dataset:
binary-data-structure 1.0.2
A package with a binary object and data structure
Requires Python: >=3.9

This package includes a binary object and data structure. Here is a quick overview:
  There is a binary object called Binary and a data structure for it called bin. The Binary object takes two arguments, with one being optional. The first argument can be any integer that's not negative. This is the main number, and it makes up most of the object. The second argument can be True or False, default to False. This determines whether you want the integer to start off as a binary number. If so, it must only contain ones or zeros. There are encode and decode methods, to transform the integer to binary and back respectively. There are also encode and decode methods for the bin data structure. There are a bunch of magic methods for the Binary object, so if you want to see them all, just type dir(Binary) into the command line.