MoleditPy-linux 3.3.0__tar.gz → 3.3.1__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 (78) hide show
  1. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/PKG-INFO +20 -2
  2. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/README.md +19 -1
  3. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/pyproject.toml +1 -1
  4. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/MoleditPy_linux.egg-info/PKG-INFO +20 -2
  5. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/__init__.py +2 -0
  6. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/view_3d_logic.py +1 -1
  7. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/utils/constants.py +31 -1
  8. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/LICENSE +0 -0
  9. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/setup.cfg +0 -0
  10. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/MoleditPy_linux.egg-info/SOURCES.txt +0 -0
  11. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/MoleditPy_linux.egg-info/dependency_links.txt +0 -0
  12. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/MoleditPy_linux.egg-info/entry_points.txt +0 -0
  13. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/MoleditPy_linux.egg-info/requires.txt +0 -0
  14. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/MoleditPy_linux.egg-info/top_level.txt +0 -0
  15. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/__main__.py +0 -0
  16. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/assets/file_icon.ico +0 -0
  17. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/assets/icon.icns +0 -0
  18. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/assets/icon.ico +0 -0
  19. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/assets/icon.png +0 -0
  20. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/core/__init__.py +0 -0
  21. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/core/mol_geometry.py +0 -0
  22. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/core/molecular_data.py +0 -0
  23. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/main.py +0 -0
  24. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/plugins/__init__.py +0 -0
  25. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/plugins/plugin_interface.py +0 -0
  26. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/plugins/plugin_manager.py +0 -0
  27. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/plugins/plugin_manager_window.py +0 -0
  28. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/__init__.py +0 -0
  29. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/about_dialog.py +0 -0
  30. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/align_plane_dialog.py +0 -0
  31. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/alignment_dialog.py +0 -0
  32. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/analysis_window.py +0 -0
  33. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/angle_dialog.py +0 -0
  34. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/app_state.py +0 -0
  35. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/atom_item.py +0 -0
  36. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/atom_picking.py +0 -0
  37. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/base_picking_dialog.py +0 -0
  38. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/bond_item.py +0 -0
  39. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/bond_length_dialog.py +0 -0
  40. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/calculation_worker.py +0 -0
  41. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/color_settings_dialog.py +0 -0
  42. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/compute_logic.py +0 -0
  43. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/constrained_optimization_dialog.py +0 -0
  44. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/custom_interactor_style.py +0 -0
  45. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/custom_qt_interactor.py +0 -0
  46. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/dialog_3d_picking_mixin.py +0 -0
  47. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/dialog_logic.py +0 -0
  48. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/dihedral_dialog.py +0 -0
  49. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/edit_3d_logic.py +0 -0
  50. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/edit_actions_logic.py +0 -0
  51. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/export_logic.py +0 -0
  52. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/geometry_base_dialog.py +0 -0
  53. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/io_logic.py +0 -0
  54. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/main_window.py +0 -0
  55. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/main_window_init.py +0 -0
  56. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/mirror_dialog.py +0 -0
  57. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/molecular_scene_handler.py +0 -0
  58. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/molecule_scene.py +0 -0
  59. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/move_group_dialog.py +0 -0
  60. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/periodic_table_dialog.py +0 -0
  61. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/planarize_dialog.py +0 -0
  62. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/settings_dialog.py +0 -0
  63. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/settings_tabs/__init__.py +0 -0
  64. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/settings_tabs/settings_2d_tab.py +0 -0
  65. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/settings_tabs/settings_3d_tabs.py +0 -0
  66. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/settings_tabs/settings_other_tab.py +0 -0
  67. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/settings_tabs/settings_tab_base.py +0 -0
  68. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/string_importers.py +0 -0
  69. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/template_preview_item.py +0 -0
  70. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/template_preview_view.py +0 -0
  71. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/translation_dialog.py +0 -0
  72. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/ui_manager.py +0 -0
  73. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/user_template_dialog.py +0 -0
  74. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/ui/zoomable_view.py +0 -0
  75. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/utils/__init__.py +0 -0
  76. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/utils/default_settings.py +0 -0
  77. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/utils/sip_isdeleted_safe.py +0 -0
  78. {moleditpy_linux-3.3.0 → moleditpy_linux-3.3.1}/src/moleditpy_linux/utils/system_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MoleditPy-linux
3
- Version: 3.3.0
3
+ Version: 3.3.1
4
4
  Summary: A cross-platform, simple, and intuitive molecular structure editor built in Python. It allows 2D molecular drawing and 3D structure visualization. It supports exporting structure files for input to DFT calculation software.
5
5
  Author-email: HiroYokoyama <titech.yoko.hiro@gmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -712,8 +712,10 @@ Dynamic: license-file
712
712
  ![Core Logic Coverage](https://img.shields.io/badge/core_logic_coverage->80%25-green)
713
713
  ![Overall Coverage](https://img.shields.io/badge/coverage->75%25-green)
714
714
  ![GUI Status](https://img.shields.io/badge/GUI-Manually_Verified-blue)
715
- ![Pylint Score](https://img.shields.io/badge/pylint-9%2F10-brightgreen)
715
+ ![Pylint Score](https://img.shields.io/badge/pylint->9%2F10-brightgreen)
716
716
  [![PyPI Downloads](https://static.pepy.tech/personalized-badge/moleditpy?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/moleditpy)
717
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/moleditpy?period=monthly&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=monthly+downloads)](https://pepy.tech/projects/moleditpy)
718
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/HiroYokoyama/python_molecular_editor)
717
719
 
718
720
  [🇯🇵 日本語 (Japanese)](#japanese)
719
721
 
@@ -839,6 +841,14 @@ moleditpy
839
841
 
840
842
  This project is licensed under the **GNU General Public License v3.0 (GPL-v3)**. See the `LICENSE` file for details.
841
843
 
844
+ ## Citation
845
+
846
+ If you use this software in your work, please cite it as follows:
847
+
848
+ ```
849
+ Yokoyama, H. (2026). MoleditPy — A Python-based molecular editing software. Zenodo. https://doi.org/10.5281/zenodo.17268532
850
+ ```
851
+
842
852
  -----
843
853
 
844
854
  <div id="japanese"></div>
@@ -962,3 +972,11 @@ moleditpy
962
972
  ## ライセンス
963
973
 
964
974
  このプロジェクトは **GNU General Public License v3.0 (GPL-v3)** のもとで公開されています。詳細は `LICENSE` ファイルを参照してください。
975
+
976
+ ## 引用
977
+
978
+ 本ソフトウェアを研究で使用される場合は、以下の通り引用を明記してください。
979
+
980
+ ```
981
+ Yokoyama, H. (2026). MoleditPy — A Python-based molecular editing software. Zenodo. https://doi.org/10.5281/zenodo.17268532
982
+ ```
@@ -9,8 +9,10 @@
9
9
  ![Core Logic Coverage](https://img.shields.io/badge/core_logic_coverage->80%25-green)
10
10
  ![Overall Coverage](https://img.shields.io/badge/coverage->75%25-green)
11
11
  ![GUI Status](https://img.shields.io/badge/GUI-Manually_Verified-blue)
12
- ![Pylint Score](https://img.shields.io/badge/pylint-9%2F10-brightgreen)
12
+ ![Pylint Score](https://img.shields.io/badge/pylint->9%2F10-brightgreen)
13
13
  [![PyPI Downloads](https://static.pepy.tech/personalized-badge/moleditpy?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/moleditpy)
14
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/moleditpy?period=monthly&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=monthly+downloads)](https://pepy.tech/projects/moleditpy)
15
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/HiroYokoyama/python_molecular_editor)
14
16
 
15
17
  [🇯🇵 日本語 (Japanese)](#japanese)
16
18
 
@@ -136,6 +138,14 @@ moleditpy
136
138
 
137
139
  This project is licensed under the **GNU General Public License v3.0 (GPL-v3)**. See the `LICENSE` file for details.
138
140
 
141
+ ## Citation
142
+
143
+ If you use this software in your work, please cite it as follows:
144
+
145
+ ```
146
+ Yokoyama, H. (2026). MoleditPy — A Python-based molecular editing software. Zenodo. https://doi.org/10.5281/zenodo.17268532
147
+ ```
148
+
139
149
  -----
140
150
 
141
151
  <div id="japanese"></div>
@@ -259,3 +269,11 @@ moleditpy
259
269
  ## ライセンス
260
270
 
261
271
  このプロジェクトは **GNU General Public License v3.0 (GPL-v3)** のもとで公開されています。詳細は `LICENSE` ファイルを参照してください。
272
+
273
+ ## 引用
274
+
275
+ 本ソフトウェアを研究で使用される場合は、以下の通り引用を明記してください。
276
+
277
+ ```
278
+ Yokoyama, H. (2026). MoleditPy — A Python-based molecular editing software. Zenodo. https://doi.org/10.5281/zenodo.17268532
279
+ ```
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "MoleditPy-linux"
7
7
 
8
- version = "3.3.0"
8
+ version = "3.3.1"
9
9
 
10
10
  license = {file = "LICENSE"}
11
11
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MoleditPy-linux
3
- Version: 3.3.0
3
+ Version: 3.3.1
4
4
  Summary: A cross-platform, simple, and intuitive molecular structure editor built in Python. It allows 2D molecular drawing and 3D structure visualization. It supports exporting structure files for input to DFT calculation software.
5
5
  Author-email: HiroYokoyama <titech.yoko.hiro@gmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -712,8 +712,10 @@ Dynamic: license-file
712
712
  ![Core Logic Coverage](https://img.shields.io/badge/core_logic_coverage->80%25-green)
713
713
  ![Overall Coverage](https://img.shields.io/badge/coverage->75%25-green)
714
714
  ![GUI Status](https://img.shields.io/badge/GUI-Manually_Verified-blue)
715
- ![Pylint Score](https://img.shields.io/badge/pylint-9%2F10-brightgreen)
715
+ ![Pylint Score](https://img.shields.io/badge/pylint->9%2F10-brightgreen)
716
716
  [![PyPI Downloads](https://static.pepy.tech/personalized-badge/moleditpy?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/moleditpy)
717
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/moleditpy?period=monthly&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=monthly+downloads)](https://pepy.tech/projects/moleditpy)
718
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/HiroYokoyama/python_molecular_editor)
717
719
 
718
720
  [🇯🇵 日本語 (Japanese)](#japanese)
719
721
 
@@ -839,6 +841,14 @@ moleditpy
839
841
 
840
842
  This project is licensed under the **GNU General Public License v3.0 (GPL-v3)**. See the `LICENSE` file for details.
841
843
 
844
+ ## Citation
845
+
846
+ If you use this software in your work, please cite it as follows:
847
+
848
+ ```
849
+ Yokoyama, H. (2026). MoleditPy — A Python-based molecular editing software. Zenodo. https://doi.org/10.5281/zenodo.17268532
850
+ ```
851
+
842
852
  -----
843
853
 
844
854
  <div id="japanese"></div>
@@ -962,3 +972,11 @@ moleditpy
962
972
  ## ライセンス
963
973
 
964
974
  このプロジェクトは **GNU General Public License v3.0 (GPL-v3)** のもとで公開されています。詳細は `LICENSE` ファイルを参照してください。
975
+
976
+ ## 引用
977
+
978
+ 本ソフトウェアを研究で使用される場合は、以下の通り引用を明記してください。
979
+
980
+ ```
981
+ Yokoyama, H. (2026). MoleditPy — A Python-based molecular editing software. Zenodo. https://doi.org/10.5281/zenodo.17268532
982
+ ```
@@ -18,3 +18,5 @@ try:
18
18
  OBABEL_AVAILABLE = False
19
19
  except ImportError:
20
20
  OBABEL_AVAILABLE = False
21
+
22
+ from .utils.constants import VERSION as __version__
@@ -1632,7 +1632,7 @@ class View3DManager:
1632
1632
 
1633
1633
  # Color definitions (dark blue/green/red)
1634
1634
  rdkit_color = "#003366" # Dark blue
1635
- id_color = "#006400" # Dark green
1635
+ id_color = "#009000" # Green
1636
1636
  xyz_color = "#8B0000" # Dark red
1637
1637
  other_color = "black"
1638
1638
 
@@ -12,11 +12,41 @@ DOI: 10.5281/zenodo.17268532
12
12
 
13
13
  # --- Constants ---
14
14
 
15
+ import os
15
16
  from PyQt6.QtGui import QColor, QFont
16
17
  from rdkit import Chem
17
18
 
19
+
20
+ def _get_version():
21
+ try:
22
+ from importlib.metadata import version, PackageNotFoundError
23
+
24
+ try:
25
+ return version("MoleditPy-linux")
26
+ except PackageNotFoundError:
27
+ pass
28
+ except ImportError:
29
+ pass
30
+
31
+ try:
32
+ # Fallback: Parse pyproject.toml directly
33
+ current_dir = os.path.abspath(os.path.dirname(__file__))
34
+ for _ in range(5):
35
+ pyproject_path = os.path.join(current_dir, "pyproject.toml")
36
+ if os.path.exists(pyproject_path):
37
+ with open(pyproject_path, "r", encoding="utf-8") as f:
38
+ for line in f:
39
+ if line.strip().startswith("version ="):
40
+ return line.split("=")[1].strip().strip('"').strip("'")
41
+ current_dir = os.path.dirname(current_dir)
42
+ except Exception:
43
+ pass
44
+
45
+ return "Unknown"
46
+
47
+
18
48
  # Version
19
- VERSION = "3.3.0"
49
+ VERSION = _get_version()
20
50
 
21
51
  ATOM_RADIUS = 18
22
52
  BOND_OFFSET = 3.5
File without changes