backend code of the Chem_aware app

Please make sure that you have installed the following libraries before running the code:

  • re
  • requests
  • json
  • pubchempy
  • smptlib
  • ssl

How to get information for different chemical compounds: change the value of variable cid

Runtime: it takes at most 1 second to get, parse and store the data of any chemical compound.