Skip to main content

Turning your worst nightmare into a Python package.

Project description

owoify-py

Turning your worst nightmare into a Python package.

Python package Upload 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?', Owoness.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-2.0.0.tar.gz (9.5 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-2.0.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: owoify-py-2.0.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for owoify-py-2.0.0.tar.gz
Algorithm Hash digest
SHA256 05b9cd48e4998773046156153978e6bd45a21ad0b9e21612ba6b1e3bf6d37872
MD5 6a5e33b22341c609b1452f141f2fb832
BLAKE2b-256 a90b1846b61cbc49d05952ee72710864d33ec0508b53d91af6d457076e1cc426

See more details on using hashes here.

File details

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

File metadata

  • Download URL: owoify_py-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for owoify_py-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 424dd0c98f2aaf87f774add950b644b424f20b8f7b9b6e24366bda224ed9da41
MD5 ef042570f1854eab952c297a2663063c
BLAKE2b-256 13b1dce7bc7eec0178ab6bbc4e1e2766ee74fdf2e69fb825817a0dc6912bf6f2

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