Turning your worst nightmare into a Python package.
Project description
owoify-py
Turning your worst nightmare into a Python package.
This is a Python port of mohan-cao's owoify-js, which will help you turn any string into nonsensical babyspeak similar to LeafySweet's infamous Chrome extension.
Just like my other Owoify ports, three levels of owoness are available:
- owo (default): The most vanilla one.
- uwu: The moderate one.
- uvu: Litewawwy unweadabwal.
Please refer to the original owoify-js repository for more information.
Seriously, if you have seen my other ports, you probably have already known the details.
Reason for development
PyPI does already have several owoify packages, but just like owoify packages on Crates.io, they don't provide different leves of owoness. And recently I need to make a Discord bot in Python as well, so here is your owoifer in Python.
Install instructions
Create a virtual environment for your project, and run this following command after activating the virtual environment:
pip install owoify-py
Usage
owoify.py is implemented as a simple function. That means you only need to import the function and call it inside your code. The difference is that this time the owoness is specified with strings, i.e. owo, uwu, and uvu.
if __name__ == '__main__':
print(owoify('This is the string to owo! Kinda cute isn\'t it?'))
print(owoify('This is the string to owo! Kinda cute isn\'t it?', 'uvu'))
# Output:
# This is teh stwing two owo! Kinda cute isn't it?
# fwis is teh stwing twowo owowowo ʕ→ᴥ←ʔ Kinda cute isn't it?
Disclaimer
As usual, I'm writing this package for both practicing and bots' needs. Performance is NOT guaranteed.
See also
- owoify-js - The original owoify-js repository.
- owoify - The existing owoify package on PyPI.
- Owoify.Net - The C# port of Owoify written by me.
- Owoify++ - The C++ header-only port of Owoify written by me.
- owoify_rs - The Rust port of Owoify written by me.
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
Hashes for owoify_py-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cdb10f59a4e1f75665a8ef1928ad542b7a8bbceabafb1a4cb52714b205b41c7 |
|
MD5 | bcb92f1e3120d600a09b821d2fca2021 |
|
BLAKE2b-256 | bab3d9e3f96148d9a9a379f744512e916949a88a50c4635ab94207c6e7230987 |