scrmbl

Library and CLI for "scrambled" printing in terminal.
Have you ever wanted your text to look like some corny action movie?
Requirements
- Tested on Python >= 3.5
Install
CLI
pip3 install --user scrmbl
Library
Using pip in a virtualenv.
pip install scrmbl
Using Poetry:
poetry add scrmbl
Using Pipenv:
pipenv install scrmbl
Usage
Refer to the gif to see the effect
CLI
Usage: scrmbl [OPTIONS] [MESSAGE]
Scrmbl print the given message.
Options:
-s, --speed FLOAT Time in seconds between prints. Default: 0.05
-i, --iterations INTEGER Number of iterations per character. Default: 2
-c, --charset FILE Set of chars to scramble.
--version Show the version and exit.
--help Show this message and exit.
Can also read from stdin.
ls -lrtha | scrmbl
Library
>>> import scrmbl
>>> scrmbl.echo('09:30pm, Washington, NSA HEADQUARTERS')
'09:30pm, Washington, NSA HEADQUARTERS'
# handle multiline
>>> scrmbl.echo('09:30pm, Washington\nNSA HEADQUARTERS')
'02:56am, New-York'
'FBI HEADQUARTERS'
# custom settings:
# charset = String of characters to scramble with
# speed = Time in seconds between prints
# iterations = number of iterations before printing the final character
>>> scrmbl.echo('NSA OFFICE', charset='ABCDefg/-', speed=0.2, iterations=6)
'CIA OFFICE'
Thanks
Special thanks for contributing:
Release files for scrmbl 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scrmbl-1.0.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scrmbl-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / scrmbl-1.0.0.tar.gz
| Download URL | scrmbl-1.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69f01ef99d6e072936ef2dd2cad4a00db0c30dbcf5999456ecfd9bdc374f451d
|
|
BLAKE2b-256 checksum How to use checksums |
e9ceab259d27025e6a07164094d51ef399b3934b62afeabe6aa9eafa6c493bee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / scrmbl-1.0.0-py3-none-any.whl
| Download URL | scrmbl-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62e9eb0f2c1a29ad44e4d492baa4ea26de4613105f3e9b0c5567168662f19b78
|
|
BLAKE2b-256 checksum How to use checksums |
d7a6e9d094c956d3f452719580547dd252b83c681dc2fd91ef894f0b722d8a8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|