python 化学_chempy-ChemPy是一个Python包,用于解决化学问题。-Bjoern I. Dahlgren About ChemPy Documentation Installati...

作者:Bjoern I. Dahlgren

### 作者邮箱:bjodah@gmail.com

### 首页:https://github.com/bjodah/chempy

### 文档:https://pythonhosted.org/chempy/

### 下载链接

ChemPy

.. image:: http://hera.physchem.kth.se:8080/api/badges/bjodah/chempy/status.svg :target: http://hera.physchem.kth.se:8080/bjodah/chempy :alt: Build status .. image:: https://img.shields.io/pypi/v/chempy.svg :target: https://pypi.python.org/pypi/chempy :alt: PyPI version .. image:: https://img.shields.io/badge/python-3.8,3.9-blue.svg :target: https://www.python.org/ :alt: Python version .. image:: https://img.shields.io/pypi/l/chempy.svg :target: https://github.com/bjodah/chempy/blob/master/LICENSE :alt: License .. image:: http://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat :target: http://hera.physchem.kth.se/~chempy/benchmarks :alt: airspeedvelocity .. image:: http://hera.physchem.kth.se/~chempy/branches/master/htmlcov/coverage.svg :target: http://hera.physchem.kth.se/~chempy/branches/master/htmlcov :alt: coverage .. image:: http://joss.theoj.org/papers/10.21105/joss.00565/status.svg :target: https://doi.org/10.21105/joss.00565 :alt: Journal of Open Source Software DOI

.. contents::

About ChemPy

ChemPy is a Python _ package useful for chemistry (mainly physical/inorganic/analytical chemistry). Currently it includes:

Numerical integration routines for chemical kinetics (ODE solver front-end)

Integrated rate expressions (and convenience fitting routines)

Solver for equilibria (including multiphase systems)

Relations in physical chemistry:

Debye-Hückel expressions

Arrhenius & Eyring equation

Einstein-Smoluchowski equation

Properties (pure python implementations from the literature)

water density as function of temperature

water permittivity as function of temperature and pressure

water diffusivity as function of temperature

water viscosity as function of temperature

sulfuric acid density as function of temperature & weight fraction H₂SO₄

More to come... (and contributions are most welcome!)

Documentation

The easiest way to get started is to have a look at the examples in this README, and also the jupyter notebooks. In addition there is auto-generated API documentation for the latest stable release here (and here are _ the API docs for the development version).

.. _notebooks: http://hera.physchem.kth.se/~chempy/branches/master/examples

Installation

Simplest way to install ChemPy and its (optional) dependencies is to use the conda package manager _::

$ conda install -c bjodah chempy pytest $ pytest -rs -W ignore::chempy.ChemPyDeprecationWarning --pyargs chempy

currently conda packages are only provided for Linux. On Windows and OS X you will need to use pip instead::

$ python3 -m pip install chempy pytest $ python3 -m pytest -rs -W ignore::chempy.ChemPyDeprecationWarning --pyargs chempy

there will a few tests which will be skipped due to some missing optional backends in addition to those in SciPy (used for solving systems of non-linear equations and ordinary differential equations).

If you are still using Python 2 you can use the long-term-support 0.6.x branch of ChemPy which will continue to receive bugfixes::

$ python2 -m pip install "chempy<0.7"

Optional dependencies ~~~~~~~~~~~~~~~~~~~~~ If you used conda to install ChemPy you can skip this section.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值