Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Helpers for handling chemical formulas in Python

Project description

Helpers for handling chemical formulas in Python. Mostly adopted from work of Christoph Gohlke. Added methods that are useful for mass spec data analysis.

Depends on Open Babel and its Python bindings for handling InChI strings.


Development requires Docker and Make on your host system. Everything else, including Open Babel, is taken care of inside the Docker containers.

Spin up your container using the provided docker-compose.yml file and Makefile by running make image. This creates an image with a correct git configuration for your user, which makes it easy to release. All of the commands you should need to run are defined the Makefile as targets. All of the targets except for image, are meant to be run inside the Docker container, but can be run from the host machine by having -ext appended to them. For example, to run tests, you could either call make test from a shell inside the container, or make test-ext from the host.

This project supports both Python 2 and Python 3. To test Python 3, make run the make test and make test-ext with the TOXENV environment set to py3, e.g.:

TOXENV=py3 ./make test-ext

All pull requests are run through the Travis CI process specified in .travis.yml and must pass all unit and doc tests in Python 2 and Python 3 before being accepted.


Deployment of tagged commits happens to PyPI automatically via Travis CI. To bump and deploy a new version directly, you must have access to write to the master branch. Run make bump/[foo]-ext, where [foo] is major, minor, or patch. Then git push origin --tags master. If you do not have access to the master branch, do the same thing, but in a separate branch, and make a pull request.

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pychemy-0.4.6-py2.py3-none-any.whl (639.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jun 6, 2017
pychemy-0.4.6.tar.gz (601.6 kB) Copy SHA256 hash SHA256 Source None Jun 6, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page