Skip to main content

Create procedurally generated kaomoji (i.e., Japanese emoticons) using Python! \(^ヮ^)/

Project description

Kaomoji

Create procedurally generated kaomoji (i.e., Japanese emoticons) using Python! \(^ヮ^)/

version python version license

This Python package uses procedural generation to create kaomoji using a collection of features (e.g., eyes, arms, etc.) across a wide variety of different categories, such as emotions (e.g., joy, indifference, love) and animals (e.g., dog, cat, etc.). Also, the individual kaomoji features and template used to organize the features are fully customizable.

asciicast

Installation

Installation is easy using the pip package manager.

$ pip install --user kaomoji

Example

Run the following command on the console to view a pre-fab example.

$ python -m kaomoji

Usage

The first step is to import the Kaomoji class.

> from kaomoji.kaomoji import Kaomoji

Next, instantiate a Kaomoji object.

> kao = Kaomoji()

Using the Kaomoji object, procedurally generate a kaomoji from a random category.

> kao.create()

Or, generate a kaomoji from a specific category.

> kao.create("joy")

All of the available categories are easily viewable on the categories attribute.

> kao.categories

Releases

This project adheres to Semantic Versioning. See CHANGELOG for a detailed release history.

Contributing

Contributions are welcome. See CONTRIBUTING for instructions on how to contribute to this project.

License

Distributed under the MIT license. See LICENSE for more information.

Author

This project was made with 💖 by Keith Dowd @ keith.dowd@gmail.com.

Acknowledgements

Big thanks to Japan for creating kaomoji and anime.

Also, huge shoutout to kaomoji.ru for the history and wonderfully expansive and organized collection of kaomoji.

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

kaomoji-0.1.0.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

kaomoji-0.1.0-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page