This is a Python 3.10 port of mock, a library for manipulating human-readable message strings.

Overview

pymocklib

This is a Python 3.10 port of https://git.eisfunke.com/software/mock/, a library for manipulating human-readable message strings.

It does stuff like this:

In [1]: import mock

In [2]: mock.to_random("pymocklib is a sick library. like sick as in ill")
Out[2]: 'PYMoCKlib is a SIcK LIBrary. LIkE siCK as in ILL'

In [3]: mock.to_alternating("pymocklib is really dope. Like your mom, probably")
Out[3]: 'pYmOcKlIb is reAlLy doPe. LIKe yoUr moM, prObAbLy'

In [4]: mock.to_pseudo_cyrillic("pymocklib is really dope. Like your mom probably")
Out[4]: 'pџmөcкlɪв ɪs яёдllџ dөpё. Lɪкё џөця mөm pяөвдвlџ'

In [5]: print(mock.to_square("wtf?!"))
w t f ? !
t
f
?
!

In [6]: print(mock.to_clap("what the actuall fucking shite?"))
what👏the👏actuall👏fucking👏shite?
You might also like...
A way to write regex with objects instead of strings.

Py Idiomatic Regex (AKA iregex) Documentation Available Here An easier way to write regex in Python using OOP instead of strings. Makes the code much

Python library for Minitel communication through serial port

Python library for Minitel communication through serial port

Tc-python - A Python script to receive message from a twitch chat

Twitch-Chat 📜 I did a script in Python to receive messages from a twitch chat.

Provide error messages for Python exceptions, even if the original message is empty

errortext is a Python package to provide error messages for Python exceptions, even if the original message is empty.

Get you an ultimate lexer generator using Fable; port OCaml sedlex to FSharp, Python and more!

NOTE: currently we support interpreted mode and Python source code generation. It's EASY to compile compiled_unit into source code for C#, F# and othe

To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio and Selenium. It works on my Raspberry Pi computer.
To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio and Selenium. It works on my Raspberry Pi computer.

COVID-19_vaccine_appointment To check my COVID-19 vaccine appointment, I wrote an infinite loop that sends me a Whatsapp message hourly using Twilio a

Check a discord message and give it a percentage of scamminess

scamChecker Check a discord message and give it a percentage of scamminess Run the bot, and run the command !scamCheck and it will return a percentage

Very Simple 2 Message Spammer!

Very Simple 2 Message Spammer!

Blender addon for executing the operator in response to the received OSC message.
Blender addon for executing the operator in response to the received OSC message.

I/F Joiner 受信したOSCメッセージに応じてオペレータ(bpy.ops)を実行するアドオンです. OSC通信に対応したコントローラやアプリをインストールしたスマートフォンを使用してBlenderを操作することが可能になります. 同時開発しているAndroidコントローラ化アプリMocopa

Comments
  • feat: some new text transformer modes

    feat: some new text transformer modes

    First and foremost:

    • refactor: move transformers from init.py into their own file and adjust imports

    Then:

    • feat: add "pedantic" mode: "Go by the fucking bus" gets transformed to "Go. By. The. Fucking. Bus." - Note that the trailing period is mandatory!
    • feat: add "emoji" mode: Previously, only to_clap and to_pray where available as static modes, to_emoji abstracts this into any type of emoji (or character, for that matter). The former functions are now merely implemented using the to_emoji function with a static argument. Note however that this is the first function that exposes more than one argument, i.e., you need to call it like this: `to_emoji("👍")("Example Text"). Testing this however requires your TTY to support pasting in emojis.
    opened by zoomoid 1
Owner
Alexander Bartolomey
🧊 Kubernetes 👨‍💻 TypeScript 🎓 Computer Science M.Sc. at RWTH Aachen University 💻 Frontend & Infrastructure Engineer at @anny-co
Alexander Bartolomey
Neogex is a human readable parser standard, being implemented in Python

Neogex (New Expressions) Parsing Standard Much like Regex, Neogex allows for string parsing and validation based on a set of requirements. Unlike Rege

Seamus Donnellan 1 Dec 17, 2021
Cirq is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators

Cirq is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators. Install

quantumlib 3.6k Jan 7, 2023
Python library to decorate and beautify strings

outputformater Python library to decorate and beautify your standard output ?? I

Felipe Delestro Matos 259 Dec 13, 2022
Minimal, super readable string pattern matching for python.

simplematch Minimal, super readable string pattern matching for python. import simplematch simplematch.match("He* {planet}!", "Hello World!") >>> {"p

Thomas Feldmann 147 Dec 1, 2022
This code makes the logs provided by Fiddler proxy of the Google Analytics events coming from iOS more readable.

GA-beautifier-iOS This code makes the logs provided by Fiddler proxy of the Google Analytics events coming from iOS more readable. To run it, create a

Rafael Machado 3 Feb 2, 2022
Converts a base copy of Pokemon BDSP's masterdatas into a more readable and editable Pokemon Showdown Format.

Showdown-BDSP-Converter Converts a base copy of Pokemon BDSP's masterdatas into a more readable and editable Pokemon Showdown Format. Download the lat

Alden Mo 2 Jan 2, 2022
A command line interface tool converting starknet warp transpiled outputs into readable cairo contracts.

warp-to-cairo warp-to-cairo is a simple tool converting starknet warp outputs (NethermindEth/warp) outputs into readable cairo contracts. The warp out

Michael K 5 Jun 10, 2022
The mock Pokemon Environment I built in 2019 to study Reinforcement Learning + Pokemon

ghetto-pokemon-rl-environment ##NOT MAINTAINED! Fork and maintain yourself. Environment I made back in 2019 to use Pokemon to practice reinforcement l

null 2 Dec 9, 2021
Analisador de strings feito em Python // String parser made in Python

Este é um analisador feito em Python, neste programa, estou estudando funções e a sua junção com "if's" e dados colocados pelo usuário. Neste código,

Dev Nasser 1 Nov 3, 2021
Pacman - A suite of tools for manipulating debian packages

Overview Repository is a suite of tools for manipulating debian packages. At a h

Pardis Pashakhanloo 1 Feb 24, 2022