Organic Chemsitry

orgachem.py module

So far, it only contains the FunctionalGroupExplorer class

API reference

class pyphyschemtools.orgachem.FunctionalGroupExplorer[source]

Bases: object

A comprehensive educational tool for organic chemistry within the pyphyschemtools suite.

This class provides an interactive interface for: - Exploring functional groups using SMARTS patterns. - Retrieving IUPAC nomenclature via PubChem API. - Visualizing molecules in 2D (with highlighting) and 3D. - Training via a Quiz system with fuzzy logic validation and survival mechanics.

T(key)[source]
afficher_quiz_nom()[source]
afficher_quiz_struct()[source]
check_nom(b)[source]
check_struct(b)[source]
detecter_delimiteur(fichier)[source]
fuzzy_match(user_input, expected)[source]

Retourne Vrai si la réponse est ressemblante à > 80%

get_lives_html()[source]
get_match_svg(smiles, query)[source]
mol_to_svg(mol, highlightAtoms=None, highlightBonds=None, size=(300, 200))[source]
next_nom(b=None)[source]
next_struct(b=None)[source]
on_lang_change(change)[source]
on_survival_change(change)[source]
run_3d(b)[source]
run_iupac(b)[source]
setup_ui()[source]
show_3d_mol(smiles)[source]
start_timer_thread(progress_bar, callback_timeout)[source]
timeout_struct()[source]
update_combobox_options()[source]

Mise à jour des options de la Combobox et du dictionnaire de correspondance

update_explorer(cat)[source]
update_labels()[source]