xby-math-genie-calc
No description
- Stars
- 0
- Language
- TypeScript
- Created
- Aug 28, 2026
- Updated
- Aug 28, 2026
Introduction
xby-math-genie-calc
DeepSeek Harness (DSH) 的插件:科学计算工具
math_genie_calc是一款专注于科学计算的Python应用,提供从基础运算到复杂三角函数的多种计算功能,适合学生、科研人员等使用。
功能
- set_xby_apikey — 在聊天中设置 API 密钥(自动持久化,重启有效)
- add — 两个数相加
- subtract — 两个数相减
- multiply — 两个数相乘
- divide — 两个数相除
- sine — 计算正弦函数
- cos — 计算余弦函数
- tangent — 计算正切函数
- cotangent — 计算余切函数
- secant — 计算正割函数
- cosecant — 计算余割函数
- natural_log — 计算自然对数(底数为e)
- common_log — 计算常用对数(底数为10)
- custom_log — 根据给定的底数计算对数
- math_sqrt — 使用Python内置的数学模块进行平方根计算
- operator_sqrt — 使用指数运算符来计算平方根
- complex_sqrt — 计算复数平方根
- exponentiation — 计算幂运算,支持负整数和小数
- arcsin — 计算反正弦函数
- arccos — 计算反余弦函数
- arctan — 计算反正切函数
- factorial_math — 求阶乘
安装
方式一:从 GitHub 直接安装(推荐)
# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-math-genie-calc
方式二:从本地目录安装(开发模式)
# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-math-genie-calc
方式三:通过 cordis.patch.yml 开发调试
dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml
配置
获取 API 密钥
前往 小笨羊官网 注册并获取 API 密钥。