Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rxnsmiles4atomeco-1.2.1001.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

rxnSMILES4AtomEco-1.2.1001-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file rxnsmiles4atomeco-1.2.1001.tar.gz.

File metadata

  • Download URL: rxnsmiles4atomeco-1.2.1001.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for rxnsmiles4atomeco-1.2.1001.tar.gz
Algorithm Hash digest
SHA256 25e5111ee5de4cf95def3edc653b948105e5721e2252992ac5a8dca95a80c5ce
MD5 c0ea9491d69495104535cd842ea0d3de
BLAKE2b-256 b45a3b9ca16c93b8b9ceac951b650a215358d9419a15ded23c3e5c5a9371f2a5

See more details on using hashes here.

File details

Details for the file rxnSMILES4AtomEco-1.2.1001-py3-none-any.whl.

File metadata

File hashes

Hashes for rxnSMILES4AtomEco-1.2.1001-py3-none-any.whl
Algorithm Hash digest
SHA256 7dc010a9d94ff847a9a2acdfc29548203d9e57dfd840036ccd9e03f648352a87
MD5 85740797555a854ea8ed3dce71974f41
BLAKE2b-256 42cbd4dd9c3ef72213f0cede67daf8e23f4079566ba1aa38c8f65175ebbde767

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page