Skip to main content

A Python package for text TRANSFORMATION!

Project description

PYELLING

A Python package for TEXT TRANSFORMATION! This is a Python port of the YELLING R package by Hadley Wickham.

Installation

pip install pyelling

Usage

from pyelling import YELL, WHISPER, CLAP, MOCK

# Basic usage
YELL("hello world")  # Returns: "HELLO WORLD"
WHISPER("QUIET PLEASE")  # Returns: "quiet please"
CLAP("make some noise")  # Returns: "make 👏 some 👏 noise"
MOCK("I totally agree")  # Returns something like: "i ToTaLlY aGrEe"

# You can also use it with lists of strings
YELL(["hello", "world"])  # Returns: ["HELLO", "WORLD"]

Available Functions

Text Volume

  • YELL(text): CONVERT TEXT TO UPPERCASE
  • WHISPER(text): convert text to lowercase
  • INDOOR_VOICE(text): Convert Text To Title Case
  • IS_YELLING(text): Check if text is ALL UPPERCASE

Emotional Styles

  • SARCASTICALLY(text): aDd SaRcAsTiC tExT aLtErNaTiOn
  • DRAMATICALLY(text): Add... DRAMATIC... pauses!
  • MOCK(text): RaNdOmLy AlTeRnAtE cAsE fOr MoCkInG

Internet Effects

  • CLAP(text, emoji="👏"): Add 👏 clap 👏 emojis 👏 between 👏 words

Sound Effects

  • ECHO(text, fade=3): Add echo effect to text (text text tex te t)
  • STUTTER(text, intensity=2): A-a-add st-stutter to words
  • VOID_SHOUT(text): S P A C E O U T T E X T

Cipher

  • SCREAM_CIPHER(text, decode=False): Encode text using special 'A' characters with diacritical marks

License

MIT

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

pyelling-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

pyelling-0.1.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file pyelling-0.1.0.tar.gz.

File metadata

  • Download URL: pyelling-0.1.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for pyelling-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3657de5910367d5221c392d8db6819da10806f3a665f63fc604c704147934bbd
MD5 f80743222a2afa47e8c1ecd3eb7d6f89
BLAKE2b-256 f7d46923f93966cfcd1cfcad7b0be752a122b202981b437dccca0feb89739616

See more details on using hashes here.

File details

Details for the file pyelling-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyelling-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for pyelling-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 925198bad7ab9d16f3e1c5473a2bd098f94d997b4878cbaccfa34155a9c2346f
MD5 ec473674a99e9eca067719f3993cddd2
BLAKE2b-256 54bb28fd37e31df312d995b61e2987684a55fb71d6cf721dcc3239566dc91088

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