Skip to main content

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

Contributors

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

typoglycemia-0.1.1.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

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

typoglycemia-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

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

Hashes for typoglycemia-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bcf50af9d4871b56449c4f04f61d9a37ed1f9f712763b532f4ce0726aafe7684
MD5 3d456e79cd3b13c25333f1e6bb3efc91
BLAKE2b-256 e4bc389346332dee9d895938a441136c56b4152dfc8b6710b2415168ac9fb4d8

See more details on using hashes here.

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

Hashes for typoglycemia-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb6f58ee8ba88d2024cc19ce32778557341ec784848092aeb07e372877034aeb
MD5 c5b14e00c2241f4b42456b2e7d9c53ae
BLAKE2b-256 38ce64cc5497493366516a244681551fb1960ab44554a05373d002ad3e72078b

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