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 details)

Uploaded Source

Built Distribution

File details

Details for the file kaomoji-database-edit-tool-0.0.11.tar.gz.

File metadata

  • Download URL: kaomoji-database-edit-tool-0.0.11.tar.gz
  • Upload date:
  • Size: 88.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for kaomoji-database-edit-tool-0.0.11.tar.gz
Algorithm Hash digest
SHA256 70d4115363d558c72771536662786f46f1e2aa7b04890d2c17a2a002689fad94
MD5 ac08785a84f3105b447c3191a8a448e6
BLAKE2b-256 c09b4f2b0aa1266732206a1c3efa69abe96127d61748542be544e7b34bc7b71f

See more details on using hashes here.

File details

Details for the file kaomoji_database_edit_tool-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: kaomoji_database_edit_tool-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for kaomoji_database_edit_tool-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f5d78a96a22d6cc5185faa68d81cd1409c5b4ba0308b686fa5e171496f0073d1
MD5 7c829cae3b33858b19cff9c013123a96
BLAKE2b-256 a62d896b92e6c9e09ef8ba2898e5bede0bfb32b64e17b8577178664925d98f25

See more details on using hashes here.

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