semvec/pypi-packages huggingface dataset:
emoji-chengyu 0.0.6
把成语转成 emoji 来猜谜的小玩具, 可以用于中秋, 元宵猜灯谜
Keywords: chengyu,emoji,emoji-chengyu,成语

# emoji-chengyu

把成语转成 emoji 来猜谜的小玩具

可以用于中秋, 元宵猜灯谜

## Usage

### Cli
```bash
pip3 install emoji-chengyu
```

```bash
emoji-chengyu-cli
emoji-chengyu-cli --count 20

# 游戏模式
emoji-chengyu-cli --game
```

例子
```
披麻戴孝 🍺🦄🦘🎓
走石飞沙 🏃🦁☕👙
立马万言 🌰🦄🎃👁
一苇可航 🥼🍤👍👩‍🚀
飞沙走砾 ☕👙🏃🌰
诸子百家 🐷🍆🥬👩‍👩‍👦
三山五岳 🌂⚡🕺🌕
左思右想 👈🤔👉🤔
指手点脚 💅🤚👩‍💻🦶
```

### Libary

```
from emoji_chengyu.puzzle import gen_puzzle

for p in gen_puzzle():
    print(p.puzzle_str, p.chengyu_item.word)
```

## 起因

春节有朋友在微信发的谜题

## 原理

成语 --> 拼音 && Emoji --> 含义 --> 拼音

利用同音或者谐音, 通过拼音关联成语和 Emoji

Example:

喜上眉梢 <---> 😄👆🌹🔥

1. 😄 --> 高兴 --> 喜
2. 👆 --> 向上 --> 上
3. 🌹 --> 玫瑰 --> 玫(眉)
4. 🔥 --> 火焰 --> 烧(梢)


## 数据源

1. 成语

搜了下 github 有中华新华字典数据库 https://github.com/pwxcoo/chinese-xinhua MIT

而且包含了成语的拼音

2. emoji

emoji 转中文搜了下，有好几个

- https://github.com/Kenshin/emoji

    是个 Chrome 插件, 数据源在 https://github.com/Kenshin/emoji/blob/master/src/vender/emoji/zh_emoji.js , MIT 证书

- https://github.com/chroming/ch2emoji

    python 数据源在 https://github.com/chroming/ch2emoji/blob/master/emoji_pinyin_dict.py , 看不太懂。 无证书

- https://github.com/binderclip/emoji-cn

    未完成的项目

- https://github.com/techkang/zh2emoji

    好像和 ch2emoji 的数据源一样, https://github.com/techkang/zh2emoji/blob/master/emoji_dict_sim.py 作者说做了谷歌翻译

- https://github.com/gingerbeardman/Emojipedia

    英文 https://github.com/gingerbeardman/Emojipedia/blob/master/Emoji.xml

- https://github.com/notwaldorf/emoji-translate

    英文, https://github.com/notwaldorf/emoji-translate/blob/master/extension/emojis.json (有点意思, 将来可以做一个抽象话生成器)

- https://github.com/muan/emojilib

    英文, 这个不错，感觉可以在这个基础上用谷歌翻译


## TODO

1. make an easy web
SoleStormCatPY 0.6.2024
SoleStormCatPY is a set of Python apps/scripts that can help you with whatever you need, wether it be your development of a Python script/app, or you just want to mess around for fun, SoleStormCatPY is for you!
Requires Python: >=3.7

# SoleStormCatPY

SoleStormCatPY is an app developed to help you throughout your day. Here are some of the apps that are jam-packed into this Python Distribution Package!

(Not all scripts/apps are originaly from SoleStormCat Corp. Here is a list of apps that are effected, and includes a link to the original source:
1. [Standalone App](https://www.geeksforgeeks.org/python-menu-widget-in-tkinter/)
1. [ClockTimer and Standalone App](https://www.geeksforgeeks.org/creating-tabbed-widget-with-python-tkinter/) (FOR THE TAB FEATURE ONLY)
1. [Files](https://data-flair.training/blogs/python-file-explorer-project/) (THIS IS A MODIFED VERSION OF THE PROJECT)
1. [WebOpenGUI](https://stackoverflow.com/a/64363622) (For GUI Web Viewing Only)
1. [UnixTimeConvertor](https://stackoverflow.com/a/40769643) - for `unixConvertor()` and `unixConvertorN()`
1. [UnixTime Convertor](https://stackoverflow.com/a/75417916) - for `unixPrint()`
)

## Instaling SoleStormCatPY
To install SoleStormCatPY, you can do either of the #:

1. Install from `pip`:
To install/upgrade from `pip`, go to your terminal and enter (for Linux/Mac) `python3 -m pip install --upgrade SoleStormCatPY` or (for Windows) `py -m pip install SoleStormCatPY`

2. Install from packages:
To install/upgrade `SoleStormCatPY` from the packages, you must download the package(s) from `dist`, and after setting your terminal to the location of the downloaded files, run (For Linux/Mac) `python3 -m pip install ./{File}` or (For Windows) `py -m pip install {Path To File}`.

3. Install from SoleStormCat Corp's installer file:
To install `SoleStormCatPY` from SoleStormCat Corp's provided installer, simply download the installer (found at `Releases/Python/Installer`), and run the `.py` file that was downloaded!

## List Of Apps
The apps (or modules) that SoleStormCatPY are:
1. MathSolver
1. WebOpen
1. Terminal
1. SystemInfo
1. ClockTimer
1. Files
1. GreeNotes
1. appOpener
1. interactiveShell

Using the Wiki (currently non-GitHub, find at the Wiki folder), you may find info for each of these modules in the "SoleStormCatPY Apps" option.