Skip to main content
https://travis-ci.org/ginkgobioworks/pychemy.svg?branch=master

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

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

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.

Metadata

Release files for pychemy 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pychemy 0.5.0
File Size Uploaded
pychemy-0.5.0.tar.gz 601.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pychemy 0.5.0
File Interpreter ABI Platform
pychemy-0.5.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 1.2 MB

Release files / pychemy-0.5.0.tar.gz

Download URL pychemy-0.5.0.tar.gz
Size 601.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a49cae218d5442e88929cf784a6b4ceda7916d0fae502bc114c584ff3a65d000
BLAKE2b-256 checksum
How to use checksums
6d9852d0349b47efc08f5957c34abf8482b92d703e890e916272fb1efe6c4aff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

Release files / pychemy-0.5.0-py2.py3-none-any.whl

Download URL pychemy-0.5.0-py2.py3-none-any.whl
Size 638.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d5e17c7c85281026e093547f50de69274b2f9a42fd797823491b22099020ebb8
BLAKE2b-256 checksum
How to use checksums
a9f691486d01c5699080ce91e2a4b967cfc8a8b7702e0bd434610f6f0f79782f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page