Skip to main content

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

Project description

===================== python salt generator

This is a test (

.. code-block:: python

from salt.salt import Salt

salt  = Salt()
    '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'

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Sprinkle-1.0-py3-none-any.whl (2.3 kB) Copy SHA256 hash SHA256 Wheel py3
Sprinkle-1.0.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page