a nonebot plugin to remember words
Project description
📕 nonebot_plugin_wordsnorote
✨ 哥们哥们,背单词么?哥们! ✨插件描述
一款基于Nonebot2的插件
不是吧,真的有人拿QQ背单词么?!
功能是朋友提的,这个功能我感觉很鸡肋, 我一直习惯于APP背单词,推荐几款软件
- 电脑:Uahh/ToastFish: 一个利用摸鱼时间背单词的软件(少有且好用的电脑端单词软件!)
- 手机:扇贝单词
- 平板:欧陆词典(功能强大!)
但她说别人发消息QQ高频点开,这个理由好像也挺有道理,所以简单做了一个机器人插件。但无论什么方式,重在坚持!
py小白,如果有任何问题、建议,欢迎issues
安装
pip install nonebot_plugin_wordsnorote
配置项
在bot.py
中添加
nonebot.load_plugin("nonebot_plugin_wordsnorote")
在.evn
中配置参数说明
config | type | default | example | usage |
---|---|---|---|---|
num_words | int | 20 | num_words = 50 | 每日推送单词数量,默认20 |
更换词库
因为我面向的是大学生,所以默认词库是考研英语,kajweb/dict仓库已将有道数据整理,包括小学到大学的课本、四六级、考研、雅思...
- 从仓库中下载词库
- 运行仓库中
turn_json.py
转格式(注意英标是否乱码,推荐在Mac或Linux环境下运行,微软编码默认GBK)并遍历一遍数据,查看是否有缺失 - 运行仓库中
fix_keys.py
填补缺失数据(以考研词库缺失例句与发音为例,根据实际情况修改try...expect
异常)
示例
更新记录
2022.8.30,发布至商店
202?.?.?,添加复习功能
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for nonebot_plugin_wordsnorote-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca5f838786dabbf6037ec1693346bc343a86e8b609b55d795f892f4f6014d6f |
|
MD5 | a7d6883462587e0e39e0836a99df959b |
|
BLAKE2b-256 | 2b553f65faca9d98b1f92dd33ad1a175f2d7771f32a9de9dd37086d73c01d5b4 |
Close
Hashes for nonebot_plugin_wordsnorote-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01a0e39e04703004bddbb0e7c4354850ac37f1395775fe8595e1db6b1c7d3c1c |
|
MD5 | 34745fdfd3a187a9db81243745b895d0 |
|
BLAKE2b-256 | c0162b83373206d062ad6b2b32f6a825d14191d9897b737fa4eb5778a311034f |