Useful functions to work with basic chemistry and stochiemetry
Project description
The Chemyst library
Note: As of now this library is in development
To install chemyst run pip install chemyst
Currently there are two functions available
P_total()
partial_pressure()
Function #1 finds the total pressure of a mixture of gases Function #2 finds the partial pressure of a single gas in a mixture of gases
Usage For P_total
# PVnRT stands for Pressure, Volume, Number of Moles, R is the ideal gas law constant, T is temperature
from chemyst.PVnRT import P_total
# Mixture of 3 gases lets say
total_pressure = P_total([9.987, 2.33, 123.9])
print(total_pressure)
# OUTPUT: 136.217
Usage For partial_pressure
from chemyst.PVnRT import partial_pressure
# Args: num_moles, ideal_gas_law, temp, volume, is_temp_kelvin=True
pressureO2 = partial_pressure(2, 'atm', 31, 15.0, False)
print(pressureO2)
# OUTPUT: 13.2
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for chemyst-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93153d0f0824ed254028fa1c5bf5db9fb66834a9053ff38badf6a0403d48eb9c |
|
MD5 | 7fbad36e66df1244c59ca046e784d7d2 |
|
BLAKE2b-256 | 91e7ba97ef36bdb05769298171e51e922ff1e28df798a2e6bcb0affdd429dd73 |