A tool to calculate molar mass for middle school students.
Project description
nonebot-plugin-molar-mass
本项目为 Nonebot2
插件,用来计算摩尔质量或相对分子质量。
因为我每次遇到计算题都要去翻课本,然后按计算器,不胜其烦,导致了这个库的出现。
可以查看本项目的 CLI
分支,直接使用 cli
版本。
安装
使用 pip
安装:
> pip install -U nonebot-plugin-molar-mass
使用 nb-cli
安装:
> nb plugin install nonebot-plugin-molar-mass
使用
发送 /摩尔质量 化学式
或 /相对分子质量 化学式
或 /mol 化学式
。注意,这里的斜杠指的是 COMMAND_START
,你可以参考 Nonebot 官方文档配置。
以下为几组输入输出的例子:
> NaOH
40
> H2SO4
98
> 2HCl
73
> (NH4)2SO4
132
> CuSO4+5H2O
250
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
Close
Hashes for nonebot_plugin_molar_mass-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad815724eaa361fa22bd590f80d44e05248e9d6c87f952cb67b7fc662bf5d42 |
|
MD5 | c51112f31ebc8c2610a9864b431de812 |
|
BLAKE2b-256 | 23c353aa0cf10e2c5417cbbfcec76292e350ec5934e93d653905f10f1751257a |
Close
Hashes for nonebot_plugin_molar_mass-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac483d2c3e1b735add601203419e64c156b4bdb1d864d602c1d6a4470cd84524 |
|
MD5 | 6b2bb490e660b653b1ff0dd230820ca3 |
|
BLAKE2b-256 | 61446e30d039e13fe765640d877a3dd0e9733187e07c0fa3e057778e8c172160 |