<jupyter_start><jupyter_text><jupyter_code>!python3 -m pip install chempy[all]
!python3 -m pytest -rs -W ignore::chempy.ChemPyDeprecationWarning --pyargs chempy
from chempy import Substance
ferricyanide = Substance.from_formula('Fe(CN)6-3')
ferricyanide.composition == {0: -3, 26: 1, 6: 6, 7: 6}  # 0 for charge
print(ferricyanide.unicode_name)
print(ferricyanide.latex_name + ", " + ferricyanide.html_name)
print('%.3f' % ferricyanide.mass)<jupyter_output><empty_output><jupyter_text>$$Fe(CN)_{6}^{3-}$$Fe(CN)63-<jupyter_code><jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15978456014362658, 'fraction_numerical': 0.03411131059245961, 'mean_word_length': 7.857142857142857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '455818', 'license': 'MIT', 'n_tokens_mistral': 248, 'n_tokens_neox': 231, 'n_words': 36, 'path': '20210922_1.ipynb', 'repo_name': 'anxouvigo/chemeng', 'size': '557'}