Calculate atom economy for chemical reactions using reaction SMILES
Project description
rxnSMILES4AtomEco:
This package provides functions to calculate the atom economy of chemical reactions using reaction SMILES. It utilizes the RDKit library to handle molecular structures and properties.
Features:
- Calculation of atom economy for reactions
- Handling of multiple reactions in a single calculation
- Support for different types of reaction SMILES
- Programmatic output of atom economy numerical value: verbose- and numberic output.
Usage:
To use the package, simply import the relevant functions and provide reaction SMILES as input.
Example verbose output:
from rxnSMILES4AtomEco import atom_economy
reactions_smiles = "C.O>catalyst>{3}[HH]"
atom_economy(reactions_smiles)
Atom Economy Calculation:
--------------------------------------------------
REACTANTS
..................................................
SMILES: C
Molecular Formula: CH4
Molecular Weight: 16.04 g/mol
Coefficient: 1.0
..................................................
SMILES: O
Molecular Formula: H2O
Molecular Weight: 18.02 g/mol
Coefficient: 1.0
--------------------------------------------------
--------------------------------------------------
PRODUCTS
..................................................
SMILES: [HH]
Molecular Formula: H2
Molecular Weight: 2.02 g/mol
Coefficient: 3.0
--------------------------------------------------
Atom Economy: 17.76%
Example Numeric Output:
from rxnSMILES4AtomEco import get_atom_economy
reactions_smiles = "C.O>catalyst>{3}[HH]"
value = get_atom_economy(reactions_smiles)
print(value)
17.76
More info...
For more information, please refer to the documentation at https://pypi.org/project/rxnSMILES4AtomEco/
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
File details
Details for the file rxnsmiles4atomeco-1.2.1003.tar.gz
.
File metadata
- Download URL: rxnsmiles4atomeco-1.2.1003.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54a8dcb015c49336ae93be5b6b295490584ff743a0d1d744f4a9fbe58ffb2ea5 |
|
MD5 | 32d52e7d0c5a153481391c3fe2a4cb87 |
|
BLAKE2b-256 | 6c5c17c8cea8ad04b2743c98958ec8548b8833c4ab088633dc522741301de64b |
File details
Details for the file rxnSMILES4AtomEco-1.2.1003-py3-none-any.whl
.
File metadata
- Download URL: rxnSMILES4AtomEco-1.2.1003-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d00897eec39a10f4f17f31167e5f154dc4814d406e404545305e5621db1523ed |
|
MD5 | 6d10df67f516c7d6fd6d9efd80a70849 |
|
BLAKE2b-256 | 588dd77a22e959d6386c5a0f85c6aef7a9c9815977c005ac7c839913610d171c |