Skip to main content

An NoneBot plugin that converts English texts to Katakanas.

Reason this release was yanked:

Version Labeling Error

Project description

logo

✨ Just Enough Katakanas ✨

LICENSE pypi python uv ruff

📖 介绍

通过词典查词或者使用e2kg2p-en音转写,将英文单词或句子转换为日文片假名。

更多功能 WIP

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-just-enough-katakanas --upgrade

使用 pypi 源安装

nb plugin install nonebot-plugin-just-enough-katakanas --upgrade -i "https://pypi.org/simple"

使用清华源安装

nb plugin install nonebot-plugin-just-enough-katakanas --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
uv
uv add nonebot-plugin-just-enough-katakanas

安装仓库 master 分支

uv add git+https://github.com/p0rt39/nonebot-plugin-just-enough-katakanas@master
pdm
pdm add nonebot-plugin-just-enough-katakanas

安装仓库 master 分支

pdm add git+https://github.com/p0rt39/nonebot-plugin-just-enough-katakanas@master
poetry
poetry add nonebot-plugin-just-enough-katakanas

安装仓库 master 分支

poetry add git+https://github.com/p0rt39/nonebot-plugin-just-enough-katakanas@master

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_just_enough_katakanas"]
使用 nbr 安装(使用 uv 管理依赖可用)

nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2

nbr plugin install nonebot-plugin-just-enough-katakanas

使用 pypi 源安装

nbr plugin install nonebot-plugin-just-enough-katakanas -i "https://pypi.org/simple"

使用清华源安装

nbr plugin install nonebot-plugin-just-enough-katakanas -i "https://pypi.tuna.tsinghua.edu.cn/simple"

⚙️ 配置

本插件暂无可用配置项 - WIP

🎉 使用

指令表

指令 权限 需要@ 范围 说明
ktkn <English_Content> 群员 群聊 将<English_Content>转换为片假名
ktknhelp 群员 群聊 显示帮助菜单
ktknstatus 群员 群聊 显示词典链接情况和插件自检 (WIP)

License

  • 代码部分: Apache-2.0 License.
  • 词典部分: Patchethium/e2k 提供的katakana_dict.jsonl, 本插件工作过程中会将其远程下载并按原样提供(provided as is), 继承 Wiktionary, JMdict/EDICT 的 CC-BY-SA。

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

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_just_enough_katakanas-0.3.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_just_enough_katakanas-0.3.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_just_enough_katakanas-0.3.0.tar.gz
Algorithm Hash digest
SHA256 73bef4c65a718bf82deab1c7894a87efbbb13afb34db6a013d3da2b8aa83fa9a
MD5 da63d795c16a70046102c8854b27f836
BLAKE2b-256 44b044ad32f8951f5bf0d5ab159ccb6db3938e2330e8641a36939342158804e6

See more details on using hashes here.

File details

Details for the file nonebot_plugin_just_enough_katakanas-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_just_enough_katakanas-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_just_enough_katakanas-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e39f5e1afac09acb7bae8e8876485d247e995df63667ac74b3ecfc91dd9d1c3
MD5 cc5980ccdc3157e17478cbb332308d81
BLAKE2b-256 4ec990c2efb6d99265de39b15eed091e6c361a78ef22412afc95803a079c0acd

See more details on using hashes here.

Supported by

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