crypto-com-sdk 0.0.21__py3-none-any.whl → 0.0.23__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crypto-com-sdk
3
- Version: 0.0.21
3
+ Version: 0.0.23
4
4
  Summary: cryptocom crypto exchange api client
5
5
  Project-URL: Homepage, https://github.com/ccxt/ccxt
6
6
  Project-URL: Issues, https://github.com/ccxt/ccxt
@@ -53,8 +53,9 @@ import sys
53
53
  import asyncio
54
54
  from cryptocom import CryptocomAsync
55
55
 
56
- if sys.platform == 'win32':
57
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
56
+ ### on Windows, uncomment below:
57
+ # if sys.platform == 'win32':
58
+ # asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
58
59
 
59
60
  async def main():
60
61
  instance = CryptocomAsync({})
@@ -78,8 +79,9 @@ asyncio.run(main())
78
79
  import sys
79
80
  from cryptocom import CryptocomWs
80
81
 
81
- if sys.platform == 'win32':
82
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
82
+ ### on Windows, uncomment below:
83
+ # if sys.platform == 'win32':
84
+ # asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
83
85
 
84
86
  async def main():
85
87
  instance = CryptocomWs({})
@@ -90,6 +92,8 @@ async def main():
90
92
 
91
93
  # once you are done with the exchange
92
94
  await instance.close()
95
+
96
+ asyncio.run(main())
93
97
  ```
94
98
 
95
99
 
@@ -283,6 +283,6 @@ cryptocom/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayA
283
283
  cryptocom/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
284
284
  cryptocom/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
285
  cryptocom/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
286
- crypto_com_sdk-0.0.21.dist-info/METADATA,sha256=SjZB8P0Hbx3gJVESZ5YJhxyrk8GKq4JBr6w5U_g5SXk,14594
287
- crypto_com_sdk-0.0.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
288
- crypto_com_sdk-0.0.21.dist-info/RECORD,,
286
+ crypto_com_sdk-0.0.23.dist-info/METADATA,sha256=YzMT21bnZrFDSHSMGAEAbRD1rKDwf6rzkJiLj9WZM_4,14689
287
+ crypto_com_sdk-0.0.23.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
288
+ crypto_com_sdk-0.0.23.dist-info/RECORD,,