Sprinkle

python salt (random combination of characters and numbers and symbols) generator, you can use this combintions as IDs.


License
MIT
Install
pip install Sprinkle==1.0

Documentation

python salt generator

This is a test (test.py)

from salt.salt import Salt

salt  = Salt()
salt.setOptions({
    'length': 30, # default 20
    'use_chars': True, # default True
    'use_ints': True, # default True
    'use_symbols': True, # default False
    'symbols': '', # default ''
    'chars': '', # default 'abcdefghijklmnopqrstuvwxyz'
    'ints': '' # default '123456789'
})

hash = salt.generate() # returns 'wa4vj3674x21284bz6752y4z58j9lz'