A Python library for converting text strings into OwO
Project description
owotext
A Python library for converting text strings into OwO, inspired by Douglas Gardner's work.
Installing
pip install owotext
Usage
You can use owotext in your Python projects like so:
# OwO Impowt da wibwawy ÙωÙ
from owotext import OwO
# Huohhhh. Setup da convewtew ʕʘ‿ʘʔ
uwu = OwO()
# HIIII! Convewt a stwing into OwO speak Huoh.
print(uwu.whatsthis('In the beginning the Universe was created. '
'This had made many people very angry and has '
'been widely regarded as a bad move.'))
Example output:
Huohhhh. In da beginning da Univewse was cweated. This had made many peopwe vewy angwy and haz been widewy wegawded as a bad move. Huoh.
You can also call owotext from the command line by using the owo
command:
owo You know something? I really hate people! They're selfish, ignorant, loud obnoxious pricks, with basically no redeeming qualities whatsoever. I mean really, look at all they've achieved! Genocide, global warming, reality TV, and just a never ending parade of failures and fuck ups! They are, without question, a complete write-off of a species
Example output:
Huohhhh. You knuw something? I weawwy hate peopwe! Theywe sewfish, ignuwant, woud obnuxious pwicks, with basicawwy nu wedeeming quawities whatsoevew. I mean weawwy, wook at aww theyve achieved! Genucide gwobaw wawming weawity TV and just a nevew ending pawade of faiwuwes and fuck ups! They awe without question a compwete wwite-off of a species ( '◟ ')
Customization
OwO()
accepts custom lists of prefixes, suffixes and substitutions.
OwO(prefixes, suffixes, substitutions)
Things should be fairly self explanatory here; prefixes
and sufffixes
should be List
objects and substitutions
should be a Dict
.
Requirements
- Python 3
- A lack of self worth
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
owotext-1.1.1.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file owotext-1.1.1.tar.gz
.
File metadata
- Download URL: owotext-1.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed4c07130911df9aa47fc94e12335a20ad972d471ac4cd43bb4747defb88236 |
|
MD5 | 77114232c4a84a4dceaa7090ceb67e9e |
|
BLAKE2b-256 | 7e0a13c8c238d77e1d500875fedf72f0daedf000c5b3f1a5be06cab1ea41d24a |
File details
Details for the file owotext-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: owotext-1.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf7653d7b31609443be33fc49d4e1b494cd0d0fa4f48048e0a83c773ad8ae554 |
|
MD5 | 2b2000e3e5f5840b04374a9c33d2963a |
|
BLAKE2b-256 | 7ce15b26aab3e7a366f252cab7d3afd83504391afa299960b786dbc43d8707d0 |