Skip to main content

Python tools for analysis of chemical compounds.

Project description

Python tools for analysis of chemical compounds.


Documentation Build Status Docs Check Status


Linux Test Status Windows Test Status macOS Test Status Coverage


PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel


Conda - Package Version Conda - Platform


GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads


CodeFactor Grade Flake8 Status mypy status


License GitHub top language Requirements Status


chemistry_tools can be installed from PyPI or Anaconda.

To install with pip:

$ python -m pip install chemistry_tools

To install with conda:

  • First add the required channels

$ conda config --add channels
$ conda config --add channels
  • Then install

$ conda install chemistry_tools

lookup and pubchem adapted from PubChemPy

Python interface to the PubChem REST API

Copyright 2017 Matt Swain <>

Available under the MIT License


Perform mass spectrum similarity calculations

Adapted from SpectrumSimilarity.R

Part of OrgMassSpecR

Copyright 2011-2017 Nathan Dodder <>

Available under the BSD 2-Clause License

elements and formulae

Provides properties for the elements in the periodic table, and functions for parsing formulae and calculating isotope distributions.

Calculations are based on the isotopic composition of the elements. Mass deficiency due to chemical bonding is not taken into account.

Examples of valid formulae are H2O, [2H]2O, CH3COOH, EtOH, CuSO4.5H2O, and (COOH)2. Formulae are case sensitive.

Based on ChemPy (

Copyright (c) 2015-2018, Björn Dahlgren

All rights reserved.

Also based on molmass (

Copyright (c) 1990-2020, Christoph Gohlke

All rights reserved.

Licensed under the BSD 3-Clause License

Also based on Pyteomics (

Copyright (c) 2011-2015, Anton Goloborodko & Lev Levitsky

Licensed under the Apache License

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

chemistry_tools-1.1.1.tar.gz (125.1 kB view hashes)

Uploaded Source

Built Distribution

chemistry_tools-1.1.1-py3-none-any.whl (208.2 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