Generates random strings
Project description
NonsensePy generates random strings.
Installation
>>> pip install nonsensepy
Documentation
>>> NonsensePyGen.starts_with_letter() """ Generates a random string, where the first char of it will be a random letter. The size of the string will be between 10 and 10000. """
>>> NonsensePyGen.starts_with_letter(size=100) """ Generates a random string, where the first char of it will be a random letter. The size of the string will be 100. """
>>> NonsensePyGen.starts_with_letter(min=100) """ Generates a random string, where the first char of it will be a random letter. The size of the string will be between min, and 10000. """
>>> NonsensePyGen.starts_with_letter(max=100) """ Generates a random string, where the first char of it will be a random letter. The size of the string will be between 10, and 100. """
>>> NonsensePyGen.starts_with_letter(min=100, max=1000) """ Generates a random string, where the first char of it will be a random letter. The size of the string will be between min and max. """
>>> NonsensePyGen.starts_with_digit() """ Generates a random string, where the first char of it will be a random digit. The size of the string will be between 10 and 10000. """
>>> NonsensePyGen.starts_with_digit(size=100) """ Generates a random string, where the first char of it will be a random digit. The size of the string will be 100. """
>>> NonsensePyGen.starts_with_digit(min=100) """ Generates a random string, where the first char of it will be a random digit. The size of the string will be between min, and 10000. """
>>> NonsensePyGen.starts_with_digit(max=100) """ Generates a random string, where the first char of it will be a random digit. The size of the string will be between 100, and max. """
>>> NonsensePyGen.starts_with_digit(min=100, max=1000) """ Generates a random string, where the first char of it will be a random digit. The size of the string will be between min and max. """
>>> NonsensePyGen.starts_with_uppercase() """ Generates a random string, where the first char of it will be a random uppercase letter. The size of the string will be between 10 and 10000. """
>>> NonsensePyGen.starts_with_uppercase(size=100) """ Generates a random string, where the first char of it will be a random uppercase letter. The size of the string will be 100. """
>>> NonsensePyGen.starts_with_uppercase(min=100) """ Generates a random string, where the first char of it will be a random uppercase letter. The size of the string will be between min, and 10000. """
>>> NonsensePyGen.starts_with_uppercase(max=100) """ Generates a random string, where the first char of it will be a random uppercase letter. The size of the string will be between 10, and max. """
>>> NonsensePyGen.starts_with_uppercase(min=100, max=1000) """ Generates a random string, where the first char of it will be a random uppercase letter. The size of the string will be between min, and max. """
>>> NonsensePyGen.random() """ Generates a random string. The size of the string will be between 10 and 10000. """
>>> NonsensePyGen.random(size=100) """ Generates a random string. The size of the string will be 100. """
>>> NonsensePyGen.random(min=100) """ Generates a random string. The size of the string will be between min and 10000. """
>>> NonsensePyGen.random(max=100) """ Generates a random string. The size of the string will be between 10 and max. """
>>> NonsensePyGen.random(min=100, max=1000) """ Generates a random string. The size of the string will be between min and max. """
>>> NonsensePyGen.nrandom() """ Generates a random string, where each of its chars is a digit. The size of the string will be between 10 and 10000. """
>>> NonsensePyGen.nrandom(size=100) """ Generates a random string, where each of its chars is a digit. The size of the string will be 100. """
>>> NonsensePyGen.nrandom(min=100) """ Generates a random string, where each of its chars is a digit. The size of the string will be between min, and 10000. """
>>> NonsensePyGen.nrandom(max=100) """ Generates a random string, where each of its chars is a digit. The size of the string will be between 10, and max. """
>>> NonsensePyGen.nrandom(min=100,max=1000) """ Generates a random string, where each of its chars is a digit. The size of the string will be between min, and max. """
>>> NonsensePyGen.strrandom() """ Generates a random string, where each of its chars is a letter. The size of the string will be between 10 and 10000. """
>>> NonsensePyGen.strrandom(size=100) """ Generates a random string, where each of its chars is a letter. The size of the string will be 100. """
>>> NonsensePyGen.strrandom(min=100) """ Generates a random string, where each of its chars is a letter. The size of the string will be between min, and 10000. """
>>> NonsensePyGen.strrandom(max=100) """ Generates a random string, where each of its chars is a letter. The size of the string will be between 10, and max. """
>>> NonsensePyGen.strrandom(min=100,max=1000) """ Generates a random string, where each of its chars is a letter. The size of the string will be between min, and max. """
Example
>>> from nonsensepy import NonsensePyGen >>> >>> NonsensePyGen.random() qHDlCZbBvyBIIXWyjFSQwJuWHujFZNVMYSsdpUTSxXIoaoJkSQQTIVfIrOBsotZxMHfhwSawPTRRcDH jnjjhwjnjEHpXhoRKliH
LICENSE
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nonsensepy-0.0.2.tar.gz
(3.0 kB
view details)
File details
Details for the file nonsensepy-0.0.2.tar.gz.
File metadata
- Download URL: nonsensepy-0.0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb26fc277408ff8f72b58a1c020d04f351246b3b68f3f92433e7037f6cbc7373
|
|
| MD5 |
9162bdc72ff7636ab8118d8308cd0d45
|
|
| BLAKE2b-256 |
9e253409e67919ea1ce7cadc1136186272ce4e74f48edc274c9e5a95899cf047
|