A Python package for handling chemical formulae for atoms, isotopes, molecules and isotopologues