pythonnative 0.32.0__py3-none-any.whl → 0.33.0__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 +1 -1
- pythonnative/net.py +4 -0
- {pythonnative-0.32.0.dist-info → pythonnative-0.33.0.dist-info}/METADATA +1 -21
- {pythonnative-0.32.0.dist-info → pythonnative-0.33.0.dist-info}/RECORD +8 -8
- {pythonnative-0.32.0.dist-info → pythonnative-0.33.0.dist-info}/WHEEL +0 -0
- {pythonnative-0.32.0.dist-info → pythonnative-0.33.0.dist-info}/entry_points.txt +0 -0
- {pythonnative-0.32.0.dist-info → pythonnative-0.33.0.dist-info}/licenses/LICENSE +0 -0
- {pythonnative-0.32.0.dist-info → pythonnative-0.33.0.dist-info}/top_level.txt +0 -0
pythonnative/__init__.py
CHANGED
pythonnative/net.py
CHANGED
|
@@ -77,6 +77,10 @@ class Response:
|
|
|
77
77
|
"""``True`` if the status is in the 2xx range."""
|
|
78
78
|
return 200 <= self.status < 300
|
|
79
79
|
|
|
80
|
+
def __repr__(self) -> str:
|
|
81
|
+
cls = type(self).__name__
|
|
82
|
+
return f"{cls}(status={self.status}, url={self.url!r}, ok={self.ok}, content={len(self.content)} bytes)"
|
|
83
|
+
|
|
80
84
|
def text(self, encoding: Optional[str] = None) -> str:
|
|
81
85
|
"""Decode ``content`` to ``str``.
|
|
82
86
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythonnative
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.33.0
|
|
4
4
|
Summary: Cross-platform native UI toolkit for Android and iOS
|
|
5
5
|
Author: Owen Carey
|
|
6
6
|
License: MIT License
|
|
@@ -47,26 +47,6 @@ Provides-Extra: ios
|
|
|
47
47
|
Requires-Dist: rubicon-objc<0.5.0,>=0.4.6; extra == "ios"
|
|
48
48
|
Provides-Extra: build
|
|
49
49
|
Requires-Dist: Pillow>=10.0; extra == "build"
|
|
50
|
-
Provides-Extra: docs
|
|
51
|
-
Requires-Dist: mkdocs>=1.5; extra == "docs"
|
|
52
|
-
Requires-Dist: mkdocs-material[imaging]>=9.5; extra == "docs"
|
|
53
|
-
Requires-Dist: mkdocstrings[python]>=0.24; extra == "docs"
|
|
54
|
-
Requires-Dist: mkdocs-autorefs>=1.0; extra == "docs"
|
|
55
|
-
Requires-Dist: pymdown-extensions>=10.7; extra == "docs"
|
|
56
|
-
Provides-Extra: dev
|
|
57
|
-
Requires-Dist: black>=24.0; extra == "dev"
|
|
58
|
-
Requires-Dist: ruff>=0.5; extra == "dev"
|
|
59
|
-
Requires-Dist: mypy>=1.10; extra == "dev"
|
|
60
|
-
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
61
|
-
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
|
|
62
|
-
Requires-Dist: Pillow>=10.0; extra == "dev"
|
|
63
|
-
Provides-Extra: ci
|
|
64
|
-
Requires-Dist: black>=24.0; extra == "ci"
|
|
65
|
-
Requires-Dist: ruff>=0.5; extra == "ci"
|
|
66
|
-
Requires-Dist: mypy>=1.10; extra == "ci"
|
|
67
|
-
Requires-Dist: pytest>=8.0; extra == "ci"
|
|
68
|
-
Requires-Dist: pytest-asyncio>=0.23; extra == "ci"
|
|
69
|
-
Requires-Dist: Pillow>=10.0; extra == "ci"
|
|
70
50
|
Dynamic: license-file
|
|
71
51
|
|
|
72
52
|
<p align="center">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pythonnative/__init__.py,sha256=
|
|
1
|
+
pythonnative/__init__.py,sha256=PUlL-bChx_z_MlxnV4gI0NyFoCORX9ppQ93aAWc-8p8,8680
|
|
2
2
|
pythonnative/_ios_log.py,sha256=Oi7V28VxcVoZyrpAirvLeEmUW18McqnU87V4d37Zzlw,2582
|
|
3
3
|
pythonnative/alerts.py,sha256=mIANysFlaHwL5EqKnvNcyiJN9rGiZi9XDrD9Jpz1RFM,9340
|
|
4
4
|
pythonnative/animated.py,sha256=A4IOBf_GD6lUn0H8ArFH6URf0-m0PG__8uaxcw6-ECE,60373
|
|
@@ -14,7 +14,7 @@ pythonnative/images.py,sha256=JFjBJdZzZoQmAOfQ7QHqi7dYJ75XTs3u2lweQHGbdPc,6466
|
|
|
14
14
|
pythonnative/layout.py,sha256=Ck_FCLSk0g4hdOzHo0c50cbvLe8Q8caQAxywXgnFhKM,49077
|
|
15
15
|
pythonnative/mutations.py,sha256=whmxO6ENWjm-yYH0QteoCV1Gdw_v-fJrhicMQJ5A0rk,3827
|
|
16
16
|
pythonnative/navigation.py,sha256=TCDD6MGCEW9qBDZFCJhymUVEtoeNPhQgvio8IbgL0pU,36552
|
|
17
|
-
pythonnative/net.py,sha256=
|
|
17
|
+
pythonnative/net.py,sha256=nzYi8GPnxXCSzEtE_q_U4oEjgraB_iQe3nPP_DPlxvQ,8261
|
|
18
18
|
pythonnative/platform.py,sha256=WtjxR04CqVhSnjJu-3upk8bwXYaSWr2N0MOVoNov-h0,4994
|
|
19
19
|
pythonnative/platform_metrics.py,sha256=IoWbhp-BW2ourHVOK6JCp2n8_N3weyOEkMoFGObrprM,8954
|
|
20
20
|
pythonnative/preview.py,sha256=RoZv1s142GWj9xpg9v5Kh-0YuuhpEfwwb_JdnzboRLw,19355
|
|
@@ -116,9 +116,9 @@ pythonnative/templates/ios_template/ios_template.xcodeproj/project.xcworkspace/x
|
|
|
116
116
|
pythonnative/templates/ios_template/ios_templateTests/ios_templateTests.swift,sha256=YnwzZx7yXB13xKAXEGNgz17VuhWeqkHTRTtBJ2Vu3_E,1238
|
|
117
117
|
pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITests.swift,sha256=HLRr3cmouRqQeXG13WrZ2XSAmgMgCsNXfZpbwkxeFcs,1385
|
|
118
118
|
pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITestsLaunchTests.swift,sha256=f5JrG0uVtLMeJQy26Yyz7Om-JUkT220osqcbeIVkj2g,815
|
|
119
|
-
pythonnative-0.
|
|
120
|
-
pythonnative-0.
|
|
121
|
-
pythonnative-0.
|
|
122
|
-
pythonnative-0.
|
|
123
|
-
pythonnative-0.
|
|
124
|
-
pythonnative-0.
|
|
119
|
+
pythonnative-0.33.0.dist-info/licenses/LICENSE,sha256=A69iG7TIAe6KkGQf6xoVHkc5JSZtOr5eRSvC5iuivnI,1067
|
|
120
|
+
pythonnative-0.33.0.dist-info/METADATA,sha256=HWmbMvt16ZuecGlGtfP4g5QYOwVoLd0ozCEwPxfJqsM,11036
|
|
121
|
+
pythonnative-0.33.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
122
|
+
pythonnative-0.33.0.dist-info/entry_points.txt,sha256=iUtDawWSAJAEyWTycpZxDuYz73ol31butpzDIEAgPO0,48
|
|
123
|
+
pythonnative-0.33.0.dist-info/top_level.txt,sha256=kT4SEATY2ywzrZ2Pgea6_zxyym44Q_PbOsUoOYjJLFE,13
|
|
124
|
+
pythonnative-0.33.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|