As of 28.1.2020, this library is unmaintained, archived and retired. It will not recieve any updates. It is replaced with already-included in Python int()
function.
Example code:
import StrToInt as sti
sti1 = sti.StrToInt("1")
sti2 = sti.StrToInt("1132")
sti3 = sti.StrToInt("nine")
print(sti1)
print(sti2)
print(sti3)
Output:
1
1132
9
Library can be used with Python 2 and 3