lattica 1.0.8__cp311-abi3-macosx_11_0_arm64.whl → 1.0.9__cp311-abi3-macosx_11_0_arm64.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.8
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://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@github.com/OpenEdgeHQ/p2p-lattica.git#subdirectory=bindings/python --force-reinstall
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=ioX04RrVuSWwyZrHX9KI4QW6nzKS7gtVBV6z_7qRuD8,5997
2
+ lattica-1.0.9.dist-info/WHEEL,sha256=kelVgS1CONjYuT6OEIC92ofaP9Aiw74EQCpLzMjs2Gg,103
3
+ lattica/__init__.py,sha256=8YITlLnp2HwFscCFPXoydAQlZfWQbWMIhESS26GovPI,295
4
+ lattica/client.py,sha256=-AY9QhM7T4AfOkjPEPxw0TnzkoxKoMGbR571oXXYCP8,9091
5
+ lattica/connection_handler.py,sha256=w8D4hG7KsXfbDdzSmZjn9cOfl8n-HCDEf91b6rElP_4,15749
6
+ lattica_python_core/__init__.py,sha256=uXPn47KzWKWEomcCmXdktHbovVOR38Cbsv8Vu8IrTPQ,159
7
+ lattica_python_core/lattica_python_core.abi3.so,sha256=Zb47GCs2wkL6R2vXSLEAJ2NREJoxs5B0Oa2QtY__q54,18862320
8
+ lattica-1.0.9.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- lattica-1.0.8.dist-info/METADATA,sha256=UTJYoFJrHS9PpuaNqyv3H9zS6ItILvDJRa0wz7qNa_Y,5997
2
- lattica-1.0.8.dist-info/WHEEL,sha256=kelVgS1CONjYuT6OEIC92ofaP9Aiw74EQCpLzMjs2Gg,103
3
- lattica/__init__.py,sha256=8YITlLnp2HwFscCFPXoydAQlZfWQbWMIhESS26GovPI,295
4
- lattica/client.py,sha256=pBQMJZx932QJeTNP0pWfyogWp1uDPgvAy2T2hvGjuDw,8846
5
- lattica/connection_handler.py,sha256=w8D4hG7KsXfbDdzSmZjn9cOfl8n-HCDEf91b6rElP_4,15749
6
- lattica_python_core/__init__.py,sha256=uXPn47KzWKWEomcCmXdktHbovVOR38Cbsv8Vu8IrTPQ,159
7
- lattica_python_core/lattica_python_core.abi3.so,sha256=CjmvTWR_y11i4RC7nVirSs9DuhI35t3Unj_ow67hkDI,17521056
8
- lattica-1.0.8.dist-info/RECORD,,