lightstreamer-client-lib 2.2.0__tar.gz → 2.2.1__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 (16) hide show
  1. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/PKG-INFO +7 -7
  2. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/README.md +5 -5
  3. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/pyproject.toml +1 -1
  4. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer/client/com_lightstreamer_net.py +1 -1
  5. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer/client/ls_python_client_haxe.py +2 -2
  6. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer_client_lib.egg-info/PKG-INFO +7 -7
  7. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/LICENSE +0 -0
  8. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/setup.cfg +0 -0
  9. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/setup.py +0 -0
  10. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer/client/__init__.py +0 -0
  11. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer/client/ls_python_client_api.py +0 -0
  12. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer/client/ls_python_client_wrapper.py +0 -0
  13. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer_client_lib.egg-info/SOURCES.txt +0 -0
  14. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer_client_lib.egg-info/dependency_links.txt +0 -0
  15. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer_client_lib.egg-info/requires.txt +0 -0
  16. {lightstreamer_client_lib-2.2.0 → lightstreamer_client_lib-2.2.1}/src/lightstreamer_client_lib.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: lightstreamer-client-lib
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Lightstreamer Client SDK
5
5
  Author-email: Lightstreamer Srl <support@lightstreamer.com>
6
6
  License: Apache-2.0
@@ -34,7 +34,7 @@ The sdk is supported on Python 3.7 and above.
34
34
 
35
35
  ## Quickstart
36
36
 
37
- To connect to a Lightstreamer Server, a [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient) object has to be created, configured, and instructed to connect to the Lightstreamer Server.
37
+ To connect to a Lightstreamer Server, a [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient) object has to be created, configured, and instructed to connect to the Lightstreamer Server.
38
38
  A minimal version of the code that creates a LightstreamerClient and connects to the Lightstreamer Server on *https://push.lightstreamer.com* will look like this:
39
39
 
40
40
  ```python
@@ -44,7 +44,7 @@ client = LightstreamerClient("http://push.lightstreamer.com/","DEMO")
44
44
  client.connect()
45
45
  ```
46
46
 
47
- For each subscription to be subscribed to a Lightstreamer Server a [Subscription](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.Subscription) instance is needed.
47
+ For each subscription to be subscribed to a Lightstreamer Server a [Subscription](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.Subscription) instance is needed.
48
48
  A simple Subscription containing three items and two fields to be subscribed in *MERGE* mode is easily created (see [Lightstreamer General Concepts](https://lightstreamer.com/docs/ls-server/latest/General%20Concepts.pdf)):
49
49
 
50
50
  ```python
@@ -54,7 +54,7 @@ sub.setRequestedSnapshot("yes")
54
54
  client.subscribe(sub)
55
55
  ```
56
56
 
57
- Before sending the subscription to the server, usually at least one [SubscriptionListener](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_api.SubscriptionListener) is attached to the Subscription instance in order to consume the real-time updates. The following code shows the values of the fields *stock_name* and *last_price* each time a new update is received for the subscription:
57
+ Before sending the subscription to the server, usually at least one [SubscriptionListener](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_api.SubscriptionListener) is attached to the Subscription instance in order to consume the real-time updates. The following code shows the values of the fields *stock_name* and *last_price* each time a new update is received for the subscription:
58
58
 
59
59
  ```python
60
60
  class SubListener(SubscriptionListener):
@@ -88,7 +88,7 @@ client.connect()
88
88
 
89
89
  ## Logging
90
90
 
91
- To enable the internal client logger, create a [LoggerProvider](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_api.LoggerProvider) and set it as the default provider of [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient.setLoggerProvider).
91
+ To enable the internal client logger, create a [LoggerProvider](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_api.LoggerProvider) and set it as the default provider of [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient.setLoggerProvider).
92
92
 
93
93
  ```python
94
94
  import sys, logging
@@ -107,7 +107,7 @@ Compatible with Lightstreamer Server since version 7.4.0.
107
107
 
108
108
  - [Live demos](https://demos.lightstreamer.com/?p=lightstreamer&t=client&lclient=python)
109
109
 
110
- - [API Reference](https://lightstreamer.com/api/ls-python-client/2.2.0/index.html)
110
+ - [API Reference](https://lightstreamer.com/api/ls-python-client/2.2.1/index.html)
111
111
 
112
112
  ## Support
113
113
 
@@ -16,7 +16,7 @@ The sdk is supported on Python 3.7 and above.
16
16
 
17
17
  ## Quickstart
18
18
 
19
- To connect to a Lightstreamer Server, a [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient) object has to be created, configured, and instructed to connect to the Lightstreamer Server.
19
+ To connect to a Lightstreamer Server, a [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient) object has to be created, configured, and instructed to connect to the Lightstreamer Server.
20
20
  A minimal version of the code that creates a LightstreamerClient and connects to the Lightstreamer Server on *https://push.lightstreamer.com* will look like this:
21
21
 
22
22
  ```python
@@ -26,7 +26,7 @@ client = LightstreamerClient("http://push.lightstreamer.com/","DEMO")
26
26
  client.connect()
27
27
  ```
28
28
 
29
- For each subscription to be subscribed to a Lightstreamer Server a [Subscription](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.Subscription) instance is needed.
29
+ For each subscription to be subscribed to a Lightstreamer Server a [Subscription](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.Subscription) instance is needed.
30
30
  A simple Subscription containing three items and two fields to be subscribed in *MERGE* mode is easily created (see [Lightstreamer General Concepts](https://lightstreamer.com/docs/ls-server/latest/General%20Concepts.pdf)):
31
31
 
32
32
  ```python
@@ -36,7 +36,7 @@ sub.setRequestedSnapshot("yes")
36
36
  client.subscribe(sub)
37
37
  ```
38
38
 
39
- Before sending the subscription to the server, usually at least one [SubscriptionListener](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_api.SubscriptionListener) is attached to the Subscription instance in order to consume the real-time updates. The following code shows the values of the fields *stock_name* and *last_price* each time a new update is received for the subscription:
39
+ Before sending the subscription to the server, usually at least one [SubscriptionListener](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_api.SubscriptionListener) is attached to the Subscription instance in order to consume the real-time updates. The following code shows the values of the fields *stock_name* and *last_price* each time a new update is received for the subscription:
40
40
 
41
41
  ```python
42
42
  class SubListener(SubscriptionListener):
@@ -70,7 +70,7 @@ client.connect()
70
70
 
71
71
  ## Logging
72
72
 
73
- To enable the internal client logger, create a [LoggerProvider](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_api.LoggerProvider) and set it as the default provider of [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient.setLoggerProvider).
73
+ To enable the internal client logger, create a [LoggerProvider](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_api.LoggerProvider) and set it as the default provider of [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient.setLoggerProvider).
74
74
 
75
75
  ```python
76
76
  import sys, logging
@@ -89,7 +89,7 @@ Compatible with Lightstreamer Server since version 7.4.0.
89
89
 
90
90
  - [Live demos](https://demos.lightstreamer.com/?p=lightstreamer&t=client&lclient=python)
91
91
 
92
- - [API Reference](https://lightstreamer.com/api/ls-python-client/2.2.0/index.html)
92
+ - [API Reference](https://lightstreamer.com/api/ls-python-client/2.2.1/index.html)
93
93
 
94
94
  ## Support
95
95
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lightstreamer-client-lib"
7
- version = "2.2.0"
7
+ version = "2.2.1"
8
8
  description = "Lightstreamer Client SDK"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Lightstreamer Srl", email = "support@lightstreamer.com" }]
@@ -90,7 +90,7 @@ class HttpClientPy:
90
90
  async def _sendAsync(self, url, body, headers, proxy, sslContext):
91
91
  if headers is None:
92
92
  headers = {}
93
- headers["Content-Type"] = "application/x-www-form-urlencoded; charset=utf-8"
93
+ headers["Content-Type"] = "text/plain; charset=utf-8"
94
94
  proxy_url, proxy_auth = build_proxy(proxy)
95
95
  try:
96
96
  session = SessionPy.getInstance()
@@ -15308,8 +15308,8 @@ sys_thread__Thread_HxThread.mainThread.events = sys_thread_EventLoop()
15308
15308
  com_lightstreamer_client__ConnectionDetails_ConnectionDetails_Fields_.DEFAULT_SERVER = None
15309
15309
  com_lightstreamer_internal__Constants_Constants_Fields_.TLCP_VERSION = "TLCP-2.5.0"
15310
15310
  com_lightstreamer_internal__Constants_Constants_Fields_.FULL_TLCP_VERSION = (HxOverrides.stringOrNull(com_lightstreamer_internal__Constants_Constants_Fields_.TLCP_VERSION) + ".lightstreamer.com")
15311
- com_lightstreamer_internal__Constants_Constants_Fields_.LS_LIB_VERSION = (("2.2.0" + " build ") + "20241029")
15312
- com_lightstreamer_internal__Constants_Constants_Fields_.LS_CID = "v Wntytg4pkpW37AM3M4hwLri8M4OB72hFb"
15311
+ com_lightstreamer_internal__Constants_Constants_Fields_.LS_LIB_VERSION = (("2.2.1" + " build ") + "20250225")
15312
+ com_lightstreamer_internal__Constants_Constants_Fields_.LS_CID = "v Wntytg4pkpW37AM3N4hwLri8M4OC64hBa"
15313
15313
  com_lightstreamer_internal__Constants_Constants_Fields_.LS_LIB_NAME = "python_client"
15314
15314
  com_lightstreamer_internal__Constants_Constants_Fields_.LS_CREATE_REALM = ""
15315
15315
  LSLightstreamerClient.LIB_NAME = com_lightstreamer_internal__Constants_Constants_Fields_.LS_LIB_NAME
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: lightstreamer-client-lib
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Lightstreamer Client SDK
5
5
  Author-email: Lightstreamer Srl <support@lightstreamer.com>
6
6
  License: Apache-2.0
@@ -34,7 +34,7 @@ The sdk is supported on Python 3.7 and above.
34
34
 
35
35
  ## Quickstart
36
36
 
37
- To connect to a Lightstreamer Server, a [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient) object has to be created, configured, and instructed to connect to the Lightstreamer Server.
37
+ To connect to a Lightstreamer Server, a [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient) object has to be created, configured, and instructed to connect to the Lightstreamer Server.
38
38
  A minimal version of the code that creates a LightstreamerClient and connects to the Lightstreamer Server on *https://push.lightstreamer.com* will look like this:
39
39
 
40
40
  ```python
@@ -44,7 +44,7 @@ client = LightstreamerClient("http://push.lightstreamer.com/","DEMO")
44
44
  client.connect()
45
45
  ```
46
46
 
47
- For each subscription to be subscribed to a Lightstreamer Server a [Subscription](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.Subscription) instance is needed.
47
+ For each subscription to be subscribed to a Lightstreamer Server a [Subscription](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.Subscription) instance is needed.
48
48
  A simple Subscription containing three items and two fields to be subscribed in *MERGE* mode is easily created (see [Lightstreamer General Concepts](https://lightstreamer.com/docs/ls-server/latest/General%20Concepts.pdf)):
49
49
 
50
50
  ```python
@@ -54,7 +54,7 @@ sub.setRequestedSnapshot("yes")
54
54
  client.subscribe(sub)
55
55
  ```
56
56
 
57
- Before sending the subscription to the server, usually at least one [SubscriptionListener](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_api.SubscriptionListener) is attached to the Subscription instance in order to consume the real-time updates. The following code shows the values of the fields *stock_name* and *last_price* each time a new update is received for the subscription:
57
+ Before sending the subscription to the server, usually at least one [SubscriptionListener](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_api.SubscriptionListener) is attached to the Subscription instance in order to consume the real-time updates. The following code shows the values of the fields *stock_name* and *last_price* each time a new update is received for the subscription:
58
58
 
59
59
  ```python
60
60
  class SubListener(SubscriptionListener):
@@ -88,7 +88,7 @@ client.connect()
88
88
 
89
89
  ## Logging
90
90
 
91
- To enable the internal client logger, create a [LoggerProvider](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_api.LoggerProvider) and set it as the default provider of [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.0/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient.setLoggerProvider).
91
+ To enable the internal client logger, create a [LoggerProvider](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_api.LoggerProvider) and set it as the default provider of [LightstreamerClient](https://lightstreamer.com/api/ls-python-client/2.2.1/lightstreamer.html#lightstreamer.client.ls_python_client_wrapper.LightstreamerClient.setLoggerProvider).
92
92
 
93
93
  ```python
94
94
  import sys, logging
@@ -107,7 +107,7 @@ Compatible with Lightstreamer Server since version 7.4.0.
107
107
 
108
108
  - [Live demos](https://demos.lightstreamer.com/?p=lightstreamer&t=client&lclient=python)
109
109
 
110
- - [API Reference](https://lightstreamer.com/api/ls-python-client/2.2.0/index.html)
110
+ - [API Reference](https://lightstreamer.com/api/ls-python-client/2.2.1/index.html)
111
111
 
112
112
  ## Support
113
113