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 calculate_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 calculate_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
Close
Hashes for rxnsmiles4atomeco-1.2.1002.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ccb1d6dd61cf355a847ec7956bdf1ab104733a3d64256270fa1bac28601be78 |
|
MD5 | a813603ef1dd97dfa902f5cdf812cd2e |
|
BLAKE2b-256 | f9323cf510abb2bfffdc54b75354a95ac0e0c9aa189e883e5226a5f688c98477 |
Close
Hashes for rxnSMILES4AtomEco-1.2.1002-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 949a49a0684a4f59c8ec4dab970ae53c655f8155246f5cb033aa7991aa3bef2c |
|
MD5 | b7e2bc134589397d9d7f3ead01e48c29 |
|
BLAKE2b-256 | 90598236077b820f09c38047872361b76cfa5b0a4879b9aaad8f8b046e308c54 |