pyparserchemicalformula
A simple library to parse chemical string formula.
Documentation
The full documentation is at https://pyparserchemicalformula.readthedocs.io.
Quickstart
Install pyparserchemicalformula:
pip install pyparserchemicalformula
To run test:
make test
That use tox to run test.
Usage example:
from pyparserchemicalformula.parser import parse_molecule
parse_molecule('H2O')
Return a dict with the result of the formula.
Features
- Parse a chemical formula string