Skip to main content

This is a Kaomoji library for Python for Japanese.

Project description


Kaomoji library for Python

What's py-kaomoji

This is a Kaomoji library for Python for Japanese. You can find some cute kaomojis.

Getting started

Install with pip.

pip install py-kaomoji

How to use

Let's start with importing kaomoji library.

from kaomoji import kaomoji

You can get a random kaomoji string with kao().

kao = kaomoji.Kaomoji()
> '(ヾノヾノヾノヾノヾノ・ω・`)ヾノジェットストリームナイナイ'

Or, you can get several random kaomojis with random_kaomoji().

> 'ピース(≧▽≦)v ⊂⌒っ´ーωー)っ.。o○ (⊃д∩)'

You can also specify your kaomoji emotion.

> "たのしい!✌('ω'✌ )三✌('ω')✌三( ✌'ω')✌"

The list of emotions you can express can be found with get_kao_list().

> 'あおり',
> 'あげ',
> 'あせ',
> 'あたふた',
> ...

If you feel like you need a party, you can run super_kaomoji().

> 'てへぺろ!(*ゝωб) (((o(*゚▽゚*)o))) (´っω-).。oO ・゚・(ノд<)・゚・ ウェ―ン (〃l _ l) ヽ(。ゝω・)ノ (>ヮ<*) =͟͟͞͞ (¦3[▓▓]'

If you don't think it's good enough, then just get all_kaomoji().

> !!!!!!!!!!!!!!!


This sample code is licensed under the MIT License.

Project details

Download files

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

Files for py-kaomoji, version
Filename, size File type Python version Upload date Hashes
Filename, size py_kaomoji- (8.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page