As hash function gives different values in different python interpreters , Is there a more stable one in python ?
Update one:
"stable" means that the function should give the same number when the string is same anytime. hash can't do it .
I want a function like :
def generate_random_number_by_string(string:str)->int:
    pass
For example , generate_random_number_by_string("16") should be the same in anytime .


hashcan't do it .