Skip to main content

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:

  1. owo (default): The most vanilla one.
  2. uwu: The moderate one.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

owoify-py-1.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

owoify_py-1.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file owoify-py-1.1.0.tar.gz.

File metadata

  • Download URL: owoify-py-1.1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.8.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for owoify-py-1.1.0.tar.gz
Algorithm Hash digest
SHA256 45002f06943832be3751ad4c51133d9fdb63a888d5cf920723cfef3fa6048204
MD5 fabdffa32b4726e409961ba970be40a5
BLAKE2b-256 c963b2446d395a0b6295b31c3cda72425d227303a086c5b547e13642c4b62044

See more details on using hashes here.

File details

Details for the file owoify_py-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: owoify_py-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.8.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for owoify_py-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d6cf694732c3d1a7c0afd9f10ff4ef3467090f162e0f633048dc1d2f36b748c
MD5 693b141a264cc352000bed837d500102
BLAKE2b-256 6afad0ea7fb4e8f74d16906bc68d47d66144ff1f4080f5f2714e3ad1aa7197e8

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