pythonnative 0.21.0__py3-none-any.whl → 0.22.1__py3-none-any.whl
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.
- pythonnative/__init__.py +14 -3
- pythonnative/animated.py +420 -135
- pythonnative/cli/pn.py +1 -1
- pythonnative/components.py +525 -241
- pythonnative/events.py +210 -0
- pythonnative/gestures.py +875 -0
- pythonnative/hooks.py +3 -3
- pythonnative/hot_reload.py +4 -4
- pythonnative/layout.py +464 -150
- pythonnative/mutations.py +130 -0
- pythonnative/native_modules/camera.py +1 -1
- pythonnative/native_modules/haptics.py +2 -2
- pythonnative/native_modules/location.py +1 -1
- pythonnative/native_modules/permissions.py +2 -2
- pythonnative/native_modules/secure_store.py +1 -1
- pythonnative/native_views/__init__.py +161 -97
- pythonnative/native_views/android.py +1064 -1158
- pythonnative/native_views/base.py +109 -19
- pythonnative/native_views/desktop.py +465 -422
- pythonnative/native_views/ios.py +1930 -1928
- pythonnative/navigation.py +4 -4
- pythonnative/net.py +3 -3
- pythonnative/platform.py +1 -1
- pythonnative/platform_metrics.py +5 -5
- pythonnative/preview.py +3 -3
- pythonnative/project/android.py +2 -2
- pythonnative/project/builder.py +1 -1
- pythonnative/project/config.py +3 -3
- pythonnative/project/doctor.py +2 -2
- pythonnative/project/icons.py +1 -1
- pythonnative/project/ios.py +1 -1
- pythonnative/project/permissions.py +2 -2
- pythonnative/project/runtime_assets.py +3 -3
- pythonnative/reconciler.py +545 -475
- pythonnative/runtime.py +8 -8
- pythonnative/screen.py +10 -7
- pythonnative/sdk/_components.py +3 -3
- pythonnative/storage.py +3 -3
- pythonnative/style.py +1 -1
- pythonnative/templates/android_template/app/build.gradle +2 -0
- pythonnative/templates/ios_template/ios_template.xcodeproj/project.pbxproj +2 -2
- pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITests.swift +1 -1
- {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/METADATA +14 -11
- {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/RECORD +48 -46
- pythonnative/templates/android_template/app/src/main/java/com/pythonnative/android_template/PNVirtualListView.java +0 -129
- {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/WHEEL +0 -0
- {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/entry_points.txt +0 -0
- {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/licenses/LICENSE +0 -0
- {pythonnative-0.21.0.dist-info → pythonnative-0.22.1.dist-info}/top_level.txt +0 -0
pythonnative/cli/pn.py
CHANGED
|
@@ -5,7 +5,7 @@ The console script `pn` (declared in `pyproject.toml`) dispatches to:
|
|
|
5
5
|
- `pn init [name]`: scaffold a new project (``pythonnative.toml`` + ``app/``).
|
|
6
6
|
- `pn doctor [platform]`: diagnose the local toolchain and config.
|
|
7
7
|
- `pn preview [component]`: render the app in a desktop (Tkinter) window
|
|
8
|
-
with Fast Refresh
|
|
8
|
+
with Fast Refresh, the fast inner dev loop, no device required.
|
|
9
9
|
- `pn run android|ios`: stage + build + install + launch on a device or
|
|
10
10
|
simulator, with optional on-device hot reload.
|
|
11
11
|
- `pn build android|ios`: produce standalone artifacts (signed APK/AAB,
|