A simple library that takes chemistry to the next level.
Project description
Chemica
A simple library that takes chemistry to the next level 👨🔬🔬🥽🧪🧬
Installation:
Download the latest version of the library using pip
$ pip3 install chemica -U
Usage examples:
Solving equation:
from chemica import Chemica
print(Chemica.solve("CuCl2", "Zn"))
This example will return this equation object:
Equation(substances=('CuCl2', 'Zn'), result='CuCl2(aq) + Zn(s) → Cu(s) + ZnCl2(aq)')
Getting info about substance:
from chemica import Chemica
print(Chemica.info("Zn"))
This example will return this substance object:
Substance(substance='Zn', name='Zinc, Zinc powder (pyrophoric), Zn, Element 30, 30Zn, Cinc, Zink, Zn(ii), Zn2+, Zincum, Blue powder', condition='Grey-to-blue powder')
License
The library is under the MIT license.
Read the LICENSE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chemica-1.0.0.tar.gz
(3.4 kB
view hashes)