Skip to main content

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


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.1.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

chemica-1.1.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page