molforge-studio 7.4.3__tar.gz → 8.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. molforge_studio-8.2.0/LICENSE +202 -0
  2. molforge_studio-8.2.0/PKG-INFO +70 -0
  3. molforge_studio-8.2.0/README.md +40 -0
  4. molforge_studio-8.2.0/molforge_studio.egg-info/PKG-INFO +70 -0
  5. molforge_studio-8.2.0/molforge_studio.egg-info/SOURCES.txt +10 -0
  6. molforge_studio-8.2.0/molforge_studio.egg-info/entry_points.txt +3 -0
  7. molforge_studio-8.2.0/molforge_studio.egg-info/top_level.txt +1 -0
  8. molforge_studio-8.2.0/molforge_studio_cli/__init__.py +21 -0
  9. molforge_studio-8.2.0/molforge_studio_cli/cli.py +182 -0
  10. {molforge_studio-7.4.3 → molforge_studio-8.2.0}/pyproject.toml +17 -37
  11. molforge_studio-7.4.3/LICENSE +0 -93
  12. molforge_studio-7.4.3/MANIFEST.in +0 -7
  13. molforge_studio-7.4.3/PKG-INFO +0 -215
  14. molforge_studio-7.4.3/README.md +0 -174
  15. molforge_studio-7.4.3/main.py +0 -71
  16. molforge_studio-7.4.3/molforge/__init__.py +0 -19
  17. molforge_studio-7.4.3/molforge/ai/__init__.py +0 -15
  18. molforge_studio-7.4.3/molforge/ai/deepseek_harness.py +0 -185
  19. molforge_studio-7.4.3/molforge/ai/mcp/desktop_client.py +0 -38
  20. molforge_studio-7.4.3/molforge/ai/mcp/desktop_service.py +0 -121
  21. molforge_studio-7.4.3/molforge/ai/mcp/mcp_server.py +0 -780
  22. molforge_studio-7.4.3/molforge/ai/mcp_bridge.py +0 -945
  23. molforge_studio-7.4.3/molforge/ai/observation.py +0 -152
  24. molforge_studio-7.4.3/molforge/ai/tools.py +0 -455
  25. molforge_studio-7.4.3/molforge/application/__init__.py +0 -22
  26. molforge_studio-7.4.3/molforge/application/ai/__init__.py +0 -1
  27. molforge_studio-7.4.3/molforge/application/ai/deepseek_client.py +0 -293
  28. molforge_studio-7.4.3/molforge/application/ai/observation.py +0 -161
  29. molforge_studio-7.4.3/molforge/application/ai/tools.py +0 -200
  30. molforge_studio-7.4.3/molforge/application/ai_proposals.py +0 -166
  31. molforge_studio-7.4.3/molforge/application/bio_selection.py +0 -143
  32. molforge_studio-7.4.3/molforge/application/builtin_commands.py +0 -1445
  33. molforge_studio-7.4.3/molforge/application/calculators/__init__.py +0 -10
  34. molforge_studio-7.4.3/molforge/application/calculators/base.py +0 -143
  35. molforge_studio-7.4.3/molforge/application/calculators/calchem_engine.py +0 -67
  36. molforge_studio-7.4.3/molforge/application/calculators/calchem_subprocess_worker.py +0 -109
  37. molforge_studio-7.4.3/molforge/application/calculators/gaussian_engine.py +0 -59
  38. molforge_studio-7.4.3/molforge/application/calculators/gaussian_job_spec.py +0 -240
  39. molforge_studio-7.4.3/molforge/application/calculators/orca_engine.py +0 -92
  40. molforge_studio-7.4.3/molforge/application/calculators/qc_input_generator.py +0 -300
  41. molforge_studio-7.4.3/molforge/application/calculators/registry.py +0 -29
  42. molforge_studio-7.4.3/molforge/application/calculators/rest_engine.py +0 -262
  43. molforge_studio-7.4.3/molforge/application/command_bus.py +0 -139
  44. molforge_studio-7.4.3/molforge/application/commands.py +0 -55
  45. molforge_studio-7.4.3/molforge/application/conformers.py +0 -143
  46. molforge_studio-7.4.3/molforge/application/document_session.py +0 -156
  47. molforge_studio-7.4.3/molforge/application/events.py +0 -74
  48. molforge_studio-7.4.3/molforge/application/fragment_catalog.py +0 -422
  49. molforge_studio-7.4.3/molforge/application/fragment_commands.py +0 -268
  50. molforge_studio-7.4.3/molforge/application/geometry_commands.py +0 -84
  51. molforge_studio-7.4.3/molforge/application/history.py +0 -105
  52. molforge_studio-7.4.3/molforge/application/internal_coordinates.py +0 -293
  53. molforge_studio-7.4.3/molforge/application/invalidation.py +0 -1174
  54. molforge_studio-7.4.3/molforge/application/jobs.py +0 -185
  55. molforge_studio-7.4.3/molforge/application/measurement.py +0 -167
  56. molforge_studio-7.4.3/molforge/application/measurement_targets.py +0 -264
  57. molforge_studio-7.4.3/molforge/application/modeling_commands.py +0 -61
  58. molforge_studio-7.4.3/molforge/application/plugins.py +0 -197
  59. molforge_studio-7.4.3/molforge/application/ports/editor2d.py +0 -85
  60. molforge_studio-7.4.3/molforge/application/reaction.py +0 -75
  61. molforge_studio-7.4.3/molforge/application/selection.py +0 -164
  62. molforge_studio-7.4.3/molforge/application/selection_commands.py +0 -31
  63. molforge_studio-7.4.3/molforge/application/trajectory.py +0 -120
  64. molforge_studio-7.4.3/molforge/application/trajectory_analysis.py +0 -231
  65. molforge_studio-7.4.3/molforge/application/workspace_registry.py +0 -226
  66. molforge_studio-7.4.3/molforge/core/__init__.py +0 -12
  67. molforge_studio-7.4.3/molforge/core/conformer.py +0 -45
  68. molforge_studio-7.4.3/molforge/core/molecule.py +0 -150
  69. molforge_studio-7.4.3/molforge/core/orbital.py +0 -33
  70. molforge_studio-7.4.3/molforge/core/properties.py +0 -43
  71. molforge_studio-7.4.3/molforge/domain/__init__.py +0 -12
  72. molforge_studio-7.4.3/molforge/domain/biomolecule.py +0 -99
  73. molforge_studio-7.4.3/molforge/domain/chemical_summary.py +0 -129
  74. molforge_studio-7.4.3/molforge/domain/chemistry.py +0 -13
  75. molforge_studio-7.4.3/molforge/domain/coordinate_store.py +0 -164
  76. molforge_studio-7.4.3/molforge/domain/coordination.py +0 -133
  77. molforge_studio-7.4.3/molforge/domain/custom_fragments.py +0 -255
  78. molforge_studio-7.4.3/molforge/domain/document.py +0 -469
  79. molforge_studio-7.4.3/molforge/domain/element_reference.json +0 -598
  80. molforge_studio-7.4.3/molforge/domain/elements.py +0 -188
  81. molforge_studio-7.4.3/molforge/domain/ids.py +0 -58
  82. molforge_studio-7.4.3/molforge/domain/massive_system.py +0 -246
  83. molforge_studio-7.4.3/molforge/domain/periodic.py +0 -116
  84. molforge_studio-7.4.3/molforge/domain/provenance.py +0 -115
  85. molforge_studio-7.4.3/molforge/domain/topology.py +0 -364
  86. molforge_studio-7.4.3/molforge/infrastructure/__init__.py +0 -23
  87. molforge_studio-7.4.3/molforge/infrastructure/hpc/cluster_config.py +0 -122
  88. molforge_studio-7.4.3/molforge/infrastructure/hpc/remote_executor.py +0 -212
  89. molforge_studio-7.4.3/molforge/infrastructure/hpc/slurm_generator.py +0 -93
  90. molforge_studio-7.4.3/molforge/io/__init__.py +0 -35
  91. molforge_studio-7.4.3/molforge/io/calchem_bridge.py +0 -407
  92. molforge_studio-7.4.3/molforge/io/calculators.py +0 -893
  93. molforge_studio-7.4.3/molforge/io/cclib_adapter.py +0 -422
  94. molforge_studio-7.4.3/molforge/io/conformers.py +0 -183
  95. molforge_studio-7.4.3/molforge/io/cube_reader.py +0 -215
  96. molforge_studio-7.4.3/molforge/io/custom_fragments.py +0 -79
  97. molforge_studio-7.4.3/molforge/io/format_matrix.py +0 -157
  98. molforge_studio-7.4.3/molforge/io/gemmi_adapter.py +0 -150
  99. molforge_studio-7.4.3/molforge/io/history_skill.py +0 -46
  100. molforge_studio-7.4.3/molforge/io/mdanalysis_adapter.py +0 -155
  101. molforge_studio-7.4.3/molforge/io/mforge_storage.py +0 -261
  102. molforge_studio-7.4.3/molforge/io/multiwfn_driver.py +0 -614
  103. molforge_studio-7.4.3/molforge/io/openbabel_adapter.py +0 -265
  104. molforge_studio-7.4.3/molforge/io/openbabel_handler.py +0 -33
  105. molforge_studio-7.4.3/molforge/io/rdkit_adapter.py +0 -1865
  106. molforge_studio-7.4.3/molforge/io/readers/__init__.py +0 -10
  107. molforge_studio-7.4.3/molforge/io/readers/cube_reader.py +0 -71
  108. molforge_studio-7.4.3/molforge/io/readers/gjf_reader.py +0 -110
  109. molforge_studio-7.4.3/molforge/io/readers/glog_reader.py +0 -45
  110. molforge_studio-7.4.3/molforge/io/readers/mol2_reader.py +0 -36
  111. molforge_studio-7.4.3/molforge/io/readers/mol_reader.py +0 -56
  112. molforge_studio-7.4.3/molforge/io/readers/pdb_reader.py +0 -39
  113. molforge_studio-7.4.3/molforge/io/readers/smi_reader.py +0 -40
  114. molforge_studio-7.4.3/molforge/io/readers/xyz_reader.py +0 -47
  115. molforge_studio-7.4.3/molforge/io/registry.py +0 -128
  116. molforge_studio-7.4.3/molforge/io/writers/__init__.py +0 -7
  117. molforge_studio-7.4.3/molforge/io/writers/gjf_writer.py +0 -68
  118. molforge_studio-7.4.3/molforge/io/writers/pdb_writer.py +0 -37
  119. molforge_studio-7.4.3/molforge/io/writers/png_writer.py +0 -31
  120. molforge_studio-7.4.3/molforge/io/writers/svg_writer.py +0 -111
  121. molforge_studio-7.4.3/molforge/io/writers/xyz_writer.py +0 -39
  122. molforge_studio-7.4.3/molforge/rendering/__init__.py +0 -21
  123. molforge_studio-7.4.3/molforge/rendering/benchmark.py +0 -121
  124. molforge_studio-7.4.3/molforge/rendering/bridge.py +0 -60
  125. molforge_studio-7.4.3/molforge/rendering/contracts.py +0 -119
  126. molforge_studio-7.4.3/molforge/rendering/glyph_scene.py +0 -279
  127. molforge_studio-7.4.3/molforge/rendering/ketcher_bridge.py +0 -131
  128. molforge_studio-7.4.3/molforge/rendering/ketcher_id_mapping.py +0 -110
  129. molforge_studio-7.4.3/molforge/rendering/materials.py +0 -127
  130. molforge_studio-7.4.3/molforge/rendering/molstar_backend.py +0 -245
  131. molforge_studio-7.4.3/molforge/rendering/native_labels.py +0 -134
  132. molforge_studio-7.4.3/molforge/rendering/orbitals.py +0 -139
  133. molforge_studio-7.4.3/molforge/rendering/vtk_backend.py +0 -2294
  134. molforge_studio-7.4.3/molforge/runtime.py +0 -29
  135. molforge_studio-7.4.3/molforge/server/__init__.py +0 -1
  136. molforge_studio-7.4.3/molforge/server/api_bridge.py +0 -947
  137. molforge_studio-7.4.3/molforge/ui/__init__.py +0 -1
  138. molforge_studio-7.4.3/molforge/ui/assets/caffeine_2d.svg +0 -150
  139. molforge_studio-7.4.3/molforge/ui/assets/caffeine_3d_preview.svg +0 -209
  140. molforge_studio-7.4.3/molforge/ui/assets/caffeine_preview.json +0 -302
  141. molforge_studio-7.4.3/molforge/ui/assets/icons/atom.svg +0 -1
  142. molforge_studio-7.4.3/molforge/ui/assets/icons/bond.svg +0 -1
  143. molforge_studio-7.4.3/molforge/ui/assets/icons/cleanup.svg +0 -1
  144. molforge_studio-7.4.3/molforge/ui/assets/icons/export.svg +0 -1
  145. molforge_studio-7.4.3/molforge/ui/assets/icons/fragments.svg +0 -1
  146. molforge_studio-7.4.3/molforge/ui/assets/icons/history.svg +0 -1
  147. molforge_studio-7.4.3/molforge/ui/assets/icons/jobs.svg +0 -1
  148. molforge_studio-7.4.3/molforge/ui/assets/icons/measure.svg +0 -1
  149. molforge_studio-7.4.3/molforge/ui/assets/icons/molecules.svg +0 -1
  150. molforge_studio-7.4.3/molforge/ui/assets/icons/overview.svg +0 -1
  151. molforge_studio-7.4.3/molforge/ui/assets/icons/ring.svg +0 -1
  152. molforge_studio-7.4.3/molforge/ui/assets/icons/search.svg +0 -1
  153. molforge_studio-7.4.3/molforge/ui/assets/icons/select.svg +0 -1
  154. molforge_studio-7.4.3/molforge/ui/assets/icons/settings.svg +0 -1
  155. molforge_studio-7.4.3/molforge/ui/assets/icons/templates.svg +0 -1
  156. molforge_studio-7.4.3/molforge/ui/assets/molforge_logo.ico +0 -0
  157. molforge_studio-7.4.3/molforge/ui/assets/molforge_logo.png +0 -0
  158. molforge_studio-7.4.3/molforge/ui/atom_labels.py +0 -92
  159. molforge_studio-7.4.3/molforge/ui/bio_structure_dialog.py +0 -57
  160. molforge_studio-7.4.3/molforge/ui/conformer_dialog.py +0 -151
  161. molforge_studio-7.4.3/molforge/ui/dialogs/__init__.py +0 -2
  162. molforge_studio-7.4.3/molforge/ui/dialogs/aim_qtaim_dialog.py +0 -533
  163. molforge_studio-7.4.3/molforge/ui/dialogs/calchem_orbitals_dialog.py +0 -287
  164. molforge_studio-7.4.3/molforge/ui/dialogs/element_fragments.py +0 -130
  165. molforge_studio-7.4.3/molforge/ui/dialogs/gaussian_calculation_setup.py +0 -308
  166. molforge_studio-7.4.3/molforge/ui/dialogs/hpc_job_dialog.py +0 -427
  167. molforge_studio-7.4.3/molforge/ui/dialogs/vibrational_spectrum_dialog.py +0 -381
  168. molforge_studio-7.4.3/molforge/ui/editor2d_widget.py +0 -1803
  169. molforge_studio-7.4.3/molforge/ui/element_picker.py +0 -218
  170. molforge_studio-7.4.3/molforge/ui/gmv_window_manager.py +0 -65
  171. molforge_studio-7.4.3/molforge/ui/gromacs_job_dialog.py +0 -47
  172. molforge_studio-7.4.3/molforge/ui/hotkeys.py +0 -107
  173. molforge_studio-7.4.3/molforge/ui/i18n.py +0 -237
  174. molforge_studio-7.4.3/molforge/ui/live_llm_dialog.py +0 -135
  175. molforge_studio-7.4.3/molforge/ui/llm_config_dialog.py +0 -103
  176. molforge_studio-7.4.3/molforge/ui/modeling_actions.py +0 -176
  177. molforge_studio-7.4.3/molforge/ui/molstar_widget.py +0 -98
  178. molforge_studio-7.4.3/molforge/ui/molstar_window.py +0 -85
  179. molforge_studio-7.4.3/molforge/ui/panels.py +0 -2966
  180. molforge_studio-7.4.3/molforge/ui/qc_result_dialog.py +0 -1924
  181. molforge_studio-7.4.3/molforge/ui/render3d_widget.py +0 -1579
  182. molforge_studio-7.4.3/molforge/ui/scrolling.py +0 -52
  183. molforge_studio-7.4.3/molforge/ui/settings_panel.py +0 -330
  184. molforge_studio-7.4.3/molforge/ui/shells/__init__.py +0 -4
  185. molforge_studio-7.4.3/molforge/ui/shells/base_shell.py +0 -72
  186. molforge_studio-7.4.3/molforge/ui/shells/document_tabs.py +0 -715
  187. molforge_studio-7.4.3/molforge/ui/shells/studio_2d.py +0 -339
  188. molforge_studio-7.4.3/molforge/ui/shells/studio_3d.py +0 -401
  189. molforge_studio-7.4.3/molforge/ui/shells/studio_split.py +0 -370
  190. molforge_studio-7.4.3/molforge/ui/shells/workflow_inputs.py +0 -698
  191. molforge_studio-7.4.3/molforge/ui/theme.py +0 -719
  192. molforge_studio-7.4.3/molforge/ui/trajectory_window.py +0 -333
  193. molforge_studio-7.4.3/molforge/ui/views.py +0 -892
  194. molforge_studio-7.4.3/molforge/ui/vtk_multiview_widget.py +0 -141
  195. molforge_studio-7.4.3/molforge/ui/welcome_window.py +0 -223
  196. molforge_studio-7.4.3/molforge/ui/window.py +0 -3320
  197. molforge_studio-7.4.3/molforge/workflows/__init__.py +0 -25
  198. molforge_studio-7.4.3/molforge/workflows/assets/OSC_MD_workflows/templates/01-MD/delete_solvent.py +0 -216
  199. molforge_studio-7.4.3/molforge/workflows/assets/OSC_MD_workflows/templates/02-RDF/extract_atoms.py +0 -60
  200. molforge_studio-7.4.3/molforge/workflows/assets/OSC_MD_workflows/templates/02-RDF/extract_atoms_example.py +0 -22
  201. molforge_studio-7.4.3/molforge/workflows/assets/OSC_MD_workflows/templates/03-/321/205/320/260/320/226/321/207/320/267/320/277/321/205/320/227/320/260/321/204/342/225/234/320/245/analysis_mol.py +0 -244
  202. molforge_studio-7.4.3/molforge/workflows/assets/OSC_MD_workflows/templates/04-/321/204/342/225/221/320/234/321/207/342/225/227/342/224/244/321/205/320/277/320/226/321/205/342/225/221/320/266/rms_roughness.py +0 -33
  203. molforge_studio-7.4.3/molforge/workflows/assets/OSC_MD_workflows/templates/04-/321/204/342/225/221/320/234/321/207/342/225/227/342/224/244/321/205/320/277/320/226/321/205/342/225/221/320/266/xpm_2.py +0 -117
  204. molforge_studio-7.4.3/molforge/workflows/assets/OSC_MD_workflows/templates/09-/321/211/320/220/320/257/321/207/320/236/320/227/marcus_rate.py +0 -60
  205. molforge_studio-7.4.3/molforge/workflows/assets/esp-surface-analysis/scripts/compute_descriptors.py +0 -134
  206. molforge_studio-7.4.3/molforge/workflows/assets/esp-surface-analysis/scripts/parse_surfanalysis.py +0 -58
  207. molforge_studio-7.4.3/molforge/workflows/assets/esp-surface-analysis/scripts/plot_esp_hist.py +0 -115
  208. molforge_studio-7.4.3/molforge/workflows/assets/homo-lumo-plot/extract_orb_energy.py +0 -57
  209. molforge_studio-7.4.3/molforge/workflows/assets/homo-lumo-plot/make_level_plot.py +0 -76
  210. molforge_studio-7.4.3/molforge/workflows/assets/homo-lumo-plot/run_pipeline.py +0 -84
  211. molforge_studio-7.4.3/molforge/workflows/assets/osc-energy-level-diagram/scripts/extract_levels.py +0 -60
  212. molforge_studio-7.4.3/molforge/workflows/assets/osc-energy-level-diagram/scripts/make_editable_pptx.py +0 -122
  213. molforge_studio-7.4.3/molforge/workflows/assets/osc-energy-level-diagram/scripts/make_energy_table.py +0 -66
  214. molforge_studio-7.4.3/molforge/workflows/assets/osc-energy-level-diagram/scripts/make_level_lines_diagram.py +0 -148
  215. molforge_studio-7.4.3/molforge/workflows/assets/osc-energy-level-diagram/scripts/make_rectangle_diagram.py +0 -148
  216. molforge_studio-7.4.3/molforge/workflows/assets/osc-energy-level-diagram/scripts/verify_from_log.py +0 -45
  217. molforge_studio-7.4.3/molforge/workflows/dipole_analysis.py +0 -32
  218. molforge_studio-7.4.3/molforge/workflows/esp_surface.py +0 -36
  219. molforge_studio-7.4.3/molforge/workflows/gromacs_submit.py +0 -167
  220. molforge_studio-7.4.3/molforge/workflows/homo_lumo_plot.py +0 -59
  221. molforge_studio-7.4.3/molforge/workflows/igmh_interaction.py +0 -111
  222. molforge_studio-7.4.3/molforge/workflows/md_rdf_analysis.py +0 -134
  223. molforge_studio-7.4.3/molforge/workflows/md_studio.py +0 -255
  224. molforge_studio-7.4.3/molforge/workflows/osc_energy_diagram.py +0 -24
  225. molforge_studio-7.4.3/molforge/workflows/planarity_analysis.py +0 -66
  226. molforge_studio-7.4.3/molforge/workflows/reorganization_energy.py +0 -166
  227. molforge_studio-7.4.3/molforge/workflows/scientific_workflows.py +0 -650
  228. molforge_studio-7.4.3/molforge_studio.egg-info/PKG-INFO +0 -215
  229. molforge_studio-7.4.3/molforge_studio.egg-info/SOURCES.txt +0 -225
  230. molforge_studio-7.4.3/molforge_studio.egg-info/entry_points.txt +0 -3
  231. molforge_studio-7.4.3/molforge_studio.egg-info/requires.txt +0 -15
  232. molforge_studio-7.4.3/molforge_studio.egg-info/top_level.txt +0 -2
  233. molforge_studio-7.4.3/requirements.txt +0 -6
  234. molforge_studio-7.4.3/setup.py +0 -9
  235. {molforge_studio-7.4.3 → molforge_studio-8.2.0}/molforge_studio.egg-info/dependency_links.txt +0 -0
  236. {molforge_studio-7.4.3 → molforge_studio-8.2.0}/setup.cfg +0 -0
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 MolForge Team (yangdw2024)
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,70 @@
1
+ Metadata-Version: 2.4
2
+ Name: molforge-studio
3
+ Version: 8.2.0
4
+ Summary: MolForge Studio 8.2.0 CLI launcher and HTTP SDK for lightweight 2D/3D molecular structure prep and local engine orchestration
5
+ Author-email: "MolForge Team (yangdw2024)" <yangdw2021@gmail.com>
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/yangdw2024/MolForge
8
+ Project-URL: Repository, https://github.com/yangdw2024/MolForge.git
9
+ Project-URL: Releases, https://github.com/yangdw2024/MolForge/releases
10
+ Project-URL: Issues, https://github.com/yangdw2024/MolForge/issues
11
+ Keywords: molforge,chemistry,molecular-editor,quantum-chemistry,calchem,multiwfn,webgpu,computational-chemistry
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Operating System :: Microsoft :: Windows
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Operating System :: MacOS
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Topic :: Scientific/Engineering :: Chemistry
24
+ Classifier: Topic :: Scientific/Engineering :: Physics
25
+ Classifier: Topic :: Scientific/Engineering :: Visualization
26
+ Requires-Python: >=3.10
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Dynamic: license-file
30
+
31
+ # MolForge Studio (`molforge-studio` 8.2.0)
32
+
33
+ Lightweight Python launcher, binary fetcher, and local HTTP core helper for **MolForge Studio 8.2.0** — a lightweight molecular workbench for 2D/3D structure prep, inspection & local engine orchestration.
34
+
35
+ ## Installation
36
+
37
+ ```bash
38
+ pip install -U molforge-studio
39
+ ```
40
+
41
+ ## CLI Usage
42
+
43
+ ```bash
44
+ # Show detected MolForge Studio / molforge-server binaries and local server status
45
+ molforge --status
46
+
47
+ # Launch MolForge Studio desktop workstation (if installed locally)
48
+ molforge
49
+
50
+ # Launch headless Rust HTTP core server (:18765)
51
+ molforge --server
52
+
53
+ # Download official v8.1.0 Windows portable/installer assets from GitHub Releases
54
+ molforge --download
55
+ ```
56
+
57
+ ## Python API
58
+
59
+ ```python
60
+ from molforge_studio_cli import find_studio_binary, find_server_binary, server_health
61
+
62
+ print("Studio:", find_studio_binary())
63
+ print("Server:", find_server_binary())
64
+ print("Health:", server_health())
65
+ ```
66
+
67
+ ## Links
68
+
69
+ - GitHub Repository & Releases: https://github.com/yangdw2024/MolForge/releases/tag/v8.2.0
70
+ - npm CLI Wrapper: https://www.npmjs.com/package/@yangdw2024/molforge
@@ -0,0 +1,40 @@
1
+ # MolForge Studio (`molforge-studio` 8.2.0)
2
+
3
+ Lightweight Python launcher, binary fetcher, and local HTTP core helper for **MolForge Studio 8.2.0** — a lightweight molecular workbench for 2D/3D structure prep, inspection & local engine orchestration.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install -U molforge-studio
9
+ ```
10
+
11
+ ## CLI Usage
12
+
13
+ ```bash
14
+ # Show detected MolForge Studio / molforge-server binaries and local server status
15
+ molforge --status
16
+
17
+ # Launch MolForge Studio desktop workstation (if installed locally)
18
+ molforge
19
+
20
+ # Launch headless Rust HTTP core server (:18765)
21
+ molforge --server
22
+
23
+ # Download official v8.1.0 Windows portable/installer assets from GitHub Releases
24
+ molforge --download
25
+ ```
26
+
27
+ ## Python API
28
+
29
+ ```python
30
+ from molforge_studio_cli import find_studio_binary, find_server_binary, server_health
31
+
32
+ print("Studio:", find_studio_binary())
33
+ print("Server:", find_server_binary())
34
+ print("Health:", server_health())
35
+ ```
36
+
37
+ ## Links
38
+
39
+ - GitHub Repository & Releases: https://github.com/yangdw2024/MolForge/releases/tag/v8.2.0
40
+ - npm CLI Wrapper: https://www.npmjs.com/package/@yangdw2024/molforge
@@ -0,0 +1,70 @@
1
+ Metadata-Version: 2.4
2
+ Name: molforge-studio
3
+ Version: 8.2.0
4
+ Summary: MolForge Studio 8.2.0 CLI launcher and HTTP SDK for lightweight 2D/3D molecular structure prep and local engine orchestration
5
+ Author-email: "MolForge Team (yangdw2024)" <yangdw2021@gmail.com>
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/yangdw2024/MolForge
8
+ Project-URL: Repository, https://github.com/yangdw2024/MolForge.git
9
+ Project-URL: Releases, https://github.com/yangdw2024/MolForge/releases
10
+ Project-URL: Issues, https://github.com/yangdw2024/MolForge/issues
11
+ Keywords: molforge,chemistry,molecular-editor,quantum-chemistry,calchem,multiwfn,webgpu,computational-chemistry
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Operating System :: Microsoft :: Windows
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Operating System :: MacOS
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Topic :: Scientific/Engineering :: Chemistry
24
+ Classifier: Topic :: Scientific/Engineering :: Physics
25
+ Classifier: Topic :: Scientific/Engineering :: Visualization
26
+ Requires-Python: >=3.10
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Dynamic: license-file
30
+
31
+ # MolForge Studio (`molforge-studio` 8.2.0)
32
+
33
+ Lightweight Python launcher, binary fetcher, and local HTTP core helper for **MolForge Studio 8.2.0** — a lightweight molecular workbench for 2D/3D structure prep, inspection & local engine orchestration.
34
+
35
+ ## Installation
36
+
37
+ ```bash
38
+ pip install -U molforge-studio
39
+ ```
40
+
41
+ ## CLI Usage
42
+
43
+ ```bash
44
+ # Show detected MolForge Studio / molforge-server binaries and local server status
45
+ molforge --status
46
+
47
+ # Launch MolForge Studio desktop workstation (if installed locally)
48
+ molforge
49
+
50
+ # Launch headless Rust HTTP core server (:18765)
51
+ molforge --server
52
+
53
+ # Download official v8.1.0 Windows portable/installer assets from GitHub Releases
54
+ molforge --download
55
+ ```
56
+
57
+ ## Python API
58
+
59
+ ```python
60
+ from molforge_studio_cli import find_studio_binary, find_server_binary, server_health
61
+
62
+ print("Studio:", find_studio_binary())
63
+ print("Server:", find_server_binary())
64
+ print("Health:", server_health())
65
+ ```
66
+
67
+ ## Links
68
+
69
+ - GitHub Repository & Releases: https://github.com/yangdw2024/MolForge/releases/tag/v8.2.0
70
+ - npm CLI Wrapper: https://www.npmjs.com/package/@yangdw2024/molforge
@@ -0,0 +1,10 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ molforge_studio.egg-info/PKG-INFO
5
+ molforge_studio.egg-info/SOURCES.txt
6
+ molforge_studio.egg-info/dependency_links.txt
7
+ molforge_studio.egg-info/entry_points.txt
8
+ molforge_studio.egg-info/top_level.txt
9
+ molforge_studio_cli/__init__.py
10
+ molforge_studio_cli/cli.py
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ molforge = molforge_studio_cli.cli:main
3
+ molforge-studio = molforge_studio_cli.cli:main
@@ -0,0 +1 @@
1
+ molforge_studio_cli
@@ -0,0 +1,21 @@
1
+ """MolForge Studio 8.1.0 Python launcher and HTTP core SDK."""
2
+
3
+ from .cli import (
4
+ GITHUB_REPO,
5
+ RELEASE_TAG,
6
+ __version__,
7
+ download_release_asset,
8
+ find_server_binary,
9
+ find_studio_binary,
10
+ server_health,
11
+ )
12
+
13
+ __all__ = [
14
+ "GITHUB_REPO",
15
+ "RELEASE_TAG",
16
+ "__version__",
17
+ "download_release_asset",
18
+ "find_server_binary",
19
+ "find_studio_binary",
20
+ "server_health",
21
+ ]
@@ -0,0 +1,182 @@
1
+ """CLI launcher and local HTTP core probe for MolForge Studio 8.1.0."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import json
7
+ import os
8
+ import shutil
9
+ import subprocess
10
+ import sys
11
+ import urllib.error
12
+ import urllib.request
13
+ from pathlib import Path
14
+ from typing import Any
15
+
16
+ __version__ = "8.2.0"
17
+ GITHUB_REPO = "yangdw2024/MolForge"
18
+ RELEASE_TAG = f"v{__version__}"
19
+ DEFAULT_SERVER_URL = "http://127.0.0.1:18765"
20
+
21
+
22
+ def _is_exec(path: Path | None) -> str | None:
23
+ if path and path.is_file():
24
+ return str(path.resolve())
25
+ return None
26
+
27
+
28
+ def find_studio_binary() -> str | None:
29
+ """Locate MolForge Studio desktop executable on this machine."""
30
+ explicit = os.environ.get("MOLFORGE_STUDIO_BIN", "").strip()
31
+ if explicit:
32
+ return _is_exec(Path(explicit))
33
+
34
+ exe_name = "MolForge Studio.exe" if os.name == "nt" else "molforge-studio"
35
+ candidates: list[Path] = []
36
+ if os.name == "nt":
37
+ local_app = Path(os.environ.get("LOCALAPPDATA", Path.home() / "AppData/Local"))
38
+ candidates.extend(
39
+ [
40
+ local_app / "Programs" / "MolForge Studio" / exe_name,
41
+ local_app / "MolForge" / "bin" / f"MolForge-Studio-{__version__}-win-x64-portable.exe",
42
+ ]
43
+ )
44
+ cwd = Path.cwd()
45
+ candidates.extend(
46
+ [
47
+ cwd / "desktop" / "release" / "win-unpacked" / exe_name,
48
+ cwd / "release" / "win-unpacked" / exe_name,
49
+ ]
50
+ )
51
+ for cand in candidates:
52
+ found = _is_exec(cand)
53
+ if found:
54
+ return found
55
+
56
+ in_path = shutil.which(exe_name)
57
+ return in_path
58
+
59
+
60
+ def find_server_binary() -> str | None:
61
+ """Locate native Rust molforge-server binary on this machine."""
62
+ explicit = os.environ.get("MOLFORGE_SERVER_BIN", "").strip()
63
+ if explicit:
64
+ return _is_exec(Path(explicit))
65
+
66
+ exe_name = "molforge-server.exe" if os.name == "nt" else "molforge-server"
67
+ cwd = Path.cwd()
68
+ candidates = [
69
+ cwd / "desktop" / "resources" / "core" / exe_name,
70
+ cwd / "molforge-core" / "target" / "release" / exe_name,
71
+ cwd / "target" / "release" / exe_name,
72
+ ]
73
+ if os.name == "nt":
74
+ local_app = Path(os.environ.get("LOCALAPPDATA", Path.home() / "AppData/Local"))
75
+ candidates.extend(
76
+ [
77
+ local_app / "Programs" / "MolForge Studio" / "resources" / "core" / exe_name,
78
+ local_app / "MolForge" / "bin" / exe_name,
79
+ ]
80
+ )
81
+ for cand in candidates:
82
+ found = _is_exec(cand)
83
+ if found:
84
+ return found
85
+
86
+ return shutil.which(exe_name)
87
+
88
+
89
+ def server_health(base_url: str = DEFAULT_SERVER_URL, timeout: float = 2.0) -> dict[str, Any] | None:
90
+ """Query `/api/health` on a running molforge-server instance."""
91
+ url = base_url.rstrip("/") + "/api/health"
92
+ req = urllib.request.Request(url, headers={"User-Agent": f"molforge-studio/{__version__}"})
93
+ try:
94
+ with urllib.request.urlopen(req, timeout=timeout) as resp:
95
+ return json.loads(resp.read().decode("utf-8"))
96
+ except Exception:
97
+ return None
98
+
99
+
100
+ def download_release_asset(
101
+ dest_dir: Path | None = None,
102
+ asset_name: str = f"MolForge-Studio-{__version__}-win-x64-portable.exe",
103
+ ) -> Path:
104
+ """Download an official release asset from GitHub Releases."""
105
+ target_dir = dest_dir or (Path.home() / "AppData" / "Local" / "MolForge" / "bin")
106
+ target_dir.mkdir(parents=True, exist_ok=True)
107
+ out_path = target_dir / asset_name
108
+ url = f"https://github.com/{GITHUB_REPO}/releases/download/{RELEASE_TAG}/{asset_name}"
109
+ print(f"Downloading {url} -> {out_path} ...")
110
+ req = urllib.request.Request(url, headers={"User-Agent": f"molforge-studio/{__version__}"})
111
+ with urllib.request.urlopen(req, timeout=120) as resp, out_path.open("wb") as fh:
112
+ shutil.copyfileobj(resp, fh)
113
+ return out_path
114
+
115
+
116
+ def main(argv: list[str] | None = None) -> int:
117
+ parser = argparse.ArgumentParser(
118
+ prog="molforge",
119
+ description=f"MolForge Studio {__version__} launcher & HTTP core helper",
120
+ )
121
+ parser.add_argument("--version", action="store_true", help="Print version and exit")
122
+ parser.add_argument("--status", action="store_true", help="Show detected binaries and server health")
123
+ parser.add_argument("--server", action="store_true", help="Launch native Rust molforge-server")
124
+ parser.add_argument("--download", action="store_true", help="Download official Windows portable binary from GitHub Releases")
125
+ parser.add_argument("--port", type=int, default=18765, help="Server port (when using --server)")
126
+ args, extra = parser.parse_known_args(argv)
127
+
128
+ if args.version:
129
+ print(f"molforge-studio {__version__}")
130
+ return 0
131
+
132
+ if args.status:
133
+ studio = find_studio_binary()
134
+ server = find_server_binary()
135
+ health = server_health(f"http://127.0.0.1:{args.port}")
136
+ print(json.dumps({
137
+ "version": __version__,
138
+ "studio_bin": studio,
139
+ "server_bin": server,
140
+ "server_health": health,
141
+ "releases": f"https://github.com/{GITHUB_REPO}/releases/tag/{RELEASE_TAG}",
142
+ }, indent=2, ensure_ascii=False))
143
+ return 0
144
+
145
+ if args.download:
146
+ try:
147
+ saved = download_release_asset()
148
+ print(f"Saved: {saved}")
149
+ return 0
150
+ except urllib.error.URLError as exc:
151
+ print(f"Download failed: {exc}", file=sys.stderr)
152
+ return 1
153
+
154
+ if args.server:
155
+ srv = find_server_binary()
156
+ if not srv:
157
+ print(
158
+ f"molforge-server binary not found. Set MOLFORGE_SERVER_BIN or download from:\n"
159
+ f" https://github.com/{GITHUB_REPO}/releases/tag/{RELEASE_TAG}",
160
+ file=sys.stderr,
161
+ )
162
+ return 1
163
+ env = dict(os.environ)
164
+ env.setdefault("MOLFORGE_PORT", str(args.port))
165
+ return subprocess.call([srv, *extra], env=env)
166
+
167
+ studio = find_studio_binary()
168
+ if studio:
169
+ return subprocess.call([studio, *extra])
170
+
171
+ print(
172
+ f"MolForge Studio desktop binary was not found locally.\n"
173
+ f"Download v{__version__} installer or portable app from:\n"
174
+ f" https://github.com/{GITHUB_REPO}/releases/tag/{RELEASE_TAG}\n"
175
+ f"Or run `molforge --download` on Windows.",
176
+ file=sys.stderr,
177
+ )
178
+ return 1
179
+
180
+
181
+ if __name__ == "__main__":
182
+ raise SystemExit(main())