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 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 chemyst-1.1.0.tar.gz.
File metadata
- Download URL: chemyst-1.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
606fb7ac6a2a2dbd414a0cf71cdc250827eb5e13b2075e670eb87dda9578ea3e
|
|
| MD5 |
7c7fa29c02aa229bd89971ee51eebbb7
|
|
| BLAKE2b-256 |
fc8da66310f5a10c84fd31ecfc269e1e0bd93abc190e6d46070db00a60f69f5d
|
File details
Details for the file chemyst-1.1.0-py3-none-any.whl.
File metadata
- Download URL: chemyst-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
924fcdd5a01a8e89bceb84c2abac32bce68f6f434611db63a53f162125175db3
|
|
| MD5 |
6fe840451f3cf0a61a9ca2ca623366e8
|
|
| BLAKE2b-256 |
a22b129b21911eb5686659b8598e69eeab21cf83b318db40dbde2d76391ef269
|