Share your repls and programming experiences

← Back to all posts
a crazy chemical dictionary
sgcoder1337

small chemical dictionary where you can search with the formula of your chemical, will add more if there are suggestions

Voters
CodeMaster007
OLIVERWEE
CodeStudent1337
NFadhlurrahman
sgcoder1337
Comments
hotnewtop
VulcanWM

One suggestion: maybe instead of using a dict for this and then updating it every time you have a new chemical to add, web scrap it from a website and just use their json

CodeStudent1337

@VulcanWM how do you do this?

CodeStudent1337

@VulcanWM just asking

sgcoder1337
sgcoder1337

@VulcanWM so I researched web scraping with python and was successful, but I couldn't find any websites with a list of enough chemical names and their formulas, so I'm sadly not going to do it.

VulcanWM
VulcanWM
VulcanWM

What about PubChem

365DaysOfCode

@VulcanWM oh yes
I was thinking of chemspider lol

VulcanWM