| Random (version 0.0.2) | index Random.html |
This package implements tools to build python package and tools.
>>> from Random import *
>>> get_random_strings()
'*=y%oHo!LX'
>>> get_random_strings()
'@5ILc8zmAo'
>>> get_random_strings(2)
'Pe'
>>> get_random_strings((2, 7))
'`kvS"\'
>>> get_random_strings((2, 7))
'Lw#S5F'
>>> get_random_strings((2, 7))
'n=f'
>>> get_random_strings((2, 7), 2, separator="")
'^n^G_$`R:1Lq'
>>> get_random_strings((2, 7), 2, separator="", secure=True)
'nc/A5Y&)}GlbmH:u}'
>>> get_random_strings((2, 7), (2, 4), separator="", secure=True, urlsafe=True)
't6G-XMTjW4TPBF9CyBWD67JTBx4IXytdusWFeABgb3voZ'
>>> get_random_strings((2, 7), (2, 4), separator="", secure=True, urlsafe=True, characters="abc")
'6r0zGut-0phw~Ab9CJuHIkKxIIdRcF77Fu4uRVXdHrEhT2XY'
>>> get_random_strings((2, 7), (2, 4), separator=" ; ", secure=True, characters="abc")
'babccbaaab ; babaacaba ; aacabcc ; abaacabc'
>>> get_random_strings((2, 7), (2, 4), separator=" ; ", secure=True, letters=True)
'UpcGnFsca ; ioYxlGM ; HdAjYOBae ; oBNdWSZN'
>>> get_random_strings((2, 7), (2, 4), separator=" ; ", secure=True, alphanumeric=True)
'CWKOABTsU5 ; XHKWtvXFPm ; OXcLSIHm7 ; vYYrUoOeBm ; 3ytV7IRUCp'
>>> get_random_strings((2, 7), (2, 4), separator="รฟ", secure=True, ascii=True)
"
'LJ<รฟ8
|wlรฟ95LD$รฟl_f~11"
>>> get_random_strings((2, 7), (2, 4), separator="", secure=True, latin1=True)
'aรยยพO|ยยรรณยงbMIaยง[C)lรaยCรUรปGรฎยยฆรกยยดรฆร#ยยDรขmh'
>>> get_random_strings((2, 7), (2, 4), separator="", secure=True, check_strong=True)
"]YM~G_tV^ZOQ- -)2qSV$r%e%-8Q-_bfk-bkk-tV',d"
>>>
| Functions | ||
| ||
| Data | ||
| __all__ = ['get_random_strings'] __author_email__ = 'mauricelambert434@gmail.com' __copyright__ = '\nPythonToolsKit Copyright (C) 2022 Maurice Lam...ome to redistribute it\nunder certain conditions.\n' __description__ = '\nThis package implements tools to build python package and tools.\n' __license__ = 'GPL-3.0 License' __maintainer__ = 'Maurice Lambert' __maintainer_email__ = 'mauricelambert434@gmail.com' __url__ = 'https://github.com/mauricelambert/PythonToolsKit' | ||
| Author | ||
| Maurice Lambert | ||