Skip to main content

Mock some text like spongebob would. mOCk SoMe TexT lIKe SpONGebOb wOuLd.

Project description

Me: Mock some text like spongebob would.
You: mOCk SoMe TexT lIKe SpONGebOb wOuLd.

How to Install

pip install spongemock

or (for python3 specifically)

pip3 install spongemock

If you are having troube with the -c copy option (especially on Linux), please refer to pyperclip’s installation instructions.

How To Use

spongemock [-h] [-c] [-b BIAS] [-s SEED | -S STRSEED] text [text ...]

positional arguments

text - the text to mock. ThE tExT tO mOCk.

optional arguments

-h, --help - show this help message and exit

-c, --copy - copy the mocked text to the clipboard.

-b BIAS, --bias BIAS - this bias is used to succesively increase the chance of swapping from the previously-mocked case. A value of 0 will ensure the chance is always 50/50, and a value of 1 will ensure that after the first random choice the capitalization perfectly oscilates. Default is 0.5.

-s SEED, --seed SEED - seed for random number generator. Can be any number or string (numbers are parsed).

-S STRSEED, --strseed STRSEED - seed for random number generator. Does not attempt to parse the string to a number.

Project details

Download files

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

Files for spongemock, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size spongemock-0.3.4.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View
Filename, size spongemock-0.3.4-py2.py3-none-any.whl (9.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page