Giter Site home page Giter Site logo

nonebot-plugin-molar-mass's Introduction

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

nonebot-plugin-molar-mass's People

Contributors

dependabot[bot] avatar kifuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hsmaocn

nonebot-plugin-molar-mass's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.