Skip to main content

Mass

A python script to find the molecular mass in g/mol of a chemical equation

Example

$ calcmass C6H12O6
180.15588
$ calcmass Cr2O7
215.98800
$ calcmass C11H22
154.29238
$ calcmass Al2Si2O5[OH]4
258.16044

Setup

You can download using PyPi

Using pip:

$ pip install --user calcmass

For system wide download(Not Suggested):

$ sudo pip install calcmass

Or download the zip file at https://pypi.python.org/pypi/calcmass/1.5

Then run:

$ python setup.py install

If the calcmass command is not found add this to your .bashrc or .bash_profile

MacOs:

export PATH=$PATH:$HOME/Library/Python/2.7/bin

Linux:

export PATH=$PATH:$HOME/.local/bin

License

Mass is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for calcmass 2.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 calcmass 2.0
File Size Uploaded
calcmass-2.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for calcmass 2.0
File Interpreter ABI Platform
calcmass-2.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / calcmass-2.0.tar.gz

Download URL calcmass-2.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4896f7459699389c1b42bea3f6f1e555d552ac635755ec338f67820dc033ee23
BLAKE2b-256 checksum
How to use checksums
7a92614ae2950ce33f562446a4f8b80b9e7a401e3c7b6a76ee1ffd5de624660f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

Release files / calcmass-2.0-py3-none-any.whl

Download URL calcmass-2.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d99b4078a17f0ffd724d00bfbffa3917c6cf849f90fd20aa10a05cbd644c1f1
BLAKE2b-256 checksum
How to use checksums
c00b2e3365f297c5da0ef2a5cfd14922109efc48782f58ca68ef8d9361be105c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

Release history Release notifications | RSS feed

This release

2.0 This release

2 release files

1.5

1 release file

1.0

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