lattica 1.0.8__cp311-abi3-win_amd64.whl → 1.0.9__cp311-abi3-win_amd64.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.
Potentially problematic release.
This version of lattica might be problematic. Click here for more details.
lattica/client.py
CHANGED
|
@@ -246,7 +246,12 @@ class Lattica:
|
|
|
246
246
|
self._lattica_instance.close()
|
|
247
247
|
except Exception as e:
|
|
248
248
|
raise RuntimeError(f"Failed to close client: {e}")
|
|
249
|
-
|
|
249
|
+
def is_symmetric_nat(self, timeout=8000):
|
|
250
|
+
try:
|
|
251
|
+
return self._lattica_instance.is_symmetric_nat(timeout)
|
|
252
|
+
except Exception as e:
|
|
253
|
+
raise RuntimeError(f"Failed to check is_symmetric_nat error: {e}")
|
|
254
|
+
|
|
250
255
|
def __enter__(self):
|
|
251
256
|
self._ensure_initialized()
|
|
252
257
|
return self
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lattica
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.9
|
|
4
4
|
Requires-Dist: asyncio ; python_full_version >= '3.11'
|
|
5
5
|
Requires-Dist: typing-extensions ; python_full_version < '3.12'
|
|
6
6
|
Requires-Dist: nest-asyncio ; python_full_version >= '3.11'
|
|
@@ -47,7 +47,7 @@ pip install lattica
|
|
|
47
47
|
```
|
|
48
48
|
Or you can install from source using:
|
|
49
49
|
```bash
|
|
50
|
-
pip install git+https://
|
|
50
|
+
pip install git+https://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@github.com/OpenEdgeHQ/p2p-lattica.git#subdirectory=bindings/python --force-reinstall
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
## Quick Start
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
lattica-1.0.9.dist-info/METADATA,sha256=m8QzhJIt8LkyXldEAW-0n56Ea879wN7JPFAaqlDkGCE,6170
|
|
2
|
+
lattica-1.0.9.dist-info/WHEEL,sha256=QC3zdlgimDC1GtRrc0qfjqbzuc7G6nDvPrjaINbNOTw,95
|
|
3
|
+
lattica/__init__.py,sha256=MXfthDW_PBVFC3W94iK6ovOIXRU3cgT9ptVjoUCHCxo,310
|
|
4
|
+
lattica/client.py,sha256=jnsszDPC1ydx45v6lh-ow8n-w8hMifTqAOna30xegSM,9357
|
|
5
|
+
lattica/connection_handler.py,sha256=HC1QBOg6BjV8GsetCRr3AGe_H4--vo5XP3OGrYVHF4w,16154
|
|
6
|
+
lattica_python_core/__init__.py,sha256=uXPn47KzWKWEomcCmXdktHbovVOR38Cbsv8Vu8IrTPQ,159
|
|
7
|
+
lattica_python_core/lattica_python_core.pyd,sha256=b44WajS7I5Kue9F-RbMGS4ftehI4xAyv56HNFK8FsPY,19261952
|
|
8
|
+
lattica-1.0.9.dist-info/RECORD,,
|
|
Binary file
|
lattica-1.0.8.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
lattica-1.0.8.dist-info/METADATA,sha256=LvQv1xM1JEVWUlyVWxKLmtbM1hfZcyWcrnsYAzKMqEc,6170
|
|
2
|
-
lattica-1.0.8.dist-info/WHEEL,sha256=QC3zdlgimDC1GtRrc0qfjqbzuc7G6nDvPrjaINbNOTw,95
|
|
3
|
-
lattica/__init__.py,sha256=MXfthDW_PBVFC3W94iK6ovOIXRU3cgT9ptVjoUCHCxo,310
|
|
4
|
-
lattica/client.py,sha256=VLefM8kWDdS-WGyrRWtQ_YcSU2GGKtDDqeRjxLhIW_A,9107
|
|
5
|
-
lattica/connection_handler.py,sha256=HC1QBOg6BjV8GsetCRr3AGe_H4--vo5XP3OGrYVHF4w,16154
|
|
6
|
-
lattica_python_core/__init__.py,sha256=uXPn47KzWKWEomcCmXdktHbovVOR38Cbsv8Vu8IrTPQ,159
|
|
7
|
-
lattica_python_core/lattica_python_core.pyd,sha256=XXfqKMxYdc-ANpYohdiYJCLRTBjo2P6WBAl-UFR2q4g,17913344
|
|
8
|
-
lattica-1.0.8.dist-info/RECORD,,
|
|
File without changes
|