A Python package for scrambling the inner letters of words in a sentence while keeping the first and last letters in place.
Project description
typoglycemia
Introduction
Typoglycemia is a CLI tool that displays the given text with a typoglycemia effect. The typoglycemia effect involves keeping the first and last letters of a word in place while shuffling the internal letters randomly.
Installation
pip install typoglycemia
API Usage
>>> import typoglycemia
>>> typoglycemia.make_typoglycemia('Hello World')
'Hlelo Wrold'
>>> typoglycemia.make_typoglycemia('Lorem ipsum dolor sit amet, consectetur adipiscing elit.')
'Lroem isupm dloor sit aemt, cnosetcuter aidipcsing elit.'
Command Line Usage
$ typoglycemia -t "Hello World"
Hlelo Wrold
$ typoglycemia -t "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
Lroem isupm dloor sit aemt, cnosetcuter aidipcsing elit.
Contributing
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typoglycemia-0.1.1.tar.gz.
File metadata
- Download URL: typoglycemia-0.1.1.tar.gz
- Upload date:
- Size: 29.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcf50af9d4871b56449c4f04f61d9a37ed1f9f712763b532f4ce0726aafe7684
|
|
| MD5 |
3d456e79cd3b13c25333f1e6bb3efc91
|
|
| BLAKE2b-256 |
e4bc389346332dee9d895938a441136c56b4152dfc8b6710b2415168ac9fb4d8
|
File details
Details for the file typoglycemia-0.1.1-py3-none-any.whl.
File metadata
- Download URL: typoglycemia-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb6f58ee8ba88d2024cc19ce32778557341ec784848092aeb07e372877034aeb
|
|
| MD5 |
c5b14e00c2241f4b42456b2e7d9c53ae
|
|
| BLAKE2b-256 |
38ce64cc5497493366516a244681551fb1960ab44554a05373d002ad3e72078b
|