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.
spongemock

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.

Source Distribution

spongemock-0.3.4.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spongemock-0.3.4-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file spongemock-0.3.4.tar.gz.

File metadata

  • Download URL: spongemock-0.3.4.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for spongemock-0.3.4.tar.gz
Algorithm Hash digest
SHA256 40c1316d9ece635d727ac2b3c6e22e5f9d85ba402ee4dc6eeef5a8e8c17ff892
MD5 974123bc84eb02b6824682888414b411
BLAKE2b-256 cdeafddd7b758902a25f2b10d99b4df695191bb6e51f62798b0eab078ea6846d

See more details on using hashes here.

File details

Details for the file spongemock-0.3.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for spongemock-0.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a7df0a929a8d0f55cae1b2cfb45db471775f6fda0f2c2239d9935dbe6ac500b
MD5 55c99f35aad1de33b44aa6db848f7ed4
BLAKE2b-256 1169a2064864b45077addc9a1e05da7c4f14acc3d8e44c60a7b0d24485d187c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page