Skip to main content
logo

✨ Just Enough Katakanas ✨

LICENSE pypi python uv ruff

📖 介绍

通过词典查词或者使用e2k和g2p-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。

Metadata

Release files for nonebot-plugin-just-enough-katakanas 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-just-enough-katakanas 0.3.2
File Size Uploaded Provenance Actions
nonebot_plugin_just_enough_katakanas-0.3.2.tar.gz 8.0 kB Without provenance Details for nonebot_plugin_just_enough_katakanas-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-just-enough-katakanas 0.3.2
File Interpreter ABI Platform Actions
nonebot_plugin_just_enough_katakanas-0.3.2-py3-none-any.whl Python 3 none any Details for nonebot_plugin_just_enough_katakanas-0.3.2-py3-none-any.whl

Total release size: 17.3 kB

Release files / nonebot_plugin_just_enough_katakanas-0.3.2.tar.gz

Download URL nonebot_plugin_just_enough_katakanas-0.3.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d890a0ad2158c62b3220bab606fca215bffffc4e958d015b319646e641737319
BLAKE2b-256 checksum
How to use checksums
ccf598c1d529b14637aa98b1861d22a6ccc0b86789714fd360e3039e1010eeff
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / nonebot_plugin_just_enough_katakanas-0.3.2-py3-none-any.whl

Download URL nonebot_plugin_just_enough_katakanas-0.3.2-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7eb435f3e2cda652cf760354fe1632596e7bff84f4b6aaaab025fbb77b141351
BLAKE2b-256 checksum
How to use checksums
df27fbbcf2327d4eb3da054098443bfcd2cc421f02cc32334ddf2c4749d892cc
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for nonebot-plugin-just-enough-katakanas 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page