Skip to main content

Tool to edit kaomoji database .tsv

Project description

Quickly add and categorize kaomojis in a database.

Python lib (ready) and tool (soon…) to edit kaomoji database.

Features:

  • easily add new kaomoji to the database

  • easily add ou remove new keywords

(readme in the make!)

Installation

  1. Clone this repository and change to it’s directory

  2. pip install –requirement requirements.txt

  3. Get the emoticons.tsv: wget https://raw.githubusercontent.com/cspeterson/splatmoji/master/data/emoticons/emoticons.tsv -O emoticons.tsv

Usage

python -m kaomojiedit [options]

python -m kaomojiedit –help # list commands

Commands

add

Usage: python -m kaomojiedit add [OPTIONS]

  Adds the selected kaomoji to the selected database

Options:
  -f, --database TEXT  Kaomoji database file name.
  -k, --kaomoji TEXT   Kaomoji; use - to read from STDIN.
  -w, --keywords TEXT  Comma-separated list of keywords to change.
  --help               Show this message and exit.

rm

edit

kwadd

kwrm

diff

User config file:

You can have a user configuration file at ~/.kaomojiedit. The file has toml format. Current options:

~/.kaomojiedit config file

database_filename = "emoticons.tsv"  # can be a path relative to current
                                     # directory or absolute; ~ is expanded
                                     # to $HOME
                                     # default database file to edit

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-database-edit-tool-0.0.11.tar.gz (88.3 kB view hashes)

Uploaded Source

Built Distribution

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