Skip to main content

A NoneBot based plugin provides information query services for EVE online.

Project description

                                                                           .-'''-.        .-'''-.          
                                                                          '   _    \     '   _    \  .---. 
       __.....__   .----.     .----.   __.....__                        /   /` '.   \  /   /` '.   \ |   | 
   .-''         '.  \    \   /    /.-''         '.                     .   |     \  ' .   |     \  ' |   | 
  /     .-''"'-.  `. '   '. /'   //     .-''"'-.  `.                .| |   '      |  '|   '      |  '|   | 
 /     /________\   \|    |'    //     /________\   \             .' |_\    \     / / \    \     / / |   | 
 |                  ||    ||    ||                  |           .'     |`.   ` ..' /   `.   ` ..' /  |   | 
 \    .-------------''.   `'   .'\    .-------------'          '--.  .-'   '-...-'`       '-...-'`   |   | 
  \    '-.____...---. \        /  \    '-.____...---.             |  |                               |   | 
   `.             .'   \      /    `.             .'              |  |                               |   | 
     `''-...... -'      '----'       `''-...... -'                |  '.'                             '---' 
                                                                  |   /                                    
                                                                  `'-'                                     

nonebot-plugin-eve-tool

✨ NoneBot EVE信息查询插件 ✨

license pypi python

这是一个基于 nonebot2 编写的EVE ONLINE信息查询插件。

📖 介绍

懒,具体功能:查价,kb信息,翻译,汇率,KM订阅及推送

💿 安装

使用 nb-cli 安装 (推荐) 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-eve-tool
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-eve-tool
pdm
pdm add nonebot-plugin-eve-tool
poetry
poetry nonebot-plugin-eve-tool
conda
conda install nonebot-plugin-template

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

plugins = ["nonebot_plugin_template"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

eve_mysql_password='你的密码'
eve_proxy='http://127.0.0.1:7890' #国内强烈推荐
全部配置项
配置项 必填 默认值 说明
eve_mysql_host 'localhost' MYSQL主机地址
eve_mysql_port 3306 MYSQL端口号
eve_mysql_user 'root' MYSQL用户名
eve_mysql_password MYSQL密码
eve_mysql_db 'eve_tool' MYSQL数据库名
eve_redis_url 'redis://localhost:6379/0' Redis连接URL
eve_proxy None 代理配置
eve_market_preference 'esi_cache' 市场设置偏好
eve_janice_api_key 'G9KwKq3465588VPd6747t95Zh94q3W2E' Janice API密钥
eve_word_cut 'jieba' 分词工具偏好
eve_history_preference 'follow' 历史记录偏好
eve_km_speed_limit 0 Kill Mail速度限制
eve_km_send_delay 3 Kill Mail发送延迟
eve_kb_info_background_url 'https://www.loliapi.com/acg/' KB信息背景URL
eve_sde_path data_path / 'sde' SDE存放位置
eve_lagrange_preference 'zh' 语言偏好
eve_command_start ["/", "", "!", ".", "!", "#"] 命令起始字符

接下来请安装mysql和redis,推荐使用docker

docker run -itd --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql
docker run -itd --name redis -p 6379:6379 redis/redis-stack-server:latest

🎉 使用

指令表

指令 权限 需要@ 范围 说明
/help 群员 全部

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

nonebot_plugin_eve_tool-0.2.2.tar.gz (62.1 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_eve_tool-0.2.2-py3-none-any.whl (81.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_eve_tool-0.2.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_eve_tool-0.2.2.tar.gz
Algorithm Hash digest
SHA256 1b59700be498bd74bb916e26d80629368105f304644ab15134d9f00f36c3321e
MD5 6c5165f3b1747afa1d51645a0af55d4e
BLAKE2b-256 57245c1859768b6df0843e4949865f36307ef320d8e07a4a0e8e99840e0f315d

See more details on using hashes here.

File details

Details for the file nonebot_plugin_eve_tool-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_eve_tool-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88cc30b2c9b21aed538bbb544fb737220eb542cf939342d1f33a151c0b66afd3
MD5 fede86c10687084a7f614a6dadbf0440
BLAKE2b-256 e8e6d4504b5f54ce397bf1d09a9dd80357d3cde62f932276bf946941d4c04c3b

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