mexc-exchange-api 0.0.26__py3-none-any.whl → 0.0.28__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.

Potentially problematic release.


This version of mexc-exchange-api might be problematic. Click here for more details.

mexc/ccxt/__init__.py CHANGED
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.4.78'
29
+ __version__ = '4.4.80'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.78'
11
+ __version__ = '4.4.80'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.78'
5
+ __version__ = '4.4.80'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -114,6 +114,10 @@ class Exchange(BaseExchange):
114
114
  if self.ssl_context is None:
115
115
  # Create our SSL context object with our CA cert file
116
116
  self.ssl_context = ssl.create_default_context(cafile=self.cafile) if self.verify else self.verify
117
+ if (self.ssl_context and self.safe_bool(self.options, 'include_OS_certificates', False)):
118
+ os_default_paths = ssl.get_default_verify_paths()
119
+ if os_default_paths.cafile and os_default_paths.cafile != self.cafile:
120
+ self.ssl_context.load_verify_locations(cafile=os_default_paths.cafile)
117
121
 
118
122
  if self.own_session and self.session is None:
119
123
  # Pass this SSL context to aiohttp and create a TCPConnector
mexc/ccxt/base/errors.py CHANGED
@@ -1,9 +1,3 @@
1
- # ----------------------------------------------------------------------------
2
-
3
- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
4
- # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
5
- # EDIT THE CORRESPONDENT .ts FILE INSTEAD
6
-
7
1
  error_hierarchy = {
8
2
  'BaseError': {
9
3
  'ExchangeError': {
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.78'
7
+ __version__ = '4.4.80'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
mexc/ccxt/pro/__init__.py CHANGED
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.78'
11
+ __version__ = '4.4.80'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mexc-exchange-api
3
- Version: 0.0.26
3
+ Version: 0.0.28
4
4
  Summary: mexc crypto exchange api client
5
5
  Project-URL: Homepage, https://github.com/ccxt/ccxt
6
6
  Project-URL: Issues, https://github.com/ccxt/ccxt
@@ -1,11 +1,11 @@
1
1
  mexc/__init__.py,sha256=bFV_Nfz_k-lfB_ImsHGpFnJuVMUXLBRbttugnPV7c4A,222
2
- mexc/ccxt/__init__.py,sha256=30nYloMrajC_xlUAWNHvVtDMECt8zIUCDfWtZlDNPks,6044
2
+ mexc/ccxt/__init__.py,sha256=LtF6yTOWdsnb8s-93aTsE-44D2CNeaE0jsswdUkcJVE,6044
3
3
  mexc/ccxt/mexc.py,sha256=9vLlOcQiBRpa9i_l6p4nLd_vXuGpfXKCjZURps2PyA0,258865
4
4
  mexc/ccxt/abstract/mexc.py,sha256=oyg0sZFYs1d77F-_9QAatqMSQJ8h-1u1wWb-d1DX2zQ,26434
5
- mexc/ccxt/async_support/__init__.py,sha256=CAtbWvnRj_hcZQ58uiFF8l6nzMCsNtFhHsP9r7X-GYU,4777
5
+ mexc/ccxt/async_support/__init__.py,sha256=CJmAMgG8dzDdqF7ZBNF1WL2fRFW4Rc7_Gmt-1c59m7I,4777
6
6
  mexc/ccxt/async_support/mexc.py,sha256=2AOkhXyED_2TRlXDGrFw6oxlzCN_aP3TJwkJYqYmmzw,260129
7
7
  mexc/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- mexc/ccxt/async_support/base/exchange.py,sha256=AOQnGV5CUYT2fOCko3E6JqYxa_s8_QxHDdBxbqUUOgU,117255
8
+ mexc/ccxt/async_support/base/exchange.py,sha256=fFbTwjLVQEHgO857XsJEKewCRbGEdCK3Fgxe-ju3D50,117601
9
9
  mexc/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
10
10
  mexc/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
11
11
  mexc/ccxt/async_support/base/ws/aiohttp_client.py,sha256=Y5HxAVXyyYduj6b6SbbUZETlq3GrVMzrkW1r-TMgpb8,6329
@@ -18,11 +18,11 @@ mexc/ccxt/async_support/base/ws/order_book.py,sha256=uBUaIHhzMRykpmo4BCsdJ-t_Hoz
18
18
  mexc/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9produGjmBJLCI5FHIRdMz1O-g,6551
19
19
  mexc/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
20
20
  mexc/ccxt/base/decimal_to_precision.py,sha256=fgWRBzRTtsf3r2INyS4f7WHlzgjB5YM1ekiwqD21aac,6634
21
- mexc/ccxt/base/errors.py,sha256=MvCrL_sAM3de616T6RE0PSxiF2xV6Qqz5b1y1ghidbk,4888
22
- mexc/ccxt/base/exchange.py,sha256=R0StVeXIxmXvA73by-Gqx70tT7wbJMNuenrVXgoe0Dk,326255
21
+ mexc/ccxt/base/errors.py,sha256=Pad-6ugvGUwhoYuKUliX-N7FTrcnKCQGFjsaq2tMn0I,4610
22
+ mexc/ccxt/base/exchange.py,sha256=Htk-wL8Aqmj3XEffVhRsoj_OzpZuFATi0aGkV6oWk64,326255
23
23
  mexc/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
24
24
  mexc/ccxt/base/types.py,sha256=SfxIKDSsxP7MPHWiOVI965Nr5NSEPpAno5fuveTRi3w,11423
25
- mexc/ccxt/pro/__init__.py,sha256=fR0Wlm_V4LT9z1kUkYrNO6c0yOtmFyoFzkiEL6qmicE,615
25
+ mexc/ccxt/pro/__init__.py,sha256=zz2Ho8hNI3cyRoFC3d1rc6equXzjtGUl8UF1zjtYtgM,615
26
26
  mexc/ccxt/pro/mexc.py,sha256=SRaTTx4D4OcZi5Im9wBm6Rh54vZCxeeAcC5rK6NB3wk,56535
27
27
  mexc/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
28
28
  mexc/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
@@ -283,6 +283,6 @@ mexc/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX2u
283
283
  mexc/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
284
284
  mexc/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
285
  mexc/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
286
- mexc_exchange_api-0.0.26.dist-info/METADATA,sha256=k5NtLFYCXo2B5_vgmN5VpGYb1LBUKtcdPkJl1KKNNWQ,17847
287
- mexc_exchange_api-0.0.26.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
288
- mexc_exchange_api-0.0.26.dist-info/RECORD,,
286
+ mexc_exchange_api-0.0.28.dist-info/METADATA,sha256=hkNYETe_DeCAIuy4dbGu8SS6n1PU_nK7iCe-4JaM8rQ,17847
287
+ mexc_exchange_api-0.0.28.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
288
+ mexc_exchange_api-0.0.28.dist-info/RECORD,,