A Python library for the Circulates Bitwise Shift Operators (rcirc and lcirc)
To use this library, just add the circ.py file to the directory you need the functions in, and then import it using import circ.
You can call its functions by circ.rcirc(a,b) and circ.lcirc(a,b).
For an example, refer to example.py.
The argument a in the function is an integer which represents how many times the bit-string is circulated, and the argument b is an integer which represents the bit-string you are circulating.
Note that the argument b must be a string if its leading digit is 0.
Therefore, the best practice is to treat argument a as an integer and argument b as a string.