A script to calculate the molecular mass of a chemical compound in g/mol with its chemical formula
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file calcmass-2.0.tar.gz.
File metadata
- Download URL: calcmass-2.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4896f7459699389c1b42bea3f6f1e555d552ac635755ec338f67820dc033ee23
|
|
| MD5 |
8616470430d45f2a182ee2cd1a92264a
|
|
| BLAKE2b-256 |
7a92614ae2950ce33f562446a4f8b80b9e7a401e3c7b6a76ee1ffd5de624660f
|
File details
Details for the file calcmass-2.0-py3-none-any.whl.
File metadata
- Download URL: calcmass-2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d99b4078a17f0ffd724d00bfbffa3917c6cf849f90fd20aa10a05cbd644c1f1
|
|
| MD5 |
8a2988a427003b19a2ffbbdc48f172e3
|
|
| BLAKE2b-256 |
c00b2e3365f297c5da0ef2a5cfd14922109efc48782f58ca68ef8d9361be105c
|