crypticorn 2.8.0rc9__py3-none-any.whl → 2.8.2__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.
- crypticorn/__init__.py +0 -4
- crypticorn/cli/init.py +2 -2
- crypticorn/common/__init__.py +0 -2
- crypticorn/common/ansi_colors.py +1 -2
- crypticorn/common/auth.py +2 -2
- crypticorn/common/enums.py +0 -2
- crypticorn/common/errors.py +5 -8
- crypticorn/common/exceptions.py +20 -23
- crypticorn/common/logging.py +8 -6
- crypticorn/common/middleware.py +1 -2
- crypticorn/common/mixins.py +3 -10
- crypticorn/common/pagination.py +0 -2
- crypticorn/common/router/admin_router.py +7 -9
- crypticorn/common/router/status_router.py +1 -8
- crypticorn/common/scopes.py +3 -3
- crypticorn/common/urls.py +0 -9
- crypticorn/common/utils.py +8 -16
- crypticorn/klines/client/__init__.py +9 -1
- crypticorn/klines/client/api/__init__.py +1 -0
- crypticorn/klines/client/api/admin_api.py +1455 -0
- crypticorn/klines/client/api/change_in_timeframe_api.py +24 -20
- crypticorn/klines/client/api/funding_rates_api.py +12 -10
- crypticorn/klines/client/api/ohlcv_data_api.py +37 -24
- crypticorn/klines/client/api/status_api.py +8 -235
- crypticorn/klines/client/api/symbols_api.py +12 -9
- crypticorn/klines/client/api/udf_api.py +6 -6
- crypticorn/klines/client/models/__init__.py +8 -1
- crypticorn/klines/client/models/api_error_identifier.py +115 -0
- crypticorn/klines/client/models/api_error_level.py +37 -0
- crypticorn/klines/client/models/api_error_type.py +37 -0
- crypticorn/klines/client/models/exception_detail.py +6 -3
- crypticorn/klines/client/models/funding_rate.py +6 -12
- crypticorn/klines/client/models/funding_rate_response.py +103 -0
- crypticorn/klines/client/models/internal_exchange.py +39 -0
- crypticorn/klines/client/models/log_level.py +38 -0
- crypticorn/klines/client/models/market_type.py +35 -0
- crypticorn/klines/client/models/{ohlcv_history.py → ohlcv.py} +12 -13
- crypticorn/klines/client/models/search_symbol.py +3 -4
- crypticorn/klines/client/models/udf_config.py +2 -1
- crypticorn/klines/main.py +1 -13
- crypticorn/metrics/client/api/admin_api.py +22 -19
- crypticorn/metrics/client/api/status_api.py +6 -6
- crypticorn/metrics/client/configuration.py +4 -2
- {crypticorn-2.8.0rc9.dist-info → crypticorn-2.8.2.dist-info}/METADATA +1 -1
- {crypticorn-2.8.0rc9.dist-info → crypticorn-2.8.2.dist-info}/RECORD +48 -42
- crypticorn/common/openapi.py +0 -11
- crypticorn/common/warnings.py +0 -63
- {crypticorn-2.8.0rc9.dist-info → crypticorn-2.8.2.dist-info}/WHEEL +0 -0
- {crypticorn-2.8.0rc9.dist-info → crypticorn-2.8.2.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.8.0rc9.dist-info → crypticorn-2.8.2.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
crypticorn/__init__.py,sha256=
|
1
|
+
crypticorn/__init__.py,sha256=IWYO6MWcpNmgkH05xEywxcIjcegWuSo5cpNIDTRcpC8,303
|
2
2
|
crypticorn/client.py,sha256=XcJhgMoNSFQZJU3AoYuvxRMh-HPBPBlugKMpGSHxbIE,4700
|
3
3
|
crypticorn/auth/__init__.py,sha256=JAl1tBLK9pYLr_-YKaj581c-c94PWLoqnatTIVAVvMM,81
|
4
4
|
crypticorn/auth/main.py,sha256=j8eRGN2gUWyeOCnWnUPe3mCAfaidGnOMnZRiSQy-yzM,720
|
@@ -57,30 +57,28 @@ crypticorn/auth/client/models/wallet_verified200_response.py,sha256=IXhtaD0CC6Jp
|
|
57
57
|
crypticorn/auth/client/models/whoami200_response.py,sha256=-Kj3fB4lgNaa8v_LTertjxXahBYtTpTIXkBha9MhA1o,3199
|
58
58
|
crypticorn/cli/__init__.py,sha256=bgMmlpRThjYcxXJ1U3UmLE8ODVT5olmFY1u69VOjthQ,69
|
59
59
|
crypticorn/cli/__main__.py,sha256=x9T4xS3U-qokGEzad7rTujmq4yjV5xcYSXgNsDFkvyo,253
|
60
|
-
crypticorn/cli/init.py,sha256=
|
60
|
+
crypticorn/cli/init.py,sha256=8f7fihi1Wcd95ChvbLWl6U_zWnEYZC7XYSm6xacUTdE,3718
|
61
61
|
crypticorn/cli/templates/Dockerfile,sha256=89KlphaXJH51L7Vs4B928WmwYcMtpvLmKGyoDAhOcMw,726
|
62
62
|
crypticorn/cli/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
63
63
|
crypticorn/cli/templates/auth.py,sha256=Q1TxlA7qzhjvrqp1xz1aV2vGnj3DKFNN-VSl3o0B-dI,983
|
64
64
|
crypticorn/cli/templates/dependabot.yml,sha256=ct5ieB8KAV1KLzoYKUNm6dZ9wKG_P_JQHgRjZUfT54w,861
|
65
65
|
crypticorn/cli/templates/ruff.yml,sha256=gWicFFTzC4nToSmRkIIGipos8CZ447YG0kebBCJhtJE,319
|
66
|
-
crypticorn/common/__init__.py,sha256=
|
67
|
-
crypticorn/common/ansi_colors.py,sha256=
|
68
|
-
crypticorn/common/auth.py,sha256=
|
66
|
+
crypticorn/common/__init__.py,sha256=29n5tUr9-yjjJ8sjkbMrwq7pDKZ2Z1qz1bR1msGJDkA,671
|
67
|
+
crypticorn/common/ansi_colors.py,sha256=_ja-pxo0dUAT4WFZuYkOLliWA7LqTjvcew9dJUcgugU,1174
|
68
|
+
crypticorn/common/auth.py,sha256=GIb9MikQsSxqz-K5rDIOroP5mFoTgQqwByTGO5JqcdM,8713
|
69
69
|
crypticorn/common/decorators.py,sha256=pmnGYCIrLv59wZkDbvPyK9NJmgPJWW74LXTdIWSjOkY,1063
|
70
|
-
crypticorn/common/enums.py,sha256=
|
71
|
-
crypticorn/common/errors.py,sha256=
|
72
|
-
crypticorn/common/exceptions.py,sha256=
|
73
|
-
crypticorn/common/logging.py,sha256=
|
74
|
-
crypticorn/common/middleware.py,sha256=
|
75
|
-
crypticorn/common/mixins.py,sha256=
|
76
|
-
crypticorn/common/
|
77
|
-
crypticorn/common/
|
78
|
-
crypticorn/common/
|
79
|
-
crypticorn/common/
|
80
|
-
crypticorn/common/
|
81
|
-
crypticorn/common/
|
82
|
-
crypticorn/common/router/admin_router.py,sha256=h9-7DuNaYgYi8CDT2UTirob80w31dbRVZc7o2HSv_O4,3444
|
83
|
-
crypticorn/common/router/status_router.py,sha256=snscsxpqK8WVucKnivP8Z_J8VhLCBbpmKAjPwYMC3vA,869
|
70
|
+
crypticorn/common/enums.py,sha256=RitDVqlG_HTe6tHT6bWusZNFCeYk1eQvJVH-7x3_Zlg,668
|
71
|
+
crypticorn/common/errors.py,sha256=8jxZ2lLn_NoFKKq6n2JwKPsR0dA2vkGnbXDfEK6ndH0,27851
|
72
|
+
crypticorn/common/exceptions.py,sha256=9ftvKoMFP9rNvaYhCKDgbJXwTYrBlReMmFwL3RzZJYQ,6203
|
73
|
+
crypticorn/common/logging.py,sha256=xF7j4-rGj6ALlz5JwbMi4oEeyfI6VKDh3GlR3kCe3hc,4295
|
74
|
+
crypticorn/common/middleware.py,sha256=YF0_tTjQekZkb6ip3xsqy04JCI4S8011CiSL3helU2E,962
|
75
|
+
crypticorn/common/mixins.py,sha256=o-VONtAS_nHH-OPCFXox6kdX_Xdn1g37uTtkLqij-6U,1722
|
76
|
+
crypticorn/common/pagination.py,sha256=c07jrMNrBaNTmgx4sppdP7ND4RNT7NBqBXWvofazIlE,2251
|
77
|
+
crypticorn/common/scopes.py,sha256=ofJ5FDf30wab572XvDzAXVKBIUWa3shScAmzNrJsWqQ,2453
|
78
|
+
crypticorn/common/urls.py,sha256=3Gf1NU1XQYcOTjcdztG3bDAE98FVbgTK2QXzUe7tFVQ,878
|
79
|
+
crypticorn/common/utils.py,sha256=Kz2-I96MKIGKM18PHQ77VbKHLMGUvZG_jjj7xpQed8k,2138
|
80
|
+
crypticorn/common/router/admin_router.py,sha256=_Uvpkrg6daNiAdfr_2rtBlcCq8OvHy04Me12VRWdh4Y,3434
|
81
|
+
crypticorn/common/router/status_router.py,sha256=Bmvkee91U02eD245uSUD3xMxAd21Pj2X7niFe--42Hg,641
|
84
82
|
crypticorn/hive/__init__.py,sha256=hRfTlEzEql4msytdUC_04vfaHzVKG5CGZle1M-9QFgY,81
|
85
83
|
crypticorn/hive/main.py,sha256=eoo5bTmbfS94zuYHDkD20orNANESYuTURHQNw3pIEvQ,2875
|
86
84
|
crypticorn/hive/utils.py,sha256=5T2GYnIFazXgAdUlO03xWqcMWhWkM82cfWvwsO8geHE,2040
|
@@ -120,52 +118,60 @@ crypticorn/hive/client/models/target.py,sha256=otOJK8s5WVUen6J1AQZpRiD330RIpaJU6
|
|
120
118
|
crypticorn/hive/client/models/target_info.py,sha256=hFaOMZlirH2B68DQstL_c4WvtejwXyOk67lxIaeuh3Q,2857
|
121
119
|
crypticorn/hive/client/models/target_type.py,sha256=FUMaEFkPM7EvStPJE1auimDJ9mxDf6pbsFf-dF3coGw,684
|
122
120
|
crypticorn/klines/__init__.py,sha256=9UUW013uZ5x4evz5zRUxbNid-6O9WAPPYvPZIHpAwms,87
|
123
|
-
crypticorn/klines/main.py,sha256=
|
124
|
-
crypticorn/klines/client/__init__.py,sha256=
|
121
|
+
crypticorn/klines/main.py,sha256=AHeV-qiAyebV6n_vLPJCV3CliK2N85fXm7dXjjY6TNE,2347
|
122
|
+
crypticorn/klines/client/__init__.py,sha256=KAwR6kMFkKap_1Un_HsT8LqYLsTIKUNIJe9JI6Acprg,2792
|
125
123
|
crypticorn/klines/client/api_client.py,sha256=XYk_eoVRHxQDoTKJJwMpO__LbU1DQtpMikBTyulJrvE,26925
|
126
124
|
crypticorn/klines/client/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
|
127
125
|
crypticorn/klines/client/configuration.py,sha256=BbSjKLJEKc7v3aY4BX1G9U6nac_Krqi4msBkBZQ5tKg,19153
|
128
126
|
crypticorn/klines/client/exceptions.py,sha256=UQOoeVgvSQknAxeG-nfg0629MfAQH0IpDBwnB0t4Qb8,6418
|
129
127
|
crypticorn/klines/client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
130
128
|
crypticorn/klines/client/rest.py,sha256=M3VBl9SLU3D0L3DBX3Nr7sgL0Moh1G2mJX8KD_yyKbY,7021
|
131
|
-
crypticorn/klines/client/api/__init__.py,sha256=
|
132
|
-
crypticorn/klines/client/api/
|
133
|
-
crypticorn/klines/client/api/
|
134
|
-
crypticorn/klines/client/api/
|
135
|
-
crypticorn/klines/client/api/
|
136
|
-
crypticorn/klines/client/api/
|
137
|
-
crypticorn/klines/client/api/
|
138
|
-
crypticorn/klines/client/
|
129
|
+
crypticorn/klines/client/api/__init__.py,sha256=OPC4DMWEWdqEKjnZicasGIx7tlOCenxz_rdAQJli-2M,519
|
130
|
+
crypticorn/klines/client/api/admin_api.py,sha256=SF3nAFP7kWyzG-z9pkUW_EjdKN_PkXiIR33e1W6TzKY,59124
|
131
|
+
crypticorn/klines/client/api/change_in_timeframe_api.py,sha256=ALxGByJu6KBs2DBtoSP8ijjT4fc8eeWFsMn4focnbaA,12710
|
132
|
+
crypticorn/klines/client/api/funding_rates_api.py,sha256=8RNBfVKzLchukiPDjN7IXErF0audGsaJizL6iCuAh7U,13860
|
133
|
+
crypticorn/klines/client/api/ohlcv_data_api.py,sha256=zmj0dMTzofFf97np9mDZ4647Rj4gjL6w268GdUo_dmc,16806
|
134
|
+
crypticorn/klines/client/api/status_api.py,sha256=t25JyJxf7tCVCwrSUpyqN0ad8vcTRtxSfqQNLmurEeo,19708
|
135
|
+
crypticorn/klines/client/api/symbols_api.py,sha256=5TXxVW_6dHUAwbHd9qq2dNaM8orszUpYk1NdrNu6m9k,11059
|
136
|
+
crypticorn/klines/client/api/udf_api.py,sha256=zaPJPsyyuYfNzO28xkkn_ZDJOwVaDlwtYSq8uoHLQMo,60899
|
137
|
+
crypticorn/klines/client/models/__init__.py,sha256=xcPaL5Lz08YQOYkpODE_u13QTeOQSEomdcO4WMlJcmc,1686
|
138
|
+
crypticorn/klines/client/models/api_error_identifier.py,sha256=DJFq_7Bf4LSuUuckQjFXtWzbJCi9OxvY2wT3oIIk3jc,4945
|
139
|
+
crypticorn/klines/client/models/api_error_level.py,sha256=5m0d06bYaHGVgGC2y8cDmmokuHzIjJOPFM50874Wkm8,762
|
140
|
+
crypticorn/klines/client/models/api_error_type.py,sha256=SiuXT2lbTkDgNDA6pptaPwO1g4jSHSHnJprUmavmHS0,803
|
139
141
|
crypticorn/klines/client/models/change_in_timeframe.py,sha256=NBt_u2n5U1P1S8c28edokdbqyvTOYUQ7dYgvi2g_Ci8,2554
|
140
|
-
crypticorn/klines/client/models/exception_detail.py,sha256=
|
141
|
-
crypticorn/klines/client/models/funding_rate.py,sha256=
|
142
|
-
crypticorn/klines/client/models/
|
142
|
+
crypticorn/klines/client/models/exception_detail.py,sha256=OU_H52xmYcKJ2f0W-kovSdISVaBYrpwF3XH7_Q88Fck,3953
|
143
|
+
crypticorn/klines/client/models/funding_rate.py,sha256=MU24vcCoIbyFQntfzkWaU8HHIDkjogrKDjvQwA7_FXU,2687
|
144
|
+
crypticorn/klines/client/models/funding_rate_response.py,sha256=HuvD4kd6jzJGzJBbZh2nUGbY022kfOBcvTbY9Nswx0E,3497
|
145
|
+
crypticorn/klines/client/models/internal_exchange.py,sha256=Kf_eokFz8j6LFXKRYV4NU9zSsEB3GdMppnSgDplGgG8,861
|
146
|
+
crypticorn/klines/client/models/log_level.py,sha256=7Fs-tsgqDurXrTfovY-B-wz3OTE_wr6IGlAZaveXJbc,766
|
147
|
+
crypticorn/klines/client/models/market_type.py,sha256=iborRpJg9DypJuxB_RtkAzlzFaJLL4Onn1HYDbFXkEc,708
|
148
|
+
crypticorn/klines/client/models/ohlcv.py,sha256=Xht0wCRM-2cHn3b9nwRKM0x8RVZNg5Dqxly0jrzHTiU,3194
|
143
149
|
crypticorn/klines/client/models/resolution.py,sha256=xmyK99K0R7-8XEz3vEjEfPUT70BtRjbSHtsTs6wheFE,761
|
144
|
-
crypticorn/klines/client/models/search_symbol.py,sha256=
|
150
|
+
crypticorn/klines/client/models/search_symbol.py,sha256=nxYE-yLT71UXXEh4I8euPMZcGrlbkBxGZKONJvRxK2g,2798
|
145
151
|
crypticorn/klines/client/models/sort_direction.py,sha256=wFU7tm4M9bgR55rgN2aKLBPISnG9xKGTEXqcNV4fkSw,707
|
146
152
|
crypticorn/klines/client/models/symbol_group.py,sha256=E_BxSCHzZQCInnakWw1Q5VI6ysHdjMR3SuZRJ9p0Ukk,2437
|
147
153
|
crypticorn/klines/client/models/symbol_info.py,sha256=aAdze6VgvTqnfhTelP1fVzCJkh5L7OUwcWN7J0nCRkc,3998
|
148
154
|
crypticorn/klines/client/models/symbol_type.py,sha256=uOEqlQJ714fa0SEYOxzCOx9cG-q1OoP_rZ5_nU461Vc,2449
|
149
155
|
crypticorn/klines/client/models/timeframe.py,sha256=bSZJz3Q78V1RAnm3ZDtGBzFOnDKE3Pc5A0eP3ky3KaI,760
|
150
|
-
crypticorn/klines/client/models/udf_config.py,sha256=
|
156
|
+
crypticorn/klines/client/models/udf_config.py,sha256=cVSxnJrkwnS4p0fEUgZMekueDv28k-p58bZwvHMSmqc,5152
|
151
157
|
crypticorn/metrics/__init__.py,sha256=t7FrHV5PaVTka90eIxDgOaWvOiyznSStcUanSbLov2o,126
|
152
158
|
crypticorn/metrics/main.py,sha256=I4KZ-46ro6I6-EWf3p1BZV-8Iryorr8pRUZhv3yXzXI,3581
|
153
159
|
crypticorn/metrics/client/__init__.py,sha256=zp5tyfddEBfFrCqp9YEAwObC60lZ0GnqO3dvsAOt1zE,2530
|
154
160
|
crypticorn/metrics/client/api_client.py,sha256=pGWJuO-mgxlUdhJGwkScf7CviGzjDrmUAiU0LXasQY4,26934
|
155
161
|
crypticorn/metrics/client/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
|
156
|
-
crypticorn/metrics/client/configuration.py,sha256=
|
162
|
+
crypticorn/metrics/client/configuration.py,sha256=BQNgtkCNhI3uB8qCV54TMf85b3sFzQYvXGMbhar5KSM,19202
|
157
163
|
crypticorn/metrics/client/exceptions.py,sha256=UegnYftFlQDXAQv8BmD20yRzTtWpjTHcuOymTBWmgeE,6421
|
158
164
|
crypticorn/metrics/client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
159
165
|
crypticorn/metrics/client/rest.py,sha256=pWeYnpTfTV7L5U6Kli3b7i8VrmqdG8sskqSnTHPIoQo,7025
|
160
166
|
crypticorn/metrics/client/api/__init__.py,sha256=nNmEy9XBH8jQboMzedrzeGl8OVuDo_iylCaFw4Fgysg,649
|
161
|
-
crypticorn/metrics/client/api/admin_api.py,sha256=
|
167
|
+
crypticorn/metrics/client/api/admin_api.py,sha256=QAfVE4Ag2QAsu1imyK-ylrQDxQX4-Ue10H7pxAfGPb0,59131
|
162
168
|
crypticorn/metrics/client/api/exchanges_api.py,sha256=BZiJH8hxxSnI9SXydgErM6gzvIR-t9vNXbh9fFotpQQ,40455
|
163
169
|
crypticorn/metrics/client/api/indicators_api.py,sha256=gltFmv_EorYbeWMnp-N0QkgdVKrkvi1iOZUP_ewkXZ0,26748
|
164
170
|
crypticorn/metrics/client/api/logs_api.py,sha256=lDOixn5hn3DWc6HjExWtKZfy7U4NfcSLsO1bNFrx4GE,13550
|
165
171
|
crypticorn/metrics/client/api/marketcap_api.py,sha256=28lQlBJh5hdW7fULJl55bAJy_HWZWEdouds63YJIwAQ,51106
|
166
172
|
crypticorn/metrics/client/api/markets_api.py,sha256=NbPtD5bQK_Nt73hlVd6cd1pAZ7HO1QQgNl_abNoN00s,14739
|
167
173
|
crypticorn/metrics/client/api/quote_currencies_api.py,sha256=H4c3zOp5eTTUrRMlMH-H8aIIBpV4Ioj8c65UUt_BEuE,11259
|
168
|
-
crypticorn/metrics/client/api/status_api.py,sha256=
|
174
|
+
crypticorn/metrics/client/api/status_api.py,sha256=hxQf-22CurM-1TQygsYeYiL8CVhFe9cCPbDkX0zLvfg,19714
|
169
175
|
crypticorn/metrics/client/api/tokens_api.py,sha256=x5a-YAeAgFJm-pN4K3-lOM-WPVYAxoBr-AYb-oxhysM,19522
|
170
176
|
crypticorn/metrics/client/models/__init__.py,sha256=Voa1tj-CTpvzF6UmGJf0h0zFqG-7wFV8TSwH_lst0WY,1285
|
171
177
|
crypticorn/metrics/client/models/api_error_identifier.py,sha256=HrL78MgQ0NbWv8CJhl6Zbp3QSIK2xO8lAZy5y6M8NCk,4948
|
@@ -249,8 +255,8 @@ crypticorn/trade/client/models/strategy_model_input.py,sha256=ala19jARyfA5ysys5D
|
|
249
255
|
crypticorn/trade/client/models/strategy_model_output.py,sha256=2o2lhbgUSTznowpMLEHF1Ex9TG9oRmzlCIb-gXqo7_s,5643
|
250
256
|
crypticorn/trade/client/models/tpsl.py,sha256=C2KgTIZs-a8W4msdaXgBKJcwtA-o5wR4rBauRP-iQxU,4317
|
251
257
|
crypticorn/trade/client/models/trading_action_type.py,sha256=pGq_TFLMPfYFizYP-xKgEC1ZF4U3lGdJYoGa_ZH2x-Q,769
|
252
|
-
crypticorn-2.8.
|
253
|
-
crypticorn-2.8.
|
254
|
-
crypticorn-2.8.
|
255
|
-
crypticorn-2.8.
|
256
|
-
crypticorn-2.8.
|
258
|
+
crypticorn-2.8.2.dist-info/METADATA,sha256=B7EG9yD08ytfGzAtUUcaYC2zdXzb2zwi8QbcU2HYjmg,8140
|
259
|
+
crypticorn-2.8.2.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
260
|
+
crypticorn-2.8.2.dist-info/entry_points.txt,sha256=d_xHsGvUTebPveVUK0SrpDFQ5ZRSjlI7lNCc11sn2PM,59
|
261
|
+
crypticorn-2.8.2.dist-info/top_level.txt,sha256=EP3NY216qIBYfmvGl0L2Zc9ItP0DjGSkiYqd9xJwGcM,11
|
262
|
+
crypticorn-2.8.2.dist-info/RECORD,,
|
crypticorn/common/openapi.py
DELETED
crypticorn/common/warnings.py
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
"""Crypticorn-specific warnings."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
|
6
|
-
class CrypticornDeprecationWarning(DeprecationWarning):
|
7
|
-
"""A Crypticorn specific deprecation warning.
|
8
|
-
|
9
|
-
This warning is raised when using deprecated functionality in Crypticorn. It provides information on when the
|
10
|
-
deprecation was introduced and the expected version in which the corresponding functionality will be removed.
|
11
|
-
|
12
|
-
Attributes:
|
13
|
-
message: Description of the warning.
|
14
|
-
since: Crypticorn version in what the deprecation was introduced.
|
15
|
-
expected_removal: Crypticorn version in what the corresponding functionality expected to be removed.
|
16
|
-
"""
|
17
|
-
|
18
|
-
message: str
|
19
|
-
since: tuple[int, int]
|
20
|
-
expected_removal: tuple[int, int]
|
21
|
-
|
22
|
-
def __init__(
|
23
|
-
self,
|
24
|
-
message: str,
|
25
|
-
*args: object,
|
26
|
-
since: tuple[int, int],
|
27
|
-
expected_removal: tuple[int, int] | None = None,
|
28
|
-
) -> None:
|
29
|
-
super().__init__(message, *args)
|
30
|
-
self.message = message.rstrip(".")
|
31
|
-
self.since = since
|
32
|
-
self.expected_removal = (
|
33
|
-
expected_removal if expected_removal is not None else (since[0] + 1, 0)
|
34
|
-
)
|
35
|
-
|
36
|
-
def __str__(self) -> str:
|
37
|
-
message = (
|
38
|
-
f"{self.message}. Deprecated in Crypticorn v{self.since[0]}.{self.since[1]}"
|
39
|
-
f" to be removed in v{self.expected_removal[0]}.{self.expected_removal[1]}."
|
40
|
-
)
|
41
|
-
return message
|
42
|
-
|
43
|
-
|
44
|
-
class CrypticornDeprecatedSince25(CrypticornDeprecationWarning):
|
45
|
-
"""A specific `CrypticornDeprecationWarning` subclass defining functionality deprecated since Crypticorn 2.5."""
|
46
|
-
|
47
|
-
def __init__(self, message: str, *args: object) -> None:
|
48
|
-
super().__init__(message, *args, since=(2, 5), expected_removal=(3, 0))
|
49
|
-
|
50
|
-
|
51
|
-
class CrypticornDeprecatedSince28(CrypticornDeprecationWarning):
|
52
|
-
"""A specific `CrypticornDeprecationWarning` subclass defining functionality deprecated since Crypticorn 2.8."""
|
53
|
-
|
54
|
-
def __init__(self, message: str, *args: object) -> None:
|
55
|
-
super().__init__(message, *args, since=(2, 8), expected_removal=(3, 0))
|
56
|
-
|
57
|
-
|
58
|
-
class CrypticornExperimentalWarning(Warning):
|
59
|
-
"""A Crypticorn specific experimental functionality warning.
|
60
|
-
|
61
|
-
This warning is raised when using experimental functionality in Crypticorn.
|
62
|
-
It is raised to warn users that the functionality may change or be removed in future versions of Crypticorn.
|
63
|
-
"""
|
File without changes
|
File without changes
|
File without changes
|