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 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.8%

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.8

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-2025.6.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

rxnsmiles4atomeco-2025.6.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rxnsmiles4atomeco-2025.6.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for rxnsmiles4atomeco-2025.6.1.tar.gz
Algorithm Hash digest
SHA256 caa874343078b901b0a15ca8f380c058ac260595e00c0d8f7fba088f8e148e0f
MD5 ae21c4e320c40e796c20343dfddb93d4
BLAKE2b-256 894e4acf96a460c071fbe035d6e4b215c6645167581d942b864541d403fc95f9

See more details on using hashes here.

File details

Details for the file rxnsmiles4atomeco-2025.6.1-py3-none-any.whl.

File metadata

  • Download URL: rxnsmiles4atomeco-2025.6.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for rxnsmiles4atomeco-2025.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71756ba7990e0bb675288d215e062fdff30a8dd177222b3b25a5b7cdda1d0e8e
MD5 365c90b2c34cb1c54ef05438810e534e
BLAKE2b-256 661bc3f94175418c21c8c3e3d8d8c090b203ff2c4d4172a7f05bfb0d21af48fb

See more details on using hashes here.

Supported by

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