nativelayout 1.2.1__tar.gz → 1.2.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 (28) hide show
  1. {nativelayout-1.2.1/nativelayout.egg-info → nativelayout-1.2.2}/PKG-INFO +4 -3
  2. {nativelayout-1.2.1 → nativelayout-1.2.2}/README.md +3 -2
  3. {nativelayout-1.2.1 → nativelayout-1.2.2/nativelayout.egg-info}/PKG-INFO +4 -3
  4. {nativelayout-1.2.1 → nativelayout-1.2.2}/pyproject.toml +1 -1
  5. {nativelayout-1.2.1 → nativelayout-1.2.2}/LICENSE +0 -0
  6. {nativelayout-1.2.1 → nativelayout-1.2.2}/android/nativelayout/host/__init__.py +0 -0
  7. {nativelayout-1.2.1 → nativelayout-1.2.2}/android/nativelayout/host/draw.py +0 -0
  8. {nativelayout-1.2.1 → nativelayout-1.2.2}/android/nativelayout/host/flex.py +0 -0
  9. {nativelayout-1.2.1 → nativelayout-1.2.2}/android/nativelayout/host/kivy_host.py +0 -0
  10. {nativelayout-1.2.1 → nativelayout-1.2.2}/android/nativelayout/host/native_view.py +0 -0
  11. {nativelayout-1.2.1 → nativelayout-1.2.2}/android/nativelayout/host/widgets.py +0 -0
  12. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/__init__.py +0 -0
  13. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/css.py +0 -0
  14. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/differ.py +0 -0
  15. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/errors.py +0 -0
  16. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/expander.py +0 -0
  17. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/html_parser.py +0 -0
  18. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/icons.py +0 -0
  19. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/layout_engine.py +0 -0
  20. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/layout_host.py +0 -0
  21. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/program.py +0 -0
  22. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/scopes.py +0 -0
  23. {nativelayout-1.2.1 → nativelayout-1.2.2}/core/nativelayout/core/tree.py +0 -0
  24. {nativelayout-1.2.1 → nativelayout-1.2.2}/nativelayout.egg-info/SOURCES.txt +0 -0
  25. {nativelayout-1.2.1 → nativelayout-1.2.2}/nativelayout.egg-info/dependency_links.txt +0 -0
  26. {nativelayout-1.2.1 → nativelayout-1.2.2}/nativelayout.egg-info/requires.txt +0 -0
  27. {nativelayout-1.2.1 → nativelayout-1.2.2}/nativelayout.egg-info/top_level.txt +0 -0
  28. {nativelayout-1.2.1 → nativelayout-1.2.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nativelayout
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: Create native interfaces from HTML, in any language. Python core and Kivy host.
5
5
  Author: Adilson C. Rafael
6
6
  License-Expression: MPL-2.0
@@ -76,7 +76,8 @@ body { padding: 16px; gap: 12px; }
76
76
 
77
77
  ```python
78
78
  import kivy # noqa: F401
79
- from nativelayout import state, view, click, run_app, file_loader
79
+ from nativelayout.core import state, view, click
80
+ from nativelayout.host import run_app, file_loader
80
81
 
81
82
  def screen():
82
83
  s = state({"n": 0, "name": "world"})
@@ -94,7 +95,7 @@ The file describes the screen. The logic (state and taps) stays in your Python c
94
95
  - `nativelayout.core`: parser, expander, layout engine, differ and the program side (`state`, `view`, `click`, `go`, `value`, `save`, ...). Pure Python.
95
96
  - `nativelayout.host`: the Kivy host. It draws on a canvas; it does not build platform-native views.
96
97
 
97
- Everything is also available from the top level: `from nativelayout import state, view, click, run_app, file_loader`. The Kivy host is loaded only when you use it.
98
+ `nativelayout` is a namespace package, so import from the two sub-packages: `from nativelayout.core import state, view, click` and `from nativelayout.host import run_app, file_loader`. The Kivy host is loaded only when you import `nativelayout.host`.
98
99
 
99
100
  ## Links
100
101
 
@@ -50,7 +50,8 @@ body { padding: 16px; gap: 12px; }
50
50
 
51
51
  ```python
52
52
  import kivy # noqa: F401
53
- from nativelayout import state, view, click, run_app, file_loader
53
+ from nativelayout.core import state, view, click
54
+ from nativelayout.host import run_app, file_loader
54
55
 
55
56
  def screen():
56
57
  s = state({"n": 0, "name": "world"})
@@ -68,7 +69,7 @@ The file describes the screen. The logic (state and taps) stays in your Python c
68
69
  - `nativelayout.core`: parser, expander, layout engine, differ and the program side (`state`, `view`, `click`, `go`, `value`, `save`, ...). Pure Python.
69
70
  - `nativelayout.host`: the Kivy host. It draws on a canvas; it does not build platform-native views.
70
71
 
71
- Everything is also available from the top level: `from nativelayout import state, view, click, run_app, file_loader`. The Kivy host is loaded only when you use it.
72
+ `nativelayout` is a namespace package, so import from the two sub-packages: `from nativelayout.core import state, view, click` and `from nativelayout.host import run_app, file_loader`. The Kivy host is loaded only when you import `nativelayout.host`.
72
73
 
73
74
  ## Links
74
75
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nativelayout
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: Create native interfaces from HTML, in any language. Python core and Kivy host.
5
5
  Author: Adilson C. Rafael
6
6
  License-Expression: MPL-2.0
@@ -76,7 +76,8 @@ body { padding: 16px; gap: 12px; }
76
76
 
77
77
  ```python
78
78
  import kivy # noqa: F401
79
- from nativelayout import state, view, click, run_app, file_loader
79
+ from nativelayout.core import state, view, click
80
+ from nativelayout.host import run_app, file_loader
80
81
 
81
82
  def screen():
82
83
  s = state({"n": 0, "name": "world"})
@@ -94,7 +95,7 @@ The file describes the screen. The logic (state and taps) stays in your Python c
94
95
  - `nativelayout.core`: parser, expander, layout engine, differ and the program side (`state`, `view`, `click`, `go`, `value`, `save`, ...). Pure Python.
95
96
  - `nativelayout.host`: the Kivy host. It draws on a canvas; it does not build platform-native views.
96
97
 
97
- Everything is also available from the top level: `from nativelayout import state, view, click, run_app, file_loader`. The Kivy host is loaded only when you use it.
98
+ `nativelayout` is a namespace package, so import from the two sub-packages: `from nativelayout.core import state, view, click` and `from nativelayout.host import run_app, file_loader`. The Kivy host is loaded only when you import `nativelayout.host`.
98
99
 
99
100
  ## Links
100
101
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nativelayout"
7
- version = "1.2.1"
7
+ version = "1.2.2"
8
8
  description = "Create native interfaces from HTML, in any language. Python core and Kivy host."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
File without changes
File without changes