chemql-python 1.6.7__tar.gz → 1.6.9__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 (46) hide show
  1. {chemql_python-1.6.7 → chemql_python-1.6.9}/PKG-INFO +58 -3
  2. {chemql_python-1.6.7 → chemql_python-1.6.9}/README.md +57 -2
  3. {chemql_python-1.6.7 → chemql_python-1.6.9}/pyproject.toml +3 -1
  4. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/__init__.py +1 -1
  5. chemql_python-1.6.9/src/chemql/codecql_gui_core.py +870 -0
  6. chemql_python-1.6.9/src/chemql/codecqlx.py +1541 -0
  7. chemql_python-1.6.9/src/chemql/logo64.png +0 -0
  8. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql_python.egg-info/PKG-INFO +58 -3
  9. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql_python.egg-info/SOURCES.txt +3 -0
  10. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql_python.egg-info/entry_points.txt +1 -0
  11. {chemql_python-1.6.7 → chemql_python-1.6.9}/LICENSE +0 -0
  12. {chemql_python-1.6.7 → chemql_python-1.6.9}/setup.cfg +0 -0
  13. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/__main__.py +0 -0
  14. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/build.py +0 -0
  15. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/codecql.py +0 -0
  16. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/colors.json +0 -0
  17. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/data/BondEnergies.json +0 -0
  18. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/data/MoleculeBonds.json +0 -0
  19. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/data/Molecules.json +0 -0
  20. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/data/PeriodicTableJSON.json +0 -0
  21. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/data/Reactions.json +0 -0
  22. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/data/THIRD_PARTY_LICENSES/PeriodicTableJSON.txt +0 -0
  23. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/data/THIRD_PARTY_LICENSES/RHEA.txt +0 -0
  24. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/highlighting.json +0 -0
  25. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/highlighting.py +0 -0
  26. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/html/periodic_table.html +0 -0
  27. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/README.md +0 -0
  28. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/collections.cql +0 -0
  29. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/datetime.cql +0 -0
  30. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/decimal.cql +0 -0
  31. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/fractions.cql +0 -0
  32. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/json.cql +0 -0
  33. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/math/statistics.cql +0 -0
  34. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/math.cql +0 -0
  35. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/pathlib.cql +0 -0
  36. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/random.cql +0 -0
  37. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql/stdlib/text.cql +0 -0
  38. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql_python.egg-info/dependency_links.txt +0 -0
  39. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql_python.egg-info/requires.txt +0 -0
  40. {chemql_python-1.6.7 → chemql_python-1.6.9}/src/chemql_python.egg-info/top_level.txt +0 -0
  41. {chemql_python-1.6.7 → chemql_python-1.6.9}/tests/test_codecql.py +0 -0
  42. {chemql_python-1.6.7 → chemql_python-1.6.9}/tests/test_external_molecule_lookup.py +0 -0
  43. {chemql_python-1.6.7 → chemql_python-1.6.9}/tests/test_public_api.py +0 -0
  44. {chemql_python-1.6.7 → chemql_python-1.6.9}/tests/test_reactions.py +0 -0
  45. {chemql_python-1.6.7 → chemql_python-1.6.9}/tests/test_stdlib.py +0 -0
  46. {chemql_python-1.6.7 → chemql_python-1.6.9}/tests/test_structured_types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chemql-python
3
- Version: 1.6.7
3
+ Version: 1.6.9
4
4
  Summary: A chemistry-focused query language and REPL
5
5
  Author-email: Mohammad Rakibul Islam <rakibulofficial1017@gmail.com>
6
6
  Requires-Python: >=3.10
@@ -16,12 +16,13 @@ Dynamic: license-file
16
16
 
17
17
  > A Python-embedded query language and terminal toolchain for chemistry data — with a purpose-built editor, package manager, and standard library.
18
18
 
19
- ChemQL is a small language for querying, computing with, and simulating chemistry data (elements, molecules, reactions), layered on a Python runtime. It ships with an interactive REPL, a terminal editor (CodecQL), a type system (structs, records, enums), namespaces, modules, a macro/preprocessor system, a package manager, and a standard library.
19
+ ChemQL is a small language for querying, computing with, and simulating chemistry data (elements, molecules, reactions), layered on a Python runtime. It ships with an interactive REPL, a terminal editor (CodecQL), a desktop editor (CodecQLX), a type system (structs, records, enums), namespaces, modules, a macro/preprocessor system, a package manager, and a standard library.
20
20
 
21
21
  - **Distribution name:** `chemql-python`
22
22
  - **Import / CLI name:** `chemql`
23
- - **Language version:** `1.6.7` (per `chemql.__version__`)
23
+ - **Language version:** `1.6.9` (per `chemql.__version__`)
24
24
  - **Editor version:** `codecql 0.1.1`
25
+ - **GUI Editor version:** `CodecQLX 1.0.0`
25
26
  - **Python import / CLI name:** `chemql`
26
27
  - **Author:** Mohammad Rakibul Islam
27
28
  - **Minimum Python:** **3.12+** (verified with `vermin`)
@@ -819,6 +820,60 @@ Each entry needs an `ansi256` number from 0 to 255, and an optional `channel` of
819
820
  - Tabs are drawn four columns wide.
820
821
  - CodecQL's Windows Backspace / Ctrl+Backspace are intentionally inverted relative to POSIX.
821
822
 
823
+ ## CodecQLX — the desktop editor
824
+
825
+ **CodecQLX** is the Tkinter desktop editor for ChemQL. It complements the
826
+ terminal-based CodecQL with a multi-file workspace, graphical diagnostics,
827
+ ChemQL-aware tools, and configurable themes.
828
+
829
+ ### Starting CodecQLX
830
+
831
+ ```bash
832
+ codecqlx FILE_OR_FOLDER ...
833
+ python -m chemql.codecqlx FILE_OR_FOLDER ...
834
+ codecqlx --version
835
+ ```
836
+
837
+ Paths are optional. A new empty file is opened when no path is supplied;
838
+ files and folders passed on the command line are opened in the editor. The
839
+ `codecqlx` command is installed with `chemql-python`.
840
+
841
+ CodecQLX uses Python's standard-library Tkinter GUI toolkit. On Linux, install
842
+ the platform Tk package if it is not already available (for example,
843
+ `python3-tk` on Debian/Ubuntu). The optional ChemQL panels are disabled when
844
+ the `chemql` package cannot be imported.
845
+
846
+ ### Features
847
+
848
+ - Syntax highlighting and context-aware autocomplete for `.cql` files
849
+ - Hoverable diagnostics, gutter markers, a Problems panel, and an overview ruler
850
+ - File tree sidebar with multiple editor tabs
851
+ - Query Console that executes ChemQL in-process and displays table or card results
852
+ - Interactive Periodic Table lookup
853
+ - Balance Equation panel
854
+ - Find and replace, bookmarks, zoom controls, and run-file/run-selection actions
855
+ - Dark and light themes, font settings, autocomplete/minimap toggles, and
856
+ per-token color preferences
857
+
858
+ Use **View** to toggle the file tree, Chemistry panel, and bottom panels.
859
+ CodecQLX stores its preferences in `.codecql_gui/settings.json` under the
860
+ user profile (`%APPDATA%` on Windows).
861
+
862
+ ### Keyboard shortcuts
863
+
864
+ | Key | Action |
865
+ |---|---|
866
+ | `Ctrl+N` / `Ctrl+O` | New file / open file |
867
+ | `Ctrl+Shift+O` | Open folder |
868
+ | `Ctrl+S` / `Ctrl+Shift+S` | Save / save as |
869
+ | `Ctrl+W` | Close tab |
870
+ | `Ctrl+F` | Find and replace |
871
+ | `Ctrl+R` / `Ctrl+Shift+R` | Run file / run selection |
872
+ | `Tab` / `Enter` | Accept the selected autocomplete suggestion |
873
+ | `Up` / `Down` / `Esc` | Navigate or dismiss autocomplete |
874
+ | `Ctrl+F2` / `F2` / `Shift+F2` | Toggle / next / previous bookmark |
875
+ | `Ctrl+=` / `Ctrl+-` / `Ctrl+0` | Zoom in / out / reset |
876
+
822
877
  ---
823
878
 
824
879
  ## Standard library
@@ -2,12 +2,13 @@
2
2
 
3
3
  > A Python-embedded query language and terminal toolchain for chemistry data — with a purpose-built editor, package manager, and standard library.
4
4
 
5
- ChemQL is a small language for querying, computing with, and simulating chemistry data (elements, molecules, reactions), layered on a Python runtime. It ships with an interactive REPL, a terminal editor (CodecQL), a type system (structs, records, enums), namespaces, modules, a macro/preprocessor system, a package manager, and a standard library.
5
+ ChemQL is a small language for querying, computing with, and simulating chemistry data (elements, molecules, reactions), layered on a Python runtime. It ships with an interactive REPL, a terminal editor (CodecQL), a desktop editor (CodecQLX), a type system (structs, records, enums), namespaces, modules, a macro/preprocessor system, a package manager, and a standard library.
6
6
 
7
7
  - **Distribution name:** `chemql-python`
8
8
  - **Import / CLI name:** `chemql`
9
- - **Language version:** `1.6.7` (per `chemql.__version__`)
9
+ - **Language version:** `1.6.9` (per `chemql.__version__`)
10
10
  - **Editor version:** `codecql 0.1.1`
11
+ - **GUI Editor version:** `CodecQLX 1.0.0`
11
12
  - **Python import / CLI name:** `chemql`
12
13
  - **Author:** Mohammad Rakibul Islam
13
14
  - **Minimum Python:** **3.12+** (verified with `vermin`)
@@ -805,6 +806,60 @@ Each entry needs an `ansi256` number from 0 to 255, and an optional `channel` of
805
806
  - Tabs are drawn four columns wide.
806
807
  - CodecQL's Windows Backspace / Ctrl+Backspace are intentionally inverted relative to POSIX.
807
808
 
809
+ ## CodecQLX — the desktop editor
810
+
811
+ **CodecQLX** is the Tkinter desktop editor for ChemQL. It complements the
812
+ terminal-based CodecQL with a multi-file workspace, graphical diagnostics,
813
+ ChemQL-aware tools, and configurable themes.
814
+
815
+ ### Starting CodecQLX
816
+
817
+ ```bash
818
+ codecqlx FILE_OR_FOLDER ...
819
+ python -m chemql.codecqlx FILE_OR_FOLDER ...
820
+ codecqlx --version
821
+ ```
822
+
823
+ Paths are optional. A new empty file is opened when no path is supplied;
824
+ files and folders passed on the command line are opened in the editor. The
825
+ `codecqlx` command is installed with `chemql-python`.
826
+
827
+ CodecQLX uses Python's standard-library Tkinter GUI toolkit. On Linux, install
828
+ the platform Tk package if it is not already available (for example,
829
+ `python3-tk` on Debian/Ubuntu). The optional ChemQL panels are disabled when
830
+ the `chemql` package cannot be imported.
831
+
832
+ ### Features
833
+
834
+ - Syntax highlighting and context-aware autocomplete for `.cql` files
835
+ - Hoverable diagnostics, gutter markers, a Problems panel, and an overview ruler
836
+ - File tree sidebar with multiple editor tabs
837
+ - Query Console that executes ChemQL in-process and displays table or card results
838
+ - Interactive Periodic Table lookup
839
+ - Balance Equation panel
840
+ - Find and replace, bookmarks, zoom controls, and run-file/run-selection actions
841
+ - Dark and light themes, font settings, autocomplete/minimap toggles, and
842
+ per-token color preferences
843
+
844
+ Use **View** to toggle the file tree, Chemistry panel, and bottom panels.
845
+ CodecQLX stores its preferences in `.codecql_gui/settings.json` under the
846
+ user profile (`%APPDATA%` on Windows).
847
+
848
+ ### Keyboard shortcuts
849
+
850
+ | Key | Action |
851
+ |---|---|
852
+ | `Ctrl+N` / `Ctrl+O` | New file / open file |
853
+ | `Ctrl+Shift+O` | Open folder |
854
+ | `Ctrl+S` / `Ctrl+Shift+S` | Save / save as |
855
+ | `Ctrl+W` | Close tab |
856
+ | `Ctrl+F` | Find and replace |
857
+ | `Ctrl+R` / `Ctrl+Shift+R` | Run file / run selection |
858
+ | `Tab` / `Enter` | Accept the selected autocomplete suggestion |
859
+ | `Up` / `Down` / `Esc` | Navigate or dismiss autocomplete |
860
+ | `Ctrl+F2` / `F2` / `Shift+F2` | Toggle / next / previous bookmark |
861
+ | `Ctrl+=` / `Ctrl+-` / `Ctrl+0` | Zoom in / out / reset |
862
+
808
863
  ---
809
864
 
810
865
  ## Standard library
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "chemql-python"
7
- version = "1.6.7"
7
+ version = "1.6.9"
8
8
  authors = [
9
9
  { name = "Mohammad Rakibul Islam", email = "rakibulofficial1017@gmail.com" }
10
10
  ]
@@ -22,6 +22,7 @@ test = ["pytest>=8.0"]
22
22
  [project.scripts]
23
23
  chemql = "chemql:main"
24
24
  codecql = "chemql.codecql:main"
25
+ codecqlx = "chemql.codecqlx:main"
25
26
 
26
27
  [tool.setuptools]
27
28
  package-dir = {"" = "src"}
@@ -32,6 +33,7 @@ where = ["src"]
32
33
  [tool.setuptools.package-data]
33
34
  chemql = [
34
35
  "colors.json",
36
+ "logo64.png",
35
37
  "highlighting.json",
36
38
  "data/*.json",
37
39
  "data/THIRD_PARTY_LICENSES/*.txt",
@@ -69,7 +69,7 @@ __all__ = [
69
69
  "__version__"
70
70
  ]
71
71
 
72
- __version__ = "1.6.7"
72
+ __version__ = "1.6.9"
73
73
 
74
74
  # Persistent preprocessor/function state for the current ChemQL session.
75
75
  DEFINITIONS = {}