pgwidgets-python 0.4.1__tar.gz → 0.4.2__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 (80) hide show
  1. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/.github/workflows/tests.yml +2 -2
  2. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/PKG-INFO +2 -2
  3. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/WhatsNew.rst +16 -0
  4. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets_python.egg-info/PKG-INFO +2 -2
  5. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets_python.egg-info/requires.txt +1 -1
  6. pgwidgets_python-0.4.2/pgwidgets_python.egg-info/scm_version.json +8 -0
  7. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pyproject.toml +7 -4
  8. pgwidgets_python-0.4.1/pgwidgets_python.egg-info/scm_version.json +0 -8
  9. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/.flake8 +0 -0
  10. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/.gitignore +0 -0
  11. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/.readthedocs.yaml +0 -0
  12. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/LICENSE.md +0 -0
  13. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/README.md +0 -0
  14. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/Makefile +0 -0
  15. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/api/async.rst +0 -0
  16. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/api/index.rst +0 -0
  17. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/api/sync.rst +0 -0
  18. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/architecture.rst +0 -0
  19. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/async.rst +0 -0
  20. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/callbacks.rst +0 -0
  21. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/conf.py +0 -0
  22. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/extras.rst +0 -0
  23. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/getting-started.rst +0 -0
  24. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/index.rst +0 -0
  25. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/subclassing.rst +0 -0
  26. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/sync.rst +0 -0
  27. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/utilities.rst +0 -0
  28. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/web-servers.rst +0 -0
  29. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/docs/widgets.rst +0 -0
  30. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/README.md +0 -0
  31. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/all_widgets.py +0 -0
  32. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/all_widgets_async.py +0 -0
  33. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/demo_async.py +0 -0
  34. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/demo_sync.py +0 -0
  35. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/demo_treeview.py +0 -0
  36. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/flask-multi-process/README.md +0 -0
  37. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/flask-multi-process/gunicorn.conf.py +0 -0
  38. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/flask-multi-process/nginx.conf +0 -0
  39. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/flask-multi-process/server.py +0 -0
  40. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/examples/flask-multi-process/user_app.py +0 -0
  41. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/__init__.py +0 -0
  42. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/_json.py +0 -0
  43. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/async_/Widgets.py +0 -0
  44. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/async_/__init__.py +0 -0
  45. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/async_/application.py +0 -0
  46. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/async_/widget.py +0 -0
  47. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/buffer.py +0 -0
  48. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/callbacks.py +0 -0
  49. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/defs.py +0 -0
  50. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/extras/__init__.py +0 -0
  51. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/extras/file_browser.py +0 -0
  52. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/icons/pgw-python-logo.png +0 -0
  53. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/method_types.py +0 -0
  54. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/sync/Widgets.py +0 -0
  55. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/sync/__init__.py +0 -0
  56. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/sync/application.py +0 -0
  57. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/sync/text_source.py +0 -0
  58. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/sync/widget.py +0 -0
  59. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/text_model.py +0 -0
  60. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets/tree_model.py +0 -0
  61. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets_python.egg-info/SOURCES.txt +0 -0
  62. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets_python.egg-info/dependency_links.txt +0 -0
  63. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets_python.egg-info/scm_file_list.json +0 -0
  64. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/pgwidgets_python.egg-info/top_level.txt +0 -0
  65. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/setup.cfg +0 -0
  66. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/test_pg2.py +0 -0
  67. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/__init__.py +0 -0
  68. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_async_session.py +0 -0
  69. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_defs.py +0 -0
  70. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_extras.py +0 -0
  71. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_fonts.py +0 -0
  72. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_protocol.py +0 -0
  73. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_reconstruct.py +0 -0
  74. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_resolve_kwargs.py +0 -0
  75. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_session.py +0 -0
  76. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_stateful.py +0 -0
  77. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_text_source.py +0 -0
  78. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_tree_model.py +0 -0
  79. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tests/test_widget_classes.py +0 -0
  80. {pgwidgets_python-0.4.1 → pgwidgets_python-0.4.2}/tools/sync_async_tree_model.py +0 -0
@@ -14,10 +14,10 @@ jobs:
14
14
  python-version: ["3.12", "3.13", "3.14"]
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v4
17
+ - uses: actions/checkout@v7
18
18
 
19
19
  - name: Set up Python ${{ matrix.python-version }}
20
- uses: actions/setup-python@v5
20
+ uses: actions/setup-python@v6
21
21
  with:
22
22
  python-version: ${{ matrix.python-version }}
23
23
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pgwidgets-python
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Python bindings for the pgwidgets JavaScript widget library
5
5
  Author: PGWidgets Developers
6
6
  License-Expression: BSD-3-Clause
@@ -17,7 +17,7 @@ Classifier: Topic :: Software Development :: User Interfaces
17
17
  Requires-Python: >=3.12
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE.md
20
- Requires-Dist: pgwidgets-js>=0.4.1
20
+ Requires-Dist: pgwidgets-js>=0.4.2
21
21
  Requires-Dist: websockets>=12
22
22
  Provides-Extra: dev
23
23
  Requires-Dist: sphinx; extra == "dev"
@@ -4,6 +4,22 @@ What's New
4
4
  Recent changes — since ``v0.4.0``
5
5
  ---------------------------------
6
6
 
7
+ TreeView: selecting from code needs pgwidgets-js 0.4.2
8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9
+
10
+ ``select_path(path)``, ``select_paths(paths)`` and ``select_all()``
11
+ select, as their signatures say. Nothing changed on this side: the
12
+ generated proxy forwards only the arguments it was given, so a call
13
+ that leaves ``state`` off sent nothing for it, and the browser used to
14
+ read that as "deselect" -- the row never highlighted,
15
+ ``get_subtree('selected')`` stayed empty, and ``select_all()`` cleared
16
+ the selection instead of filling it. pgwidgets-js 0.4.2 defaults the
17
+ argument, and the dependency floor now requires it.
18
+
19
+ Dragging a column divider in the browser also resizes just that column
20
+ now, qt-style, instead of taking the width out of the next one, and the
21
+ last column has a divider of its own.
22
+
7
23
  TextSource: scroll alignment and caret styling
8
24
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9
25
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pgwidgets-python
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Python bindings for the pgwidgets JavaScript widget library
5
5
  Author: PGWidgets Developers
6
6
  License-Expression: BSD-3-Clause
@@ -17,7 +17,7 @@ Classifier: Topic :: Software Development :: User Interfaces
17
17
  Requires-Python: >=3.12
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE.md
20
- Requires-Dist: pgwidgets-js>=0.4.1
20
+ Requires-Dist: pgwidgets-js>=0.4.2
21
21
  Requires-Dist: websockets>=12
22
22
  Provides-Extra: dev
23
23
  Requires-Dist: sphinx; extra == "dev"
@@ -1,4 +1,4 @@
1
- pgwidgets-js>=0.4.1
1
+ pgwidgets-js>=0.4.2
2
2
  websockets>=12
3
3
 
4
4
  [dev]
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.4.2",
3
+ "distance": 0,
4
+ "node": "gcccf4eb8110bcb5a4eacf3ad84af4092cdddccfb",
5
+ "dirty": false,
6
+ "branch": "main",
7
+ "node_date": "2026-09-23"
8
+ }
@@ -14,15 +14,18 @@ authors = [
14
14
  {name = "PGWidgets Developers"},
15
15
  ]
16
16
  dependencies = [
17
- # TextSource's scroll alignment and set_cursor_style() need the
18
- # matching browser-side methods, introduced in pgwidgets-js 0.4.1.
19
- # (Earlier requirements the incremental TreeView/TableView updates
17
+ # TreeView.select_path()/select_paths()/select_all() rely on the
18
+ # browser side defaulting their `state` argument, since the proxy
19
+ # forwards only the arguments it was given -- pgwidgets-js 0.4.2.
20
+ # (TextSource's scroll alignment and set_cursor_style() need the
21
+ # matching browser-side methods, introduced in pgwidgets-js 0.4.1;
22
+ # earlier requirements — the incremental TreeView/TableView updates
20
23
  # and the "batch" / set_colors protocol messages date to 0.4.0; the
21
24
  # TextSource selection/tag-region and tooltip/scroll APIs, Separator,
22
25
  # Button.set_hover, ButtonBox.min_button_width, Dialog.set_title to
23
26
  # 0.3.4; set_min_size/set_max_size, the dict-tree TreeView, the
24
27
  # binary Image protocol, TopLevel window-control options to 0.2.0.)
25
- "pgwidgets-js>=0.4.1",
28
+ "pgwidgets-js>=0.4.2",
26
29
  "websockets>=12",
27
30
  ]
28
31
  keywords = ["widgets", "ui", "gui", "websocket", "browser"]
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.4.1",
3
- "distance": 0,
4
- "node": "gba8f2928171144dd56a747a75fb45722db1bd4d7",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-08-22"
8
- }