From 1d57d8837a494fffd2e3aa09a1456ba543354f19 Mon Sep 17 00:00:00 2001 From: sndmndss Date: Wed, 28 Aug 2024 15:48:28 +0200 Subject: [PATCH 1/4] add constants, reformat code, fix lock file --- bpx/account.py | 48 +- bpx/async_/account.py | 48 +- bpx/base/base_account.py | 71 ++- bpx/base/base_public.py | 24 +- bpx/constants/__init__.py | 0 bpx/{enums/__init__.py => constants/enums.py} | 1 + bpx/http_client/async_http_client.py | 2 +- bpx/http_client/base/__init__.py | 0 bpx/http_client/{ => base}/http_client.py | 0 bpx/http_client/sync_http_client.py | 2 +- bpx/models/__init__.py | 0 bpx/models/request_configuration.py | 9 + poetry.lock | 474 ++++++++++-------- 13 files changed, 375 insertions(+), 304 deletions(-) create mode 100644 bpx/constants/__init__.py rename bpx/{enums/__init__.py => constants/enums.py} (97%) create mode 100644 bpx/http_client/base/__init__.py rename bpx/http_client/{ => base}/http_client.py (100%) create mode 100644 bpx/models/__init__.py create mode 100644 bpx/models/request_configuration.py diff --git a/bpx/account.py b/bpx/account.py index c4b2433..d2153fb 100644 --- a/bpx/account.py +++ b/bpx/account.py @@ -25,8 +25,8 @@ def get_balances(self, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Capital/operation/get_balances """ - url, headers = super().get_balances(window) - return self.http_client.get(url, headers=headers) + request_config = super().get_balances(window) + return self.http_client.get(url=request_config.url, headers=request_config.headers) def get_deposits( self, @@ -41,8 +41,8 @@ def get_deposits( https://docs.backpack.exchange/#tag/Capital/operation/get_deposits """ - url, headers, params = super().get_deposits(limit, offset, window, from_, to) - return self.http_client.get(url, headers=headers, params=params) + request_config = super().get_deposits(limit, offset, window, from_, to) + return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def get_deposit_address(self, blockchain: str, window: Optional[int] = None): """ @@ -50,8 +50,8 @@ def get_deposit_address(self, blockchain: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Capital/operation/get_deposit_address """ - url, headers, params = super().get_deposit_address(blockchain, window) - return self.http_client.get(url, headers=headers, params=params) + request_config = super().get_deposit_address(blockchain, window) + return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def get_withdrawals( self, @@ -66,8 +66,8 @@ def get_withdrawals( https://docs.backpack.exchange/#tag/Capital/operation/get_withdrawals """ - url, headers, params = super().get_withdrawals(limit, offset, from_, to, window) - return self.http_client.get(url, headers=headers, params=params) + request_config = super().get_withdrawals(limit, offset, from_, to, window) + return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def withdrawal( self, @@ -82,10 +82,10 @@ def withdrawal( https://docs.backpack.exchange/#tag/Capital/operation/request_withdrawal """ - url, headers, params = super().withdrawal( + request_config = super().withdrawal( address, symbol, blockchain, quantity, window ) - return self.http_client.post(url, headers=headers, data=params) + return self.http_client.post(url=request_config.url, headers=request_config.headers, data=request_config.data) def get_order_history_query( self, symbol: str, limit: int = 100, offset: int = 0, window: Optional[int] = None @@ -95,10 +95,10 @@ def get_order_history_query( https://docs.backpack.exchange/#tag/History/operation/get_order_history """ - url, headers, params = super().get_order_history_query( + request_config = super().get_order_history_query( symbol, limit, offset, window ) - return self.http_client.get(url, headers=headers, params=params) + return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def get_fill_history_query( self, @@ -114,10 +114,10 @@ def get_fill_history_query( https://docs.backpack.exchange/#tag/History/operation/get_fills """ - url, headers, params = super().get_fill_history_query( + request_config = super().get_fill_history_query( symbol, limit, offset, from_, to, window ) - return self.http_client.get(url, headers=headers, params=params) + return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def get_open_order( self, @@ -131,10 +131,10 @@ def get_open_order( https://docs.backpack.exchange/#tag/Order/operation/get_order """ - url, headers, params = super().get_open_order( + request_config = super().get_open_order( symbol, order_id, client_id, window ) - return self.http_client.get(url, headers=headers, params=params) + return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def execute_order( self, @@ -156,7 +156,7 @@ def execute_order( https://docs.backpack.exchange/#tag/Order/operation/execute_order """ - url, headers, params = super().execute_order( + request_config = super().execute_order( symbol, side, order_type, @@ -170,7 +170,7 @@ def execute_order( post_only, window, ) - return self.http_client.post(url, headers=headers, data=params) + return self.http_client.post(url=request_config.url, headers=request_config.headers, data=request_config.data) def cancel_order( self, @@ -184,8 +184,8 @@ def cancel_order( https://docs.backpack.exchange/#tag/Order/operation/cancel_order """ - url, headers, params = super().cancel_order(symbol, order_id, client_id, window) - return self.http_client.delete(url, headers=headers, data=params) + request_config = super().cancel_order(symbol, order_id, client_id, window) + return self.http_client.delete(url=request_config.url, headers=request_config.headers, data=request_config.data) def get_open_orders(self, symbol: str, window: Optional[int] = None): """ @@ -193,8 +193,8 @@ def get_open_orders(self, symbol: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Order/operation/get_open_orders """ - url, headers, params = super().get_open_orders(symbol, window) - return self.http_client.get(url, headers=headers, params=params) + request_config = super().get_open_orders(symbol, window) + return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def cancel_all_orders(self, symbol: str, window: Optional[int] = None): """ @@ -202,5 +202,5 @@ def cancel_all_orders(self, symbol: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Order/operation/cancel_open_orders """ - url, headers, params = super().cancel_all_orders(symbol, window) - return self.http_client.delete(url, headers=headers, data=params) + request_config = super().cancel_all_orders(symbol, window) + return self.http_client.delete(url=request_config.url, headers=request_config.headers, data=request_config.data) diff --git a/bpx/async_/account.py b/bpx/async_/account.py index cadc524..0639cf5 100644 --- a/bpx/async_/account.py +++ b/bpx/async_/account.py @@ -25,8 +25,8 @@ async def get_balances(self, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Capital/operation/get_balances """ - url, headers = super().get_balances(window) - return await self.http_client.get(url, headers=headers) + request_config = super().get_balances(window) + return await self.http_client.get(url=request_config.url, headers=request_config.headers) async def get_deposits( self, @@ -41,8 +41,8 @@ async def get_deposits( https://docs.backpack.exchange/#tag/Capital/operation/get_deposits """ - url, headers, params = super().get_deposits(limit, offset, window) - return await self.http_client.get(url, headers=headers, params=params) + request_config = super().get_deposits(limit, offset, window) + return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def get_deposit_address(self, blockchain: str, window: Optional[int] = None): """ @@ -50,8 +50,8 @@ async def get_deposit_address(self, blockchain: str, window: Optional[int] = Non https://docs.backpack.exchange/#tag/Capital/operation/get_deposit_address """ - url, headers, params = super().get_deposit_address(blockchain, window) - return await self.http_client.get(url, headers=headers, params=params) + request_config = super().get_deposit_address(blockchain, window) + return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def get_withdrawals( self, @@ -66,8 +66,8 @@ async def get_withdrawals( https://docs.backpack.exchange/#tag/Capital/operation/get_withdrawals """ - url, headers, params = super().get_withdrawals(limit, offset, from_, to, window) - return await self.http_client.get(url, headers=headers, params=params) + request_config = super().get_withdrawals(limit, offset, from_, to, window) + return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def withdrawal( self, @@ -82,10 +82,10 @@ async def withdrawal( https://docs.backpack.exchange/#tag/Capital/operation/request_withdrawal """ - url, headers, params = super().withdrawal( + request_config = super().withdrawal( address, symbol, blockchain, quantity, window ) - return await self.http_client.post(url, headers=headers, data=params) + return await self.http_client.post(url=request_config.url, headers=request_config.headers, data=request_config.data) async def get_order_history_query( self, symbol: str, limit: int = 100, offset: int = 0, window: Optional[int] = None @@ -95,10 +95,10 @@ async def get_order_history_query( https://docs.backpack.exchange/#tag/History/operation/get_order_history """ - url, headers, params = super().get_order_history_query( + request_config = super().get_order_history_query( symbol, limit, offset, window ) - return await self.http_client.get(url, headers=headers, params=params) + return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def get_fill_history_query( self, @@ -114,10 +114,10 @@ async def get_fill_history_query( https://docs.backpack.exchange/#tag/History/operation/get_fills """ - url, headers, params = super().get_fill_history_query( + request_config = super().get_fill_history_query( symbol, limit, offset, from_, to, window ) - return await self.http_client.get(url, headers=headers, params=params) + return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def get_open_order( self, @@ -131,10 +131,10 @@ async def get_open_order( https://docs.backpack.exchange/#tag/Order/operation/get_order """ - url, headers, params = super().get_open_order( + request_config = super().get_open_order( symbol, order_id, client_id, window ) - return await self.http_client.get(url, headers=headers, params=params) + return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def execute_order( self, @@ -156,7 +156,7 @@ async def execute_order( https://docs.backpack.exchange/#tag/Order/operation/execute_order """ - url, headers, params = super().execute_order( + request_config = super().execute_order( symbol, side, order_type, @@ -170,7 +170,7 @@ async def execute_order( post_only, window, ) - return await self.http_client.post(url, headers=headers, data=params) + return await self.http_client.post(url=request_config.url, headers=request_config.headers, data=request_config.data) async def cancel_order( self, @@ -184,8 +184,8 @@ async def cancel_order( https://docs.backpack.exchange/#tag/Order/operation/cancel_order """ - url, headers, params = super().cancel_order(symbol, order_id, client_id, window) - return await self.http_client.delete(url, headers=headers, data=params) + request_config = super().cancel_order(symbol, order_id, client_id, window) + return await self.http_client.delete(url=request_config.url, headers=request_config.headers, data=request_config.data) async def get_open_orders(self, symbol: str, window: Optional[int] = None): """ @@ -193,8 +193,8 @@ async def get_open_orders(self, symbol: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Order/operation/get_open_orders """ - url, headers, params = super().get_open_orders(symbol, window) - return await self.http_client.get(url, headers=headers, params=params) + request_config = super().get_open_orders(symbol, window) + return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def cancel_all_orders(self, symbol: str, window: Optional[int] = None): """ @@ -202,5 +202,5 @@ async def cancel_all_orders(self, symbol: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Order/operation/cancel_open_orders """ - url, headers, params = super().cancel_all_orders(symbol, window) - return await self.http_client.delete(url, headers=headers, data=params) + request_config = super().cancel_all_orders(symbol, window) + return await self.http_client.delete(url=request_config.url, headers=request_config.headers, data=request_config.data) diff --git a/bpx/base/base_account.py b/bpx/base/base_account.py index e9694cc..344b886 100644 --- a/bpx/base/base_account.py +++ b/bpx/base/base_account.py @@ -1,9 +1,10 @@ from cryptography.hazmat.primitives.asymmetric import ed25519 import base64 from typing import Optional +from bpx.models.request_configuration import RequestConfiguration from time import time from bpx.exceptions import * -from bpx.enums import * +from bpx.constants.enums import * class BaseAccount: @@ -23,15 +24,16 @@ def __init__(self, public_key: str, secret_key: str, window: int, debug: bool): self.window = window self.debug = debug - def get_balances(self, window: Optional[int] = None): + def get_balances(self, window: Optional[int] = None) -> RequestConfiguration: """ - Returns the url, headers and request parameters for getting account balances + Returns the url, headers for getting account balances https://docs.backpack.exchange/#tag/Capital/operation/get_balances """ headers = self._headers({}, "balanceQuery", window=window) url = self.BPX_API_URL + "api/v1/capital" - return url, headers + request_config = RequestConfiguration(url=url, headers=headers) + return request_config def get_deposits( self, @@ -40,7 +42,7 @@ def get_deposits( from_: Optional[int] = None, to: Optional[int] = None, window: Optional[int] = None, - ): + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting account deposits @@ -60,9 +62,10 @@ def get_deposits( params["to"] = to headers = self._headers(params, "depositQueryAll", window=window) url = self.BPX_API_URL + "wapi/v1/capital/deposits" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, params=params) + return request_config - def get_deposit_address(self, blockchain: str, window: Optional[int] = None): + def get_deposit_address(self, blockchain: str, window: Optional[int] = None) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting a deposit address @@ -73,7 +76,8 @@ def get_deposit_address(self, blockchain: str, window: Optional[int] = None): params = {"blockchain": blockchain} headers = self._headers(params, "depositAddressQuery", window=window) url = self.BPX_API_URL + "wapi/v1/capital/deposit/address" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, params=params) + return request_config def get_withdrawals( self, @@ -82,7 +86,7 @@ def get_withdrawals( from_: Optional[int] = None, to: Optional[int] = None, window: Optional[int] = None, - ): + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting account withdrawals @@ -99,7 +103,8 @@ def get_withdrawals( params["to"] = to headers = self._headers(params, "withdrawalQueryAll", window=window) url = self.BPX_API_URL + "wapi/v1/capital/withdrawals" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, params=params) + return request_config def withdrawal( self, @@ -108,7 +113,7 @@ def withdrawal( blockchain: str, quantity: str, window: Optional[int] = None, - ): + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for withdrawing funds @@ -124,11 +129,12 @@ def withdrawal( } headers = self._headers(params, "withdraw", window=window) url = self.BPX_API_URL + "wapi/v1/capital/withdrawals" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, data=params) + return request_config def get_order_history_query( self, symbol: str, limit: int, offset: int, window: Optional[int] - ): + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting account order history @@ -141,7 +147,8 @@ def get_order_history_query( params = {"symbol": symbol, "limit": limit, "offset": offset} headers = self._headers(params, "orderHistoryQueryAll", window=window) url = self.BPX_API_URL + "wapi/v1/history/orders" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, params=params) + return request_config def get_fill_history_query( self, @@ -151,7 +158,7 @@ def get_fill_history_query( from_: Optional[int] = None, to: Optional[int] = None, window: Optional[int] = None, - ): + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting account fill history @@ -179,7 +186,8 @@ def get_fill_history_query( params["to"] = to headers = self._headers(params, "fillHistoryQueryAll", window=window) url = self.BPX_API_URL + "wapi/v1/history/fills" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, params=params) + return request_config def get_open_order( self, @@ -187,7 +195,7 @@ def get_open_order( order_id: Optional[str] = None, client_id: Optional[int] = None, window: Optional[int] = None, - ): + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting account open orders @@ -201,7 +209,8 @@ def get_open_order( params["clientId"] = str(client_id) headers = self._headers(params, "orderQuery", window=window) url = self.BPX_API_URL + "api/v1/order" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, params=params) + return request_config def execute_order( self, @@ -217,7 +226,7 @@ def execute_order( client_id: Optional[int] = None, post_only: Optional[bool] = None, window: Optional[int] = None, - ): + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for placing a new order @@ -250,7 +259,8 @@ def execute_order( params["clientId"] = client_id headers = self._headers(params, "orderExecute", window=window) url = self.BPX_API_URL + "api/v1/order" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, data=params) + return request_config def cancel_order( self, @@ -258,7 +268,7 @@ def cancel_order( order_id: Optional[str] = None, client_id: Optional[int] = None, window: Optional[int] = None, - ): + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for cancelling an existing order @@ -271,9 +281,10 @@ def cancel_order( params["clientId"] = str(client_id) headers = self._headers(params, "orderCancel", window=window) url = self.BPX_API_URL + "api/v1/order" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, data=params) + return request_config - def get_open_orders(self, symbol: str, window: Optional[int] = None): + def get_open_orders(self, symbol: str, window: Optional[int] = None) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting account open orders @@ -282,9 +293,10 @@ def get_open_orders(self, symbol: str, window: Optional[int] = None): params = {"symbol": symbol} headers = self._headers(params, "orderQueryAll", window=window) url = self.BPX_API_URL + "api/v1/orders" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, params=params) + return request_config - def cancel_all_orders(self, symbol: str, window: Optional[int] = None): + def cancel_all_orders(self, symbol: str, window: Optional[int] = None) -> RequestConfiguration: """ Returns the url, headers and request parameters for cancelling all open orders for a specific symbol @@ -293,9 +305,13 @@ def cancel_all_orders(self, symbol: str, window: Optional[int] = None): params = {"symbol": symbol} headers = self._headers(params, "orderCancelAll", window=window) url = self.BPX_API_URL + "api/v1/orders" - return url, headers, params + request_config = RequestConfiguration(url=url, headers=headers, data=params) + return request_config def _headers(self, params: dict, instruction: str, window: Optional[int]) -> dict: + """ + Returns headers for the given instruction and params + """ window = self.window if window is None else window timestamp = int(time() * 1e3) encoded_signature = self._sign(params, instruction, timestamp, window) @@ -311,6 +327,9 @@ def _headers(self, params: dict, instruction: str, window: Optional[int]) -> dic return headers def _sign(self, params: dict, instruction: str, timestamp: int, window: int): + """ + Returns encoded signature for given parameters, instruction, timestamp and window + """ sign_str = f"instruction={instruction}" sorted_params = "&".join( f"{key}={value}" for key, value in sorted(params.items()) diff --git a/bpx/base/base_public.py b/bpx/base/base_public.py index 3f2124e..53031d0 100644 --- a/bpx/base/base_public.py +++ b/bpx/base/base_public.py @@ -1,14 +1,14 @@ from bpx.exceptions import * -from bpx.enums import * +from bpx.constants.enums import * class BasePublic: BASE_URL = "https://api.backpack.exchange/" - def _endpoint(self, path): + def _endpoint(self, path) -> str: return f"{self.BASE_URL}{path}" - def get_assets_url(self): + def get_assets_url(self) -> str: """ Returns URL for getting assets @@ -16,7 +16,7 @@ def get_assets_url(self): """ return self._endpoint("api/v1/assets") - def get_markets_url(self): + def get_markets_url(self) -> str: """ Returns URL for getting markets @@ -24,7 +24,7 @@ def get_markets_url(self): """ return self._endpoint("api/v1/markets") - def get_ticker_url(self, symbol): + def get_ticker_url(self, symbol) -> str: """ Returns URL for getting ticker information for a specified market @@ -32,7 +32,7 @@ def get_ticker_url(self, symbol): """ return self._endpoint(f"api/v1/ticker?symbol={symbol}") - def get_depth_url(self, symbol): + def get_depth_url(self, symbol) -> str: """ Returns URL for getting depth for a specified market @@ -57,7 +57,7 @@ def get_depth_url(self, symbol): # url = f"api/v1/collateral?asset={asset}" # return self._endpoint(url) - def get_klines_url(self, symbol, interval, start_time, end_time): + def get_klines_url(self, symbol, interval, start_time, end_time) -> str: """ Returns URL for getting klines for a specified market @@ -74,7 +74,7 @@ def get_klines_url(self, symbol, interval, start_time, end_time): url += f"&endTime={end_time}" return self._endpoint(url) - def get_status_url(self): + def get_status_url(self) -> str: """ Returns URL for getting status information @@ -82,7 +82,7 @@ def get_status_url(self): """ return self._endpoint("api/v1/status") - def get_ping_url(self): + def get_ping_url(self) -> str: """ Returns URL for getting pong if endpoint is reachable @@ -90,7 +90,7 @@ def get_ping_url(self): """ return self._endpoint("api/v1/ping") - def get_time_url(self): + def get_time_url(self) -> str: """ Returns URL for getting current server time @@ -98,7 +98,7 @@ def get_time_url(self): """ return self._endpoint("api/v1/time") - def get_recent_trades_url(self, symbol, limit=100): + def get_recent_trades_url(self, symbol, limit=100) -> str: """ Returns URL for getting recent trades for a specified market @@ -108,7 +108,7 @@ def get_recent_trades_url(self, symbol, limit=100): raise LimitValueError return self._endpoint(f"api/v1/trades?symbol={symbol}&limit={limit}") - def get_history_trades_url(self, symbol, limit=100, offset=0): + def get_history_trades_url(self, symbol, limit=100, offset=0) -> str: """ Returns URL for getting historical trades for a specified market diff --git a/bpx/constants/__init__.py b/bpx/constants/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/bpx/enums/__init__.py b/bpx/constants/enums.py similarity index 97% rename from bpx/enums/__init__.py rename to bpx/constants/enums.py index 8b70c3f..f460232 100644 --- a/bpx/enums/__init__.py +++ b/bpx/constants/enums.py @@ -1,4 +1,5 @@ from enum import Enum +from typing import Optional class Blockchain(Enum): diff --git a/bpx/http_client/async_http_client.py b/bpx/http_client/async_http_client.py index ee55529..40b23e2 100644 --- a/bpx/http_client/async_http_client.py +++ b/bpx/http_client/async_http_client.py @@ -1,5 +1,5 @@ import aiohttp -from bpx.http_client.http_client import HttpClient +from bpx.http_client.base.http_client import HttpClient import json import certifi import ssl diff --git a/bpx/http_client/base/__init__.py b/bpx/http_client/base/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/bpx/http_client/http_client.py b/bpx/http_client/base/http_client.py similarity index 100% rename from bpx/http_client/http_client.py rename to bpx/http_client/base/http_client.py diff --git a/bpx/http_client/sync_http_client.py b/bpx/http_client/sync_http_client.py index acfb983..cc10953 100644 --- a/bpx/http_client/sync_http_client.py +++ b/bpx/http_client/sync_http_client.py @@ -1,5 +1,5 @@ import requests -from bpx.http_client.http_client import HttpClient +from bpx.http_client.base.http_client import HttpClient import json diff --git a/bpx/models/__init__.py b/bpx/models/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/bpx/models/request_configuration.py b/bpx/models/request_configuration.py new file mode 100644 index 0000000..450e385 --- /dev/null +++ b/bpx/models/request_configuration.py @@ -0,0 +1,9 @@ +from typing import Optional + + +class RequestConfiguration: + def __init__(self, url: str, headers: Optional[dict] = None, params: Optional[dict] = None, data: Optional[dict] = None): + self.url = url + self.headers = headers + self.params = params + self.data = data diff --git a/poetry.lock b/poetry.lock index 1250af1..b727104 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,91 +1,118 @@ # This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +[[package]] +name = "aiohappyeyeballs" +version = "2.4.0" +description = "Happy Eyeballs for asyncio" +optional = false +python-versions = ">=3.8" +files = [ + {file = "aiohappyeyeballs-2.4.0-py3-none-any.whl", hash = "sha256:7ce92076e249169a13c2f49320d1967425eaf1f407522d707d59cac7628d62bd"}, + {file = "aiohappyeyeballs-2.4.0.tar.gz", hash = "sha256:55a1714f084e63d49639800f95716da97a1f173d46a16dfcfda0016abb93b6b2"}, +] + [[package]] name = "aiohttp" -version = "3.9.5" +version = "3.10.5" description = "Async http client/server framework (asyncio)" optional = false python-versions = ">=3.8" files = [ - {file = "aiohttp-3.9.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:fcde4c397f673fdec23e6b05ebf8d4751314fa7c24f93334bf1f1364c1c69ac7"}, - {file = "aiohttp-3.9.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5d6b3f1fabe465e819aed2c421a6743d8debbde79b6a8600739300630a01bf2c"}, - {file = "aiohttp-3.9.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6ae79c1bc12c34082d92bf9422764f799aee4746fd7a392db46b7fd357d4a17a"}, - {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4d3ebb9e1316ec74277d19c5f482f98cc65a73ccd5430540d6d11682cd857430"}, - {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84dabd95154f43a2ea80deffec9cb44d2e301e38a0c9d331cc4aa0166fe28ae3"}, - {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c8a02fbeca6f63cb1f0475c799679057fc9268b77075ab7cf3f1c600e81dd46b"}, - {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c26959ca7b75ff768e2776d8055bf9582a6267e24556bb7f7bd29e677932be72"}, - {file = "aiohttp-3.9.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:714d4e5231fed4ba2762ed489b4aec07b2b9953cf4ee31e9871caac895a839c0"}, - {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e7a6a8354f1b62e15d48e04350f13e726fa08b62c3d7b8401c0a1314f02e3558"}, - {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:c413016880e03e69d166efb5a1a95d40f83d5a3a648d16486592c49ffb76d0db"}, - {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ff84aeb864e0fac81f676be9f4685f0527b660f1efdc40dcede3c251ef1e867f"}, - {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ad7f2919d7dac062f24d6f5fe95d401597fbb015a25771f85e692d043c9d7832"}, - {file = "aiohttp-3.9.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:702e2c7c187c1a498a4e2b03155d52658fdd6fda882d3d7fbb891a5cf108bb10"}, - {file = "aiohttp-3.9.5-cp310-cp310-win32.whl", hash = "sha256:67c3119f5ddc7261d47163ed86d760ddf0e625cd6246b4ed852e82159617b5fb"}, - {file = "aiohttp-3.9.5-cp310-cp310-win_amd64.whl", hash = "sha256:471f0ef53ccedec9995287f02caf0c068732f026455f07db3f01a46e49d76bbb"}, - {file = "aiohttp-3.9.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e0ae53e33ee7476dd3d1132f932eeb39bf6125083820049d06edcdca4381f342"}, - {file = "aiohttp-3.9.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c088c4d70d21f8ca5c0b8b5403fe84a7bc8e024161febdd4ef04575ef35d474d"}, - {file = "aiohttp-3.9.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:639d0042b7670222f33b0028de6b4e2fad6451462ce7df2af8aee37dcac55424"}, - {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f26383adb94da5e7fb388d441bf09c61e5e35f455a3217bfd790c6b6bc64b2ee"}, - {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:66331d00fb28dc90aa606d9a54304af76b335ae204d1836f65797d6fe27f1ca2"}, - {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4ff550491f5492ab5ed3533e76b8567f4b37bd2995e780a1f46bca2024223233"}, - {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f22eb3a6c1080d862befa0a89c380b4dafce29dc6cd56083f630073d102eb595"}, - {file = "aiohttp-3.9.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a81b1143d42b66ffc40a441379387076243ef7b51019204fd3ec36b9f69e77d6"}, - {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:f64fd07515dad67f24b6ea4a66ae2876c01031de91c93075b8093f07c0a2d93d"}, - {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:93e22add827447d2e26d67c9ac0161756007f152fdc5210277d00a85f6c92323"}, - {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:55b39c8684a46e56ef8c8d24faf02de4a2b2ac60d26cee93bc595651ff545de9"}, - {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4715a9b778f4293b9f8ae7a0a7cef9829f02ff8d6277a39d7f40565c737d3771"}, - {file = "aiohttp-3.9.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:afc52b8d969eff14e069a710057d15ab9ac17cd4b6753042c407dcea0e40bf75"}, - {file = "aiohttp-3.9.5-cp311-cp311-win32.whl", hash = "sha256:b3df71da99c98534be076196791adca8819761f0bf6e08e07fd7da25127150d6"}, - {file = "aiohttp-3.9.5-cp311-cp311-win_amd64.whl", hash = "sha256:88e311d98cc0bf45b62fc46c66753a83445f5ab20038bcc1b8a1cc05666f428a"}, - {file = "aiohttp-3.9.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:c7a4b7a6cf5b6eb11e109a9755fd4fda7d57395f8c575e166d363b9fc3ec4678"}, - {file = "aiohttp-3.9.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:0a158704edf0abcac8ac371fbb54044f3270bdbc93e254a82b6c82be1ef08f3c"}, - {file = "aiohttp-3.9.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d153f652a687a8e95ad367a86a61e8d53d528b0530ef382ec5aaf533140ed00f"}, - {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:82a6a97d9771cb48ae16979c3a3a9a18b600a8505b1115cfe354dfb2054468b4"}, - {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:60cdbd56f4cad9f69c35eaac0fbbdf1f77b0ff9456cebd4902f3dd1cf096464c"}, - {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8676e8fd73141ded15ea586de0b7cda1542960a7b9ad89b2b06428e97125d4fa"}, - {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:da00da442a0e31f1c69d26d224e1efd3a1ca5bcbf210978a2ca7426dfcae9f58"}, - {file = "aiohttp-3.9.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:18f634d540dd099c262e9f887c8bbacc959847cfe5da7a0e2e1cf3f14dbf2daf"}, - {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:320e8618eda64e19d11bdb3bd04ccc0a816c17eaecb7e4945d01deee2a22f95f"}, - {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:2faa61a904b83142747fc6a6d7ad8fccff898c849123030f8e75d5d967fd4a81"}, - {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:8c64a6dc3fe5db7b1b4d2b5cb84c4f677768bdc340611eca673afb7cf416ef5a"}, - {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:393c7aba2b55559ef7ab791c94b44f7482a07bf7640d17b341b79081f5e5cd1a"}, - {file = "aiohttp-3.9.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c671dc117c2c21a1ca10c116cfcd6e3e44da7fcde37bf83b2be485ab377b25da"}, - {file = "aiohttp-3.9.5-cp312-cp312-win32.whl", hash = "sha256:5a7ee16aab26e76add4afc45e8f8206c95d1d75540f1039b84a03c3b3800dd59"}, - {file = "aiohttp-3.9.5-cp312-cp312-win_amd64.whl", hash = "sha256:5ca51eadbd67045396bc92a4345d1790b7301c14d1848feaac1d6a6c9289e888"}, - {file = "aiohttp-3.9.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:694d828b5c41255e54bc2dddb51a9f5150b4eefa9886e38b52605a05d96566e8"}, - {file = "aiohttp-3.9.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0605cc2c0088fcaae79f01c913a38611ad09ba68ff482402d3410bf59039bfb8"}, - {file = "aiohttp-3.9.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4558e5012ee03d2638c681e156461d37b7a113fe13970d438d95d10173d25f78"}, - {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9dbc053ac75ccc63dc3a3cc547b98c7258ec35a215a92bd9f983e0aac95d3d5b"}, - {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4109adee842b90671f1b689901b948f347325045c15f46b39797ae1bf17019de"}, - {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6ea1a5b409a85477fd8e5ee6ad8f0e40bf2844c270955e09360418cfd09abac"}, - {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f3c2890ca8c59ee683fd09adf32321a40fe1cf164e3387799efb2acebf090c11"}, - {file = "aiohttp-3.9.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3916c8692dbd9d55c523374a3b8213e628424d19116ac4308e434dbf6d95bbdd"}, - {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:8d1964eb7617907c792ca00b341b5ec3e01ae8c280825deadbbd678447b127e1"}, - {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:d5ab8e1f6bee051a4bf6195e38a5c13e5e161cb7bad83d8854524798bd9fcd6e"}, - {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:52c27110f3862a1afbcb2af4281fc9fdc40327fa286c4625dfee247c3ba90156"}, - {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:7f64cbd44443e80094309875d4f9c71d0401e966d191c3d469cde4642bc2e031"}, - {file = "aiohttp-3.9.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8b4f72fbb66279624bfe83fd5eb6aea0022dad8eec62b71e7bf63ee1caadeafe"}, - {file = "aiohttp-3.9.5-cp38-cp38-win32.whl", hash = "sha256:6380c039ec52866c06d69b5c7aad5478b24ed11696f0e72f6b807cfb261453da"}, - {file = "aiohttp-3.9.5-cp38-cp38-win_amd64.whl", hash = "sha256:da22dab31d7180f8c3ac7c7635f3bcd53808f374f6aa333fe0b0b9e14b01f91a"}, - {file = "aiohttp-3.9.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:1732102949ff6087589408d76cd6dea656b93c896b011ecafff418c9661dc4ed"}, - {file = "aiohttp-3.9.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c6021d296318cb6f9414b48e6a439a7f5d1f665464da507e8ff640848ee2a58a"}, - {file = "aiohttp-3.9.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:239f975589a944eeb1bad26b8b140a59a3a320067fb3cd10b75c3092405a1372"}, - {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3b7b30258348082826d274504fbc7c849959f1989d86c29bc355107accec6cfb"}, - {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cd2adf5c87ff6d8b277814a28a535b59e20bfea40a101db6b3bdca7e9926bc24"}, - {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e9a3d838441bebcf5cf442700e3963f58b5c33f015341f9ea86dcd7d503c07e2"}, - {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9e3a1ae66e3d0c17cf65c08968a5ee3180c5a95920ec2731f53343fac9bad106"}, - {file = "aiohttp-3.9.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9c69e77370cce2d6df5d12b4e12bdcca60c47ba13d1cbbc8645dd005a20b738b"}, - {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0cbf56238f4bbf49dab8c2dc2e6b1b68502b1e88d335bea59b3f5b9f4c001475"}, - {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:d1469f228cd9ffddd396d9948b8c9cd8022b6d1bf1e40c6f25b0fb90b4f893ed"}, - {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:45731330e754f5811c314901cebdf19dd776a44b31927fa4b4dbecab9e457b0c"}, - {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:3fcb4046d2904378e3aeea1df51f697b0467f2aac55d232c87ba162709478c46"}, - {file = "aiohttp-3.9.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8cf142aa6c1a751fcb364158fd710b8a9be874b81889c2bd13aa8893197455e2"}, - {file = "aiohttp-3.9.5-cp39-cp39-win32.whl", hash = "sha256:7b179eea70833c8dee51ec42f3b4097bd6370892fa93f510f76762105568cf09"}, - {file = "aiohttp-3.9.5-cp39-cp39-win_amd64.whl", hash = "sha256:38d80498e2e169bc61418ff36170e0aad0cd268da8b38a17c4cf29d254a8b3f1"}, - {file = "aiohttp-3.9.5.tar.gz", hash = "sha256:edea7d15772ceeb29db4aff55e482d4bcfb6ae160ce144f2682de02f6d693551"}, + {file = "aiohttp-3.10.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:18a01eba2574fb9edd5f6e5fb25f66e6ce061da5dab5db75e13fe1558142e0a3"}, + {file = "aiohttp-3.10.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:94fac7c6e77ccb1ca91e9eb4cb0ac0270b9fb9b289738654120ba8cebb1189c6"}, + {file = "aiohttp-3.10.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2f1f1c75c395991ce9c94d3e4aa96e5c59c8356a15b1c9231e783865e2772699"}, + {file = "aiohttp-3.10.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f7acae3cf1a2a2361ec4c8e787eaaa86a94171d2417aae53c0cca6ca3118ff6"}, + {file = "aiohttp-3.10.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:94c4381ffba9cc508b37d2e536b418d5ea9cfdc2848b9a7fea6aebad4ec6aac1"}, + {file = "aiohttp-3.10.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c31ad0c0c507894e3eaa843415841995bf8de4d6b2d24c6e33099f4bc9fc0d4f"}, + {file = "aiohttp-3.10.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0912b8a8fadeb32ff67a3ed44249448c20148397c1ed905d5dac185b4ca547bb"}, + {file = "aiohttp-3.10.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0d93400c18596b7dc4794d48a63fb361b01a0d8eb39f28800dc900c8fbdaca91"}, + {file = "aiohttp-3.10.5-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d00f3c5e0d764a5c9aa5a62d99728c56d455310bcc288a79cab10157b3af426f"}, + {file = "aiohttp-3.10.5-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:d742c36ed44f2798c8d3f4bc511f479b9ceef2b93f348671184139e7d708042c"}, + {file = "aiohttp-3.10.5-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:814375093edae5f1cb31e3407997cf3eacefb9010f96df10d64829362ae2df69"}, + {file = "aiohttp-3.10.5-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:8224f98be68a84b19f48e0bdc14224b5a71339aff3a27df69989fa47d01296f3"}, + {file = "aiohttp-3.10.5-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:d9a487ef090aea982d748b1b0d74fe7c3950b109df967630a20584f9a99c0683"}, + {file = "aiohttp-3.10.5-cp310-cp310-win32.whl", hash = "sha256:d9ef084e3dc690ad50137cc05831c52b6ca428096e6deb3c43e95827f531d5ef"}, + {file = "aiohttp-3.10.5-cp310-cp310-win_amd64.whl", hash = "sha256:66bf9234e08fe561dccd62083bf67400bdbf1c67ba9efdc3dac03650e97c6088"}, + {file = "aiohttp-3.10.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:8c6a4e5e40156d72a40241a25cc226051c0a8d816610097a8e8f517aeacd59a2"}, + {file = "aiohttp-3.10.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2c634a3207a5445be65536d38c13791904fda0748b9eabf908d3fe86a52941cf"}, + {file = "aiohttp-3.10.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4aff049b5e629ef9b3e9e617fa6e2dfeda1bf87e01bcfecaf3949af9e210105e"}, + {file = "aiohttp-3.10.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1942244f00baaacaa8155eca94dbd9e8cc7017deb69b75ef67c78e89fdad3c77"}, + {file = "aiohttp-3.10.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e04a1f2a65ad2f93aa20f9ff9f1b672bf912413e5547f60749fa2ef8a644e061"}, + {file = "aiohttp-3.10.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7f2bfc0032a00405d4af2ba27f3c429e851d04fad1e5ceee4080a1c570476697"}, + {file = "aiohttp-3.10.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:424ae21498790e12eb759040bbb504e5e280cab64693d14775c54269fd1d2bb7"}, + {file = "aiohttp-3.10.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:975218eee0e6d24eb336d0328c768ebc5d617609affaca5dbbd6dd1984f16ed0"}, + {file = "aiohttp-3.10.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4120d7fefa1e2d8fb6f650b11489710091788de554e2b6f8347c7a20ceb003f5"}, + {file = "aiohttp-3.10.5-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b90078989ef3fc45cf9221d3859acd1108af7560c52397ff4ace8ad7052a132e"}, + {file = "aiohttp-3.10.5-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:ba5a8b74c2a8af7d862399cdedce1533642fa727def0b8c3e3e02fcb52dca1b1"}, + {file = "aiohttp-3.10.5-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:02594361128f780eecc2a29939d9dfc870e17b45178a867bf61a11b2a4367277"}, + {file = "aiohttp-3.10.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:8fb4fc029e135859f533025bc82047334e24b0d489e75513144f25408ecaf058"}, + {file = "aiohttp-3.10.5-cp311-cp311-win32.whl", hash = "sha256:e1ca1ef5ba129718a8fc827b0867f6aa4e893c56eb00003b7367f8a733a9b072"}, + {file = "aiohttp-3.10.5-cp311-cp311-win_amd64.whl", hash = "sha256:349ef8a73a7c5665cca65c88ab24abe75447e28aa3bc4c93ea5093474dfdf0ff"}, + {file = "aiohttp-3.10.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:305be5ff2081fa1d283a76113b8df7a14c10d75602a38d9f012935df20731487"}, + {file = "aiohttp-3.10.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:3a1c32a19ee6bbde02f1cb189e13a71b321256cc1d431196a9f824050b160d5a"}, + {file = "aiohttp-3.10.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:61645818edd40cc6f455b851277a21bf420ce347baa0b86eaa41d51ef58ba23d"}, + {file = "aiohttp-3.10.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6c225286f2b13bab5987425558baa5cbdb2bc925b2998038fa028245ef421e75"}, + {file = "aiohttp-3.10.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8ba01ebc6175e1e6b7275c907a3a36be48a2d487549b656aa90c8a910d9f3178"}, + {file = "aiohttp-3.10.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8eaf44ccbc4e35762683078b72bf293f476561d8b68ec8a64f98cf32811c323e"}, + {file = "aiohttp-3.10.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1c43eb1ab7cbf411b8e387dc169acb31f0ca0d8c09ba63f9eac67829585b44f"}, + {file = "aiohttp-3.10.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:de7a5299827253023c55ea549444e058c0eb496931fa05d693b95140a947cb73"}, + {file = "aiohttp-3.10.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4790f0e15f00058f7599dab2b206d3049d7ac464dc2e5eae0e93fa18aee9e7bf"}, + {file = "aiohttp-3.10.5-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:44b324a6b8376a23e6ba25d368726ee3bc281e6ab306db80b5819999c737d820"}, + {file = "aiohttp-3.10.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:0d277cfb304118079e7044aad0b76685d30ecb86f83a0711fc5fb257ffe832ca"}, + {file = "aiohttp-3.10.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:54d9ddea424cd19d3ff6128601a4a4d23d54a421f9b4c0fff740505813739a91"}, + {file = "aiohttp-3.10.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:4f1c9866ccf48a6df2b06823e6ae80573529f2af3a0992ec4fe75b1a510df8a6"}, + {file = "aiohttp-3.10.5-cp312-cp312-win32.whl", hash = "sha256:dc4826823121783dccc0871e3f405417ac116055bf184ac04c36f98b75aacd12"}, + {file = "aiohttp-3.10.5-cp312-cp312-win_amd64.whl", hash = "sha256:22c0a23a3b3138a6bf76fc553789cb1a703836da86b0f306b6f0dc1617398abc"}, + {file = "aiohttp-3.10.5-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:7f6b639c36734eaa80a6c152a238242bedcee9b953f23bb887e9102976343092"}, + {file = "aiohttp-3.10.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f29930bc2921cef955ba39a3ff87d2c4398a0394ae217f41cb02d5c26c8b1b77"}, + {file = "aiohttp-3.10.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f489a2c9e6455d87eabf907ac0b7d230a9786be43fbe884ad184ddf9e9c1e385"}, + {file = "aiohttp-3.10.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:123dd5b16b75b2962d0fff566effb7a065e33cd4538c1692fb31c3bda2bfb972"}, + {file = "aiohttp-3.10.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b98e698dc34966e5976e10bbca6d26d6724e6bdea853c7c10162a3235aba6e16"}, + {file = "aiohttp-3.10.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c3b9162bab7e42f21243effc822652dc5bb5e8ff42a4eb62fe7782bcbcdfacf6"}, + {file = "aiohttp-3.10.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1923a5c44061bffd5eebeef58cecf68096e35003907d8201a4d0d6f6e387ccaa"}, + {file = "aiohttp-3.10.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d55f011da0a843c3d3df2c2cf4e537b8070a419f891c930245f05d329c4b0689"}, + {file = "aiohttp-3.10.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:afe16a84498441d05e9189a15900640a2d2b5e76cf4efe8cbb088ab4f112ee57"}, + {file = "aiohttp-3.10.5-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:f8112fb501b1e0567a1251a2fd0747baae60a4ab325a871e975b7bb67e59221f"}, + {file = "aiohttp-3.10.5-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1e72589da4c90337837fdfe2026ae1952c0f4a6e793adbbfbdd40efed7c63599"}, + {file = "aiohttp-3.10.5-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:4d46c7b4173415d8e583045fbc4daa48b40e31b19ce595b8d92cf639396c15d5"}, + {file = "aiohttp-3.10.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:33e6bc4bab477c772a541f76cd91e11ccb6d2efa2b8d7d7883591dfb523e5987"}, + {file = "aiohttp-3.10.5-cp313-cp313-win32.whl", hash = "sha256:c58c6837a2c2a7cf3133983e64173aec11f9c2cd8e87ec2fdc16ce727bcf1a04"}, + {file = "aiohttp-3.10.5-cp313-cp313-win_amd64.whl", hash = "sha256:38172a70005252b6893088c0f5e8a47d173df7cc2b2bd88650957eb84fcf5022"}, + {file = "aiohttp-3.10.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:f6f18898ace4bcd2d41a122916475344a87f1dfdec626ecde9ee802a711bc569"}, + {file = "aiohttp-3.10.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5ede29d91a40ba22ac1b922ef510aab871652f6c88ef60b9dcdf773c6d32ad7a"}, + {file = "aiohttp-3.10.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:673f988370f5954df96cc31fd99c7312a3af0a97f09e407399f61583f30da9bc"}, + {file = "aiohttp-3.10.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:58718e181c56a3c02d25b09d4115eb02aafe1a732ce5714ab70326d9776457c3"}, + {file = "aiohttp-3.10.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4b38b1570242fbab8d86a84128fb5b5234a2f70c2e32f3070143a6d94bc854cf"}, + {file = "aiohttp-3.10.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:074d1bff0163e107e97bd48cad9f928fa5a3eb4b9d33366137ffce08a63e37fe"}, + {file = "aiohttp-3.10.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd31f176429cecbc1ba499d4aba31aaccfea488f418d60376b911269d3b883c5"}, + {file = "aiohttp-3.10.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7384d0b87d4635ec38db9263e6a3f1eb609e2e06087f0aa7f63b76833737b471"}, + {file = "aiohttp-3.10.5-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:8989f46f3d7ef79585e98fa991e6ded55d2f48ae56d2c9fa5e491a6e4effb589"}, + {file = "aiohttp-3.10.5-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:c83f7a107abb89a227d6c454c613e7606c12a42b9a4ca9c5d7dad25d47c776ae"}, + {file = "aiohttp-3.10.5-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:cde98f323d6bf161041e7627a5fd763f9fd829bcfcd089804a5fdce7bb6e1b7d"}, + {file = "aiohttp-3.10.5-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:676f94c5480d8eefd97c0c7e3953315e4d8c2b71f3b49539beb2aa676c58272f"}, + {file = "aiohttp-3.10.5-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:2d21ac12dc943c68135ff858c3a989f2194a709e6e10b4c8977d7fcd67dfd511"}, + {file = "aiohttp-3.10.5-cp38-cp38-win32.whl", hash = "sha256:17e997105bd1a260850272bfb50e2a328e029c941c2708170d9d978d5a30ad9a"}, + {file = "aiohttp-3.10.5-cp38-cp38-win_amd64.whl", hash = "sha256:1c19de68896747a2aa6257ae4cf6ef59d73917a36a35ee9d0a6f48cff0f94db8"}, + {file = "aiohttp-3.10.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7e2fe37ac654032db1f3499fe56e77190282534810e2a8e833141a021faaab0e"}, + {file = "aiohttp-3.10.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f5bf3ead3cb66ab990ee2561373b009db5bc0e857549b6c9ba84b20bc462e172"}, + {file = "aiohttp-3.10.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1b2c16a919d936ca87a3c5f0e43af12a89a3ce7ccbce59a2d6784caba945b68b"}, + {file = "aiohttp-3.10.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad146dae5977c4dd435eb31373b3fe9b0b1bf26858c6fc452bf6af394067e10b"}, + {file = "aiohttp-3.10.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8c5c6fa16412b35999320f5c9690c0f554392dc222c04e559217e0f9ae244b92"}, + {file = "aiohttp-3.10.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:95c4dc6f61d610bc0ee1edc6f29d993f10febfe5b76bb470b486d90bbece6b22"}, + {file = "aiohttp-3.10.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:da452c2c322e9ce0cfef392e469a26d63d42860f829026a63374fde6b5c5876f"}, + {file = "aiohttp-3.10.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:898715cf566ec2869d5cb4d5fb4be408964704c46c96b4be267442d265390f32"}, + {file = "aiohttp-3.10.5-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:391cc3a9c1527e424c6865e087897e766a917f15dddb360174a70467572ac6ce"}, + {file = "aiohttp-3.10.5-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:380f926b51b92d02a34119d072f178d80bbda334d1a7e10fa22d467a66e494db"}, + {file = "aiohttp-3.10.5-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:ce91db90dbf37bb6fa0997f26574107e1b9d5ff939315247b7e615baa8ec313b"}, + {file = "aiohttp-3.10.5-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:9093a81e18c45227eebe4c16124ebf3e0d893830c6aca7cc310bfca8fe59d857"}, + {file = "aiohttp-3.10.5-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:ee40b40aa753d844162dcc80d0fe256b87cba48ca0054f64e68000453caead11"}, + {file = "aiohttp-3.10.5-cp39-cp39-win32.whl", hash = "sha256:03f2645adbe17f274444953bdea69f8327e9d278d961d85657cb0d06864814c1"}, + {file = "aiohttp-3.10.5-cp39-cp39-win_amd64.whl", hash = "sha256:d17920f18e6ee090bdd3d0bfffd769d9f2cb4c8ffde3eb203777a3895c128862"}, + {file = "aiohttp-3.10.5.tar.gz", hash = "sha256:f071854b47d39591ce9a17981c46790acb30518e2f83dfca8db2dfa091178691"}, ] [package.dependencies] +aiohappyeyeballs = ">=2.3.0" aiosignal = ">=1.1.2" async-timeout = {version = ">=4.0,<5.0", markers = "python_version < \"3.11\""} attrs = ">=17.3.0" @@ -94,7 +121,7 @@ multidict = ">=4.5,<7.0" yarl = ">=1.0,<2.0" [package.extras] -speedups = ["Brotli", "aiodns", "brotlicffi"] +speedups = ["Brotli", "aiodns (>=3.2.0)", "brotlicffi"] [[package]] name = "aiosignal" @@ -112,13 +139,13 @@ frozenlist = ">=1.1.0" [[package]] name = "astroid" -version = "3.2.2" +version = "3.2.4" description = "An abstract syntax tree for Python with inference support." optional = false python-versions = ">=3.8.0" files = [ - {file = "astroid-3.2.2-py3-none-any.whl", hash = "sha256:e8a0083b4bb28fcffb6207a3bfc9e5d0a68be951dd7e336d5dcf639c682388c0"}, - {file = "astroid-3.2.2.tar.gz", hash = "sha256:8ead48e31b92b2e217b6c9733a21afafe479d52d6e164dd25fb1a770c7c3cf94"}, + {file = "astroid-3.2.4-py3-none-any.whl", hash = "sha256:413658a61eeca6202a59231abb473f932038fbcbf1666587f66d482083413a25"}, + {file = "astroid-3.2.4.tar.gz", hash = "sha256:0e14202810b30da1b735827f78f5157be2bbd4a7a59b7707ca0bfc2fb4c0063a"}, ] [package.dependencies] @@ -137,22 +164,22 @@ files = [ [[package]] name = "attrs" -version = "23.2.0" +version = "24.2.0" description = "Classes Without Boilerplate" optional = false python-versions = ">=3.7" files = [ - {file = "attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1"}, - {file = "attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"}, + {file = "attrs-24.2.0-py3-none-any.whl", hash = "sha256:81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2"}, + {file = "attrs-24.2.0.tar.gz", hash = "sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346"}, ] [package.extras] -cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] -dev = ["attrs[tests]", "pre-commit"] -docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"] -tests = ["attrs[tests-no-zope]", "zope-interface"] -tests-mypy = ["mypy (>=1.6)", "pytest-mypy-plugins"] -tests-no-zope = ["attrs[tests-mypy]", "cloudpickle", "hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist[psutil]"] +benchmark = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-codspeed", "pytest-mypy-plugins", "pytest-xdist[psutil]"] +cov = ["cloudpickle", "coverage[toml] (>=5.3)", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] +dev = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pre-commit", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] +docs = ["cogapp", "furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier (<24.7)"] +tests = ["cloudpickle", "hypothesis", "mypy (>=1.11.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] +tests-mypy = ["mypy (>=1.11.1)", "pytest-mypy-plugins"] [[package]] name = "black" @@ -202,74 +229,89 @@ uvloop = ["uvloop (>=0.15.2)"] [[package]] name = "certifi" -version = "2024.2.2" +version = "2024.7.4" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1"}, - {file = "certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f"}, + {file = "certifi-2024.7.4-py3-none-any.whl", hash = "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"}, + {file = "certifi-2024.7.4.tar.gz", hash = "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b"}, ] [[package]] name = "cffi" -version = "1.16.0" +version = "1.17.0" description = "Foreign Function Interface for Python calling C code." optional = false python-versions = ">=3.8" files = [ - {file = "cffi-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088"}, - {file = "cffi-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614"}, - {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743"}, - {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d"}, - {file = "cffi-1.16.0-cp310-cp310-win32.whl", hash = "sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a"}, - {file = "cffi-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1"}, - {file = "cffi-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404"}, - {file = "cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e"}, - {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc"}, - {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb"}, - {file = "cffi-1.16.0-cp311-cp311-win32.whl", hash = "sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab"}, - {file = "cffi-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba"}, - {file = "cffi-1.16.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956"}, - {file = "cffi-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969"}, - {file = "cffi-1.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520"}, - {file = "cffi-1.16.0-cp312-cp312-win32.whl", hash = "sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b"}, - {file = "cffi-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235"}, - {file = "cffi-1.16.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324"}, - {file = "cffi-1.16.0-cp38-cp38-win32.whl", hash = "sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a"}, - {file = "cffi-1.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36"}, - {file = "cffi-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed"}, - {file = "cffi-1.16.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098"}, - {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000"}, - {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe"}, - {file = "cffi-1.16.0-cp39-cp39-win32.whl", hash = "sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4"}, - {file = "cffi-1.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8"}, - {file = "cffi-1.16.0.tar.gz", hash = "sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"}, + {file = "cffi-1.17.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f9338cc05451f1942d0d8203ec2c346c830f8e86469903d5126c1f0a13a2bcbb"}, + {file = "cffi-1.17.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a0ce71725cacc9ebf839630772b07eeec220cbb5f03be1399e0457a1464f8e1a"}, + {file = "cffi-1.17.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c815270206f983309915a6844fe994b2fa47e5d05c4c4cef267c3b30e34dbe42"}, + {file = "cffi-1.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d6bdcd415ba87846fd317bee0774e412e8792832e7805938987e4ede1d13046d"}, + {file = "cffi-1.17.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8a98748ed1a1df4ee1d6f927e151ed6c1a09d5ec21684de879c7ea6aa96f58f2"}, + {file = "cffi-1.17.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0a048d4f6630113e54bb4b77e315e1ba32a5a31512c31a273807d0027a7e69ab"}, + {file = "cffi-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:24aa705a5f5bd3a8bcfa4d123f03413de5d86e497435693b638cbffb7d5d8a1b"}, + {file = "cffi-1.17.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:856bf0924d24e7f93b8aee12a3a1095c34085600aa805693fb7f5d1962393206"}, + {file = "cffi-1.17.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:4304d4416ff032ed50ad6bb87416d802e67139e31c0bde4628f36a47a3164bfa"}, + {file = "cffi-1.17.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:331ad15c39c9fe9186ceaf87203a9ecf5ae0ba2538c9e898e3a6967e8ad3db6f"}, + {file = "cffi-1.17.0-cp310-cp310-win32.whl", hash = "sha256:669b29a9eca6146465cc574659058ed949748f0809a2582d1f1a324eb91054dc"}, + {file = "cffi-1.17.0-cp310-cp310-win_amd64.whl", hash = "sha256:48b389b1fd5144603d61d752afd7167dfd205973a43151ae5045b35793232aa2"}, + {file = "cffi-1.17.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c5d97162c196ce54af6700949ddf9409e9833ef1003b4741c2b39ef46f1d9720"}, + {file = "cffi-1.17.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5ba5c243f4004c750836f81606a9fcb7841f8874ad8f3bf204ff5e56332b72b9"}, + {file = "cffi-1.17.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bb9333f58fc3a2296fb1d54576138d4cf5d496a2cc118422bd77835e6ae0b9cb"}, + {file = "cffi-1.17.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:435a22d00ec7d7ea533db494da8581b05977f9c37338c80bc86314bec2619424"}, + {file = "cffi-1.17.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d1df34588123fcc88c872f5acb6f74ae59e9d182a2707097f9e28275ec26a12d"}, + {file = "cffi-1.17.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:df8bb0010fdd0a743b7542589223a2816bdde4d94bb5ad67884348fa2c1c67e8"}, + {file = "cffi-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a8b5b9712783415695663bd463990e2f00c6750562e6ad1d28e072a611c5f2a6"}, + {file = "cffi-1.17.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ffef8fd58a36fb5f1196919638f73dd3ae0db1a878982b27a9a5a176ede4ba91"}, + {file = "cffi-1.17.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:4e67d26532bfd8b7f7c05d5a766d6f437b362c1bf203a3a5ce3593a645e870b8"}, + {file = "cffi-1.17.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:45f7cd36186db767d803b1473b3c659d57a23b5fa491ad83c6d40f2af58e4dbb"}, + {file = "cffi-1.17.0-cp311-cp311-win32.whl", hash = "sha256:a9015f5b8af1bb6837a3fcb0cdf3b874fe3385ff6274e8b7925d81ccaec3c5c9"}, + {file = "cffi-1.17.0-cp311-cp311-win_amd64.whl", hash = "sha256:b50aaac7d05c2c26dfd50c3321199f019ba76bb650e346a6ef3616306eed67b0"}, + {file = "cffi-1.17.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:aec510255ce690d240f7cb23d7114f6b351c733a74c279a84def763660a2c3bc"}, + {file = "cffi-1.17.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2770bb0d5e3cc0e31e7318db06efcbcdb7b31bcb1a70086d3177692a02256f59"}, + {file = "cffi-1.17.0-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:db9a30ec064129d605d0f1aedc93e00894b9334ec74ba9c6bdd08147434b33eb"}, + {file = "cffi-1.17.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a47eef975d2b8b721775a0fa286f50eab535b9d56c70a6e62842134cf7841195"}, + {file = "cffi-1.17.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f3e0992f23bbb0be00a921eae5363329253c3b86287db27092461c887b791e5e"}, + {file = "cffi-1.17.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6107e445faf057c118d5050560695e46d272e5301feffda3c41849641222a828"}, + {file = "cffi-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eb862356ee9391dc5a0b3cbc00f416b48c1b9a52d252d898e5b7696a5f9fe150"}, + {file = "cffi-1.17.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c1c13185b90bbd3f8b5963cd8ce7ad4ff441924c31e23c975cb150e27c2bf67a"}, + {file = "cffi-1.17.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:17c6d6d3260c7f2d94f657e6872591fe8733872a86ed1345bda872cfc8c74885"}, + {file = "cffi-1.17.0-cp312-cp312-win32.whl", hash = "sha256:c3b8bd3133cd50f6b637bb4322822c94c5ce4bf0d724ed5ae70afce62187c492"}, + {file = "cffi-1.17.0-cp312-cp312-win_amd64.whl", hash = "sha256:dca802c8db0720ce1c49cce1149ff7b06e91ba15fa84b1d59144fef1a1bc7ac2"}, + {file = "cffi-1.17.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6ce01337d23884b21c03869d2f68c5523d43174d4fc405490eb0091057943118"}, + {file = "cffi-1.17.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cab2eba3830bf4f6d91e2d6718e0e1c14a2f5ad1af68a89d24ace0c6b17cced7"}, + {file = "cffi-1.17.0-cp313-cp313-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:14b9cbc8f7ac98a739558eb86fabc283d4d564dafed50216e7f7ee62d0d25377"}, + {file = "cffi-1.17.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b00e7bcd71caa0282cbe3c90966f738e2db91e64092a877c3ff7f19a1628fdcb"}, + {file = "cffi-1.17.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:41f4915e09218744d8bae14759f983e466ab69b178de38066f7579892ff2a555"}, + {file = "cffi-1.17.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e4760a68cab57bfaa628938e9c2971137e05ce48e762a9cb53b76c9b569f1204"}, + {file = "cffi-1.17.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:011aff3524d578a9412c8b3cfaa50f2c0bd78e03eb7af7aa5e0df59b158efb2f"}, + {file = "cffi-1.17.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:a003ac9edc22d99ae1286b0875c460351f4e101f8c9d9d2576e78d7e048f64e0"}, + {file = "cffi-1.17.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ef9528915df81b8f4c7612b19b8628214c65c9b7f74db2e34a646a0a2a0da2d4"}, + {file = "cffi-1.17.0-cp313-cp313-win32.whl", hash = "sha256:70d2aa9fb00cf52034feac4b913181a6e10356019b18ef89bc7c12a283bf5f5a"}, + {file = "cffi-1.17.0-cp313-cp313-win_amd64.whl", hash = "sha256:b7b6ea9e36d32582cda3465f54c4b454f62f23cb083ebc7a94e2ca6ef011c3a7"}, + {file = "cffi-1.17.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:964823b2fc77b55355999ade496c54dde161c621cb1f6eac61dc30ed1b63cd4c"}, + {file = "cffi-1.17.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:516a405f174fd3b88829eabfe4bb296ac602d6a0f68e0d64d5ac9456194a5b7e"}, + {file = "cffi-1.17.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dec6b307ce928e8e112a6bb9921a1cb00a0e14979bf28b98e084a4b8a742bd9b"}, + {file = "cffi-1.17.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e4094c7b464cf0a858e75cd14b03509e84789abf7b79f8537e6a72152109c76e"}, + {file = "cffi-1.17.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2404f3de742f47cb62d023f0ba7c5a916c9c653d5b368cc966382ae4e57da401"}, + {file = "cffi-1.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3aa9d43b02a0c681f0bfbc12d476d47b2b2b6a3f9287f11ee42989a268a1833c"}, + {file = "cffi-1.17.0-cp38-cp38-win32.whl", hash = "sha256:0bb15e7acf8ab35ca8b24b90af52c8b391690ef5c4aec3d31f38f0d37d2cc499"}, + {file = "cffi-1.17.0-cp38-cp38-win_amd64.whl", hash = "sha256:93a7350f6706b31f457c1457d3a3259ff9071a66f312ae64dc024f049055f72c"}, + {file = "cffi-1.17.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1a2ddbac59dc3716bc79f27906c010406155031a1c801410f1bafff17ea304d2"}, + {file = "cffi-1.17.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:6327b572f5770293fc062a7ec04160e89741e8552bf1c358d1a23eba68166759"}, + {file = "cffi-1.17.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dbc183e7bef690c9abe5ea67b7b60fdbca81aa8da43468287dae7b5c046107d4"}, + {file = "cffi-1.17.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5bdc0f1f610d067c70aa3737ed06e2726fd9d6f7bfee4a351f4c40b6831f4e82"}, + {file = "cffi-1.17.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6d872186c1617d143969defeadac5a904e6e374183e07977eedef9c07c8953bf"}, + {file = "cffi-1.17.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0d46ee4764b88b91f16661a8befc6bfb24806d885e27436fdc292ed7e6f6d058"}, + {file = "cffi-1.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f76a90c345796c01d85e6332e81cab6d70de83b829cf1d9762d0a3da59c7932"}, + {file = "cffi-1.17.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0e60821d312f99d3e1569202518dddf10ae547e799d75aef3bca3a2d9e8ee693"}, + {file = "cffi-1.17.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:eb09b82377233b902d4c3fbeeb7ad731cdab579c6c6fda1f763cd779139e47c3"}, + {file = "cffi-1.17.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:24658baf6224d8f280e827f0a50c46ad819ec8ba380a42448e24459daf809cf4"}, + {file = "cffi-1.17.0-cp39-cp39-win32.whl", hash = "sha256:0fdacad9e0d9fc23e519efd5ea24a70348305e8d7d85ecbb1a5fa66dc834e7fb"}, + {file = "cffi-1.17.0-cp39-cp39-win_amd64.whl", hash = "sha256:7cbc78dc018596315d4e7841c8c3a7ae31cc4d638c9b627f87d52e8abaaf2d29"}, + {file = "cffi-1.17.0.tar.gz", hash = "sha256:f3157624b7558b914cb039fd1af735e5e8049a87c817cc215109ad1c8779df76"}, ] [package.dependencies] @@ -401,43 +443,43 @@ files = [ [[package]] name = "cryptography" -version = "42.0.5" +version = "42.0.8" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." optional = false python-versions = ">=3.7" files = [ - {file = "cryptography-42.0.5-cp37-abi3-macosx_10_12_universal2.whl", hash = "sha256:a30596bae9403a342c978fb47d9b0ee277699fa53bbafad14706af51fe543d16"}, - {file = "cryptography-42.0.5-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:b7ffe927ee6531c78f81aa17e684e2ff617daeba7f189f911065b2ea2d526dec"}, - {file = "cryptography-42.0.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2424ff4c4ac7f6b8177b53c17ed5d8fa74ae5955656867f5a8affaca36a27abb"}, - {file = "cryptography-42.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:329906dcc7b20ff3cad13c069a78124ed8247adcac44b10bea1130e36caae0b4"}, - {file = "cryptography-42.0.5-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:b03c2ae5d2f0fc05f9a2c0c997e1bc18c8229f392234e8a0194f202169ccd278"}, - {file = "cryptography-42.0.5-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f8837fe1d6ac4a8052a9a8ddab256bc006242696f03368a4009be7ee3075cdb7"}, - {file = "cryptography-42.0.5-cp37-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:0270572b8bd2c833c3981724b8ee9747b3ec96f699a9665470018594301439ee"}, - {file = "cryptography-42.0.5-cp37-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:b8cac287fafc4ad485b8a9b67d0ee80c66bf3574f655d3b97ef2e1082360faf1"}, - {file = "cryptography-42.0.5-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:16a48c23a62a2f4a285699dba2e4ff2d1cff3115b9df052cdd976a18856d8e3d"}, - {file = "cryptography-42.0.5-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:2bce03af1ce5a5567ab89bd90d11e7bbdff56b8af3acbbec1faded8f44cb06da"}, - {file = "cryptography-42.0.5-cp37-abi3-win32.whl", hash = "sha256:b6cd2203306b63e41acdf39aa93b86fb566049aeb6dc489b70e34bcd07adca74"}, - {file = "cryptography-42.0.5-cp37-abi3-win_amd64.whl", hash = "sha256:98d8dc6d012b82287f2c3d26ce1d2dd130ec200c8679b6213b3c73c08b2b7940"}, - {file = "cryptography-42.0.5-cp39-abi3-macosx_10_12_universal2.whl", hash = "sha256:5e6275c09d2badf57aea3afa80d975444f4be8d3bc58f7f80d2a484c6f9485c8"}, - {file = "cryptography-42.0.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e4985a790f921508f36f81831817cbc03b102d643b5fcb81cd33df3fa291a1a1"}, - {file = "cryptography-42.0.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7cde5f38e614f55e28d831754e8a3bacf9ace5d1566235e39d91b35502d6936e"}, - {file = "cryptography-42.0.5-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:7367d7b2eca6513681127ebad53b2582911d1736dc2ffc19f2c3ae49997496bc"}, - {file = "cryptography-42.0.5-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:cd2030f6650c089aeb304cf093f3244d34745ce0cfcc39f20c6fbfe030102e2a"}, - {file = "cryptography-42.0.5-cp39-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:a2913c5375154b6ef2e91c10b5720ea6e21007412f6437504ffea2109b5a33d7"}, - {file = "cryptography-42.0.5-cp39-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:c41fb5e6a5fe9ebcd58ca3abfeb51dffb5d83d6775405305bfa8715b76521922"}, - {file = "cryptography-42.0.5-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:3eaafe47ec0d0ffcc9349e1708be2aaea4c6dd4978d76bf6eb0cb2c13636c6fc"}, - {file = "cryptography-42.0.5-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:1b95b98b0d2af784078fa69f637135e3c317091b615cd0905f8b8a087e86fa30"}, - {file = "cryptography-42.0.5-cp39-abi3-win32.whl", hash = "sha256:1f71c10d1e88467126f0efd484bd44bca5e14c664ec2ede64c32f20875c0d413"}, - {file = "cryptography-42.0.5-cp39-abi3-win_amd64.whl", hash = "sha256:a011a644f6d7d03736214d38832e030d8268bcff4a41f728e6030325fea3e400"}, - {file = "cryptography-42.0.5-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:9481ffe3cf013b71b2428b905c4f7a9a4f76ec03065b05ff499bb5682a8d9ad8"}, - {file = "cryptography-42.0.5-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:ba334e6e4b1d92442b75ddacc615c5476d4ad55cc29b15d590cc6b86efa487e2"}, - {file = "cryptography-42.0.5-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:ba3e4a42397c25b7ff88cdec6e2a16c2be18720f317506ee25210f6d31925f9c"}, - {file = "cryptography-42.0.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:111a0d8553afcf8eb02a4fea6ca4f59d48ddb34497aa8706a6cf536f1a5ec576"}, - {file = "cryptography-42.0.5-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:cd65d75953847815962c84a4654a84850b2bb4aed3f26fadcc1c13892e1e29f6"}, - {file = "cryptography-42.0.5-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:e807b3188f9eb0eaa7bbb579b462c5ace579f1cedb28107ce8b48a9f7ad3679e"}, - {file = "cryptography-42.0.5-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:f12764b8fffc7a123f641d7d049d382b73f96a34117e0b637b80643169cec8ac"}, - {file = "cryptography-42.0.5-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:37dd623507659e08be98eec89323469e8c7b4c1407c85112634ae3dbdb926fdd"}, - {file = "cryptography-42.0.5.tar.gz", hash = "sha256:6fe07eec95dfd477eb9530aef5bead34fec819b3aaf6c5bd6d20565da607bfe1"}, + {file = "cryptography-42.0.8-cp37-abi3-macosx_10_12_universal2.whl", hash = "sha256:81d8a521705787afe7a18d5bfb47ea9d9cc068206270aad0b96a725022e18d2e"}, + {file = "cryptography-42.0.8-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:961e61cefdcb06e0c6d7e3a1b22ebe8b996eb2bf50614e89384be54c48c6b63d"}, + {file = "cryptography-42.0.8-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e3ec3672626e1b9e55afd0df6d774ff0e953452886e06e0f1eb7eb0c832e8902"}, + {file = "cryptography-42.0.8-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e599b53fd95357d92304510fb7bda8523ed1f79ca98dce2f43c115950aa78801"}, + {file = "cryptography-42.0.8-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:5226d5d21ab681f432a9c1cf8b658c0cb02533eece706b155e5fbd8a0cdd3949"}, + {file = "cryptography-42.0.8-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:6b7c4f03ce01afd3b76cf69a5455caa9cfa3de8c8f493e0d3ab7d20611c8dae9"}, + {file = "cryptography-42.0.8-cp37-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:2346b911eb349ab547076f47f2e035fc8ff2c02380a7cbbf8d87114fa0f1c583"}, + {file = "cryptography-42.0.8-cp37-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:ad803773e9df0b92e0a817d22fd8a3675493f690b96130a5e24f1b8fabbea9c7"}, + {file = "cryptography-42.0.8-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:2f66d9cd9147ee495a8374a45ca445819f8929a3efcd2e3df6428e46c3cbb10b"}, + {file = "cryptography-42.0.8-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:d45b940883a03e19e944456a558b67a41160e367a719833c53de6911cabba2b7"}, + {file = "cryptography-42.0.8-cp37-abi3-win32.whl", hash = "sha256:a0c5b2b0585b6af82d7e385f55a8bc568abff8923af147ee3c07bd8b42cda8b2"}, + {file = "cryptography-42.0.8-cp37-abi3-win_amd64.whl", hash = "sha256:57080dee41209e556a9a4ce60d229244f7a66ef52750f813bfbe18959770cfba"}, + {file = "cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl", hash = "sha256:dea567d1b0e8bc5764b9443858b673b734100c2871dc93163f58c46a97a83d28"}, + {file = "cryptography-42.0.8-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c4783183f7cb757b73b2ae9aed6599b96338eb957233c58ca8f49a49cc32fd5e"}, + {file = "cryptography-42.0.8-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a0608251135d0e03111152e41f0cc2392d1e74e35703960d4190b2e0f4ca9c70"}, + {file = "cryptography-42.0.8-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:dc0fdf6787f37b1c6b08e6dfc892d9d068b5bdb671198c72072828b80bd5fe4c"}, + {file = "cryptography-42.0.8-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:9c0c1716c8447ee7dbf08d6db2e5c41c688544c61074b54fc4564196f55c25a7"}, + {file = "cryptography-42.0.8-cp39-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:fff12c88a672ab9c9c1cf7b0c80e3ad9e2ebd9d828d955c126be4fd3e5578c9e"}, + {file = "cryptography-42.0.8-cp39-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:cafb92b2bc622cd1aa6a1dce4b93307792633f4c5fe1f46c6b97cf67073ec961"}, + {file = "cryptography-42.0.8-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:31f721658a29331f895a5a54e7e82075554ccfb8b163a18719d342f5ffe5ecb1"}, + {file = "cryptography-42.0.8-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b297f90c5723d04bcc8265fc2a0f86d4ea2e0f7ab4b6994459548d3a6b992a14"}, + {file = "cryptography-42.0.8-cp39-abi3-win32.whl", hash = "sha256:2f88d197e66c65be5e42cd72e5c18afbfae3f741742070e3019ac8f4ac57262c"}, + {file = "cryptography-42.0.8-cp39-abi3-win_amd64.whl", hash = "sha256:fa76fbb7596cc5839320000cdd5d0955313696d9511debab7ee7278fc8b5c84a"}, + {file = "cryptography-42.0.8-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:ba4f0a211697362e89ad822e667d8d340b4d8d55fae72cdd619389fb5912eefe"}, + {file = "cryptography-42.0.8-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:81884c4d096c272f00aeb1f11cf62ccd39763581645b0812e99a91505fa48e0c"}, + {file = "cryptography-42.0.8-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:c9bb2ae11bfbab395bdd072985abde58ea9860ed84e59dbc0463a5d0159f5b71"}, + {file = "cryptography-42.0.8-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:7016f837e15b0a1c119d27ecd89b3515f01f90a8615ed5e9427e30d9cdbfed3d"}, + {file = "cryptography-42.0.8-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:5a94eccb2a81a309806027e1670a358b99b8fe8bfe9f8d329f27d72c094dde8c"}, + {file = "cryptography-42.0.8-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:dec9b018df185f08483f294cae6ccac29e7a6e0678996587363dc352dc65c842"}, + {file = "cryptography-42.0.8-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:343728aac38decfdeecf55ecab3264b015be68fc2816ca800db649607aeee648"}, + {file = "cryptography-42.0.8-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:013629ae70b40af70c9a7a5db40abe5d9054e6f4380e50ce769947b73bf3caad"}, + {file = "cryptography-42.0.8.tar.gz", hash = "sha256:8d09d05439ce7baa8e9e95b07ec5b6c886f548deb7e0f69ef25f64b3bce842f2"}, ] [package.dependencies] @@ -470,13 +512,13 @@ profile = ["gprof2dot (>=2022.7.29)"] [[package]] name = "exceptiongroup" -version = "1.2.1" +version = "1.2.2" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" files = [ - {file = "exceptiongroup-1.2.1-py3-none-any.whl", hash = "sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad"}, - {file = "exceptiongroup-1.2.1.tar.gz", hash = "sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16"}, + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, ] [package.extras] @@ -570,13 +612,13 @@ files = [ [[package]] name = "idna" -version = "3.7" +version = "3.8" description = "Internationalized Domain Names in Applications (IDNA)" optional = false -python-versions = ">=3.5" +python-versions = ">=3.6" files = [ - {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, - {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, + {file = "idna-3.8-py3-none-any.whl", hash = "sha256:050b4e5baadcd44d760cedbd2b8e639f2ff89bbc7a5730fcc662954303377aac"}, + {file = "idna-3.8.tar.gz", hash = "sha256:d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603"}, ] [[package]] @@ -727,13 +769,13 @@ files = [ [[package]] name = "packaging" -version = "24.0" +version = "24.1" description = "Core utilities for Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"}, - {file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"}, + {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, + {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, ] [[package]] @@ -802,17 +844,17 @@ files = [ [[package]] name = "pylint" -version = "3.2.2" +version = "3.2.6" description = "python code static checker" optional = false python-versions = ">=3.8.0" files = [ - {file = "pylint-3.2.2-py3-none-any.whl", hash = "sha256:3f8788ab20bb8383e06dd2233e50f8e08949cfd9574804564803441a4946eab4"}, - {file = "pylint-3.2.2.tar.gz", hash = "sha256:d068ca1dfd735fb92a07d33cb8f288adc0f6bc1287a139ca2425366f7cbe38f8"}, + {file = "pylint-3.2.6-py3-none-any.whl", hash = "sha256:03c8e3baa1d9fb995b12c1dbe00aa6c4bcef210c2a2634374aedeb22fb4a8f8f"}, + {file = "pylint-3.2.6.tar.gz", hash = "sha256:a5d01678349454806cff6d886fb072294f56a58c4761278c97fb557d708e1eb3"}, ] [package.dependencies] -astroid = ">=3.2.2,<=3.3.0-dev0" +astroid = ">=3.2.4,<=3.3.0-dev0" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} dill = [ {version = ">=0.2", markers = "python_version < \"3.11\""}, @@ -832,13 +874,13 @@ testutils = ["gitpython (>3)"] [[package]] name = "pytest" -version = "8.2.0" +version = "8.3.2" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-8.2.0-py3-none-any.whl", hash = "sha256:1733f0620f6cda4095bbf0d9ff8022486e91892245bb9e7d5542c018f612f233"}, - {file = "pytest-8.2.0.tar.gz", hash = "sha256:d507d4482197eac0ba2bae2e9babf0672eb333017bcedaa5fb1a3d42c1174b3f"}, + {file = "pytest-8.3.2-py3-none-any.whl", hash = "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5"}, + {file = "pytest-8.3.2.tar.gz", hash = "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce"}, ] [package.dependencies] @@ -846,7 +888,7 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.5,<2.0" +pluggy = ">=1.5,<2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] @@ -854,13 +896,13 @@ dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments [[package]] name = "pytest-asyncio" -version = "0.23.6" +version = "0.23.8" description = "Pytest support for asyncio" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-asyncio-0.23.6.tar.gz", hash = "sha256:ffe523a89c1c222598c76856e76852b787504ddb72dd5d9b6617ffa8aa2cde5f"}, - {file = "pytest_asyncio-0.23.6-py3-none-any.whl", hash = "sha256:68516fdd1018ac57b846c9846b954f0393b26f094764a28c955eabb0536a4e8a"}, + {file = "pytest_asyncio-0.23.8-py3-none-any.whl", hash = "sha256:50265d892689a5faefb84df80819d1ecef566eb3549cf915dfb33569359d1ce2"}, + {file = "pytest_asyncio-0.23.8.tar.gz", hash = "sha256:759b10b33a6dc61cce40a8bd5205e302978bbbcc00e279a8b61d9a6a3c82e4d3"}, ] [package.dependencies] @@ -889,13 +931,13 @@ dev = ["pre-commit", "pytest-asyncio", "tox"] [[package]] name = "requests" -version = "2.31.0" +version = "2.32.3" description = "Python HTTP for Humans." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, - {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, + {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, + {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, ] [package.dependencies] @@ -921,35 +963,35 @@ files = [ [[package]] name = "tomlkit" -version = "0.12.5" +version = "0.13.2" description = "Style preserving TOML library" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "tomlkit-0.12.5-py3-none-any.whl", hash = "sha256:af914f5a9c59ed9d0762c7b64d3b5d5df007448eb9cd2edc8a46b1eafead172f"}, - {file = "tomlkit-0.12.5.tar.gz", hash = "sha256:eef34fba39834d4d6b73c9ba7f3e4d1c417a4e56f89a7e96e090dd0d24b8fb3c"}, + {file = "tomlkit-0.13.2-py3-none-any.whl", hash = "sha256:7a974427f6e119197f670fbbbeae7bef749a6c14e793db934baefc1b5f03efde"}, + {file = "tomlkit-0.13.2.tar.gz", hash = "sha256:fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79"}, ] [[package]] name = "typing-extensions" -version = "4.12.0" +version = "4.12.2" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.12.0-py3-none-any.whl", hash = "sha256:b349c66bea9016ac22978d800cfff206d5f9816951f12a7d0ec5578b0a819594"}, - {file = "typing_extensions-4.12.0.tar.gz", hash = "sha256:8cbcdc8606ebcb0d95453ad7dc5065e6237b6aa230a31e81d0f440c30fed5fd8"}, + {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, + {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] [[package]] name = "urllib3" -version = "2.2.1" +version = "2.2.2" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false python-versions = ">=3.8" files = [ - {file = "urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d"}, - {file = "urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"}, + {file = "urllib3-2.2.2-py3-none-any.whl", hash = "sha256:a448b2f64d686155468037e1ace9f2d2199776e17f0a46610480d311f73e3472"}, + {file = "urllib3-2.2.2.tar.gz", hash = "sha256:dd505485549a7a552833da5e6063639d0d177c04f23bc3864e41e5dc5f612168"}, ] [package.extras] @@ -1064,4 +1106,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "6ad80342c69ebaa8296c72ac2b8d88e85c67ba6d96cddb47858eecdecf8c2c04" +content-hash = "ffc4afa7ade0c445462ae0874f5a3ba5d593f68cf17bd6185cdcbb938bbf5600" From 3ed9e70f399b94009ff003314eba0ae099d72e49 Mon Sep 17 00:00:00 2001 From: sndmndss Date: Wed, 28 Aug 2024 15:49:55 +0200 Subject: [PATCH 2/4] Format code with black --- bpx/account.py | 80 +++++++++++++++++++++++------ bpx/async_/account.py | 80 +++++++++++++++++++++++------ bpx/async_/public.py | 4 +- bpx/base/base_account.py | 12 +++-- bpx/base/base_public.py | 1 + bpx/models/request_configuration.py | 8 ++- 6 files changed, 146 insertions(+), 39 deletions(-) diff --git a/bpx/account.py b/bpx/account.py index d2153fb..5111f4c 100644 --- a/bpx/account.py +++ b/bpx/account.py @@ -26,7 +26,9 @@ def get_balances(self, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Capital/operation/get_balances """ request_config = super().get_balances(window) - return self.http_client.get(url=request_config.url, headers=request_config.headers) + return self.http_client.get( + url=request_config.url, headers=request_config.headers + ) def get_deposits( self, @@ -42,7 +44,11 @@ def get_deposits( https://docs.backpack.exchange/#tag/Capital/operation/get_deposits """ request_config = super().get_deposits(limit, offset, window, from_, to) - return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) def get_deposit_address(self, blockchain: str, window: Optional[int] = None): """ @@ -51,7 +57,11 @@ def get_deposit_address(self, blockchain: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Capital/operation/get_deposit_address """ request_config = super().get_deposit_address(blockchain, window) - return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) def get_withdrawals( self, @@ -67,7 +77,11 @@ def get_withdrawals( https://docs.backpack.exchange/#tag/Capital/operation/get_withdrawals """ request_config = super().get_withdrawals(limit, offset, from_, to, window) - return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) def withdrawal( self, @@ -85,20 +99,30 @@ def withdrawal( request_config = super().withdrawal( address, symbol, blockchain, quantity, window ) - return self.http_client.post(url=request_config.url, headers=request_config.headers, data=request_config.data) + return self.http_client.post( + url=request_config.url, + headers=request_config.headers, + data=request_config.data, + ) def get_order_history_query( - self, symbol: str, limit: int = 100, offset: int = 0, window: Optional[int] = None + self, + symbol: str, + limit: int = 100, + offset: int = 0, + window: Optional[int] = None, ): """ Returns orders history of a specified symbol https://docs.backpack.exchange/#tag/History/operation/get_order_history """ - request_config = super().get_order_history_query( - symbol, limit, offset, window + request_config = super().get_order_history_query(symbol, limit, offset, window) + return self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, ) - return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def get_fill_history_query( self, @@ -117,7 +141,11 @@ def get_fill_history_query( request_config = super().get_fill_history_query( symbol, limit, offset, from_, to, window ) - return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) def get_open_order( self, @@ -131,10 +159,12 @@ def get_open_order( https://docs.backpack.exchange/#tag/Order/operation/get_order """ - request_config = super().get_open_order( - symbol, order_id, client_id, window + request_config = super().get_open_order(symbol, order_id, client_id, window) + return self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, ) - return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) def execute_order( self, @@ -170,7 +200,11 @@ def execute_order( post_only, window, ) - return self.http_client.post(url=request_config.url, headers=request_config.headers, data=request_config.data) + return self.http_client.post( + url=request_config.url, + headers=request_config.headers, + data=request_config.data, + ) def cancel_order( self, @@ -185,7 +219,11 @@ def cancel_order( https://docs.backpack.exchange/#tag/Order/operation/cancel_order """ request_config = super().cancel_order(symbol, order_id, client_id, window) - return self.http_client.delete(url=request_config.url, headers=request_config.headers, data=request_config.data) + return self.http_client.delete( + url=request_config.url, + headers=request_config.headers, + data=request_config.data, + ) def get_open_orders(self, symbol: str, window: Optional[int] = None): """ @@ -194,7 +232,11 @@ def get_open_orders(self, symbol: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Order/operation/get_open_orders """ request_config = super().get_open_orders(symbol, window) - return self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) def cancel_all_orders(self, symbol: str, window: Optional[int] = None): """ @@ -203,4 +245,8 @@ def cancel_all_orders(self, symbol: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Order/operation/cancel_open_orders """ request_config = super().cancel_all_orders(symbol, window) - return self.http_client.delete(url=request_config.url, headers=request_config.headers, data=request_config.data) + return self.http_client.delete( + url=request_config.url, + headers=request_config.headers, + data=request_config.data, + ) diff --git a/bpx/async_/account.py b/bpx/async_/account.py index 0639cf5..3355002 100644 --- a/bpx/async_/account.py +++ b/bpx/async_/account.py @@ -26,7 +26,9 @@ async def get_balances(self, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Capital/operation/get_balances """ request_config = super().get_balances(window) - return await self.http_client.get(url=request_config.url, headers=request_config.headers) + return await self.http_client.get( + url=request_config.url, headers=request_config.headers + ) async def get_deposits( self, @@ -42,7 +44,11 @@ async def get_deposits( https://docs.backpack.exchange/#tag/Capital/operation/get_deposits """ request_config = super().get_deposits(limit, offset, window) - return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return await self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) async def get_deposit_address(self, blockchain: str, window: Optional[int] = None): """ @@ -51,7 +57,11 @@ async def get_deposit_address(self, blockchain: str, window: Optional[int] = Non https://docs.backpack.exchange/#tag/Capital/operation/get_deposit_address """ request_config = super().get_deposit_address(blockchain, window) - return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return await self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) async def get_withdrawals( self, @@ -67,7 +77,11 @@ async def get_withdrawals( https://docs.backpack.exchange/#tag/Capital/operation/get_withdrawals """ request_config = super().get_withdrawals(limit, offset, from_, to, window) - return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return await self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) async def withdrawal( self, @@ -85,20 +99,30 @@ async def withdrawal( request_config = super().withdrawal( address, symbol, blockchain, quantity, window ) - return await self.http_client.post(url=request_config.url, headers=request_config.headers, data=request_config.data) + return await self.http_client.post( + url=request_config.url, + headers=request_config.headers, + data=request_config.data, + ) async def get_order_history_query( - self, symbol: str, limit: int = 100, offset: int = 0, window: Optional[int] = None + self, + symbol: str, + limit: int = 100, + offset: int = 0, + window: Optional[int] = None, ): """ Returns orders history of a specified symbol https://docs.backpack.exchange/#tag/History/operation/get_order_history """ - request_config = super().get_order_history_query( - symbol, limit, offset, window + request_config = super().get_order_history_query(symbol, limit, offset, window) + return await self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, ) - return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def get_fill_history_query( self, @@ -117,7 +141,11 @@ async def get_fill_history_query( request_config = super().get_fill_history_query( symbol, limit, offset, from_, to, window ) - return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return await self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) async def get_open_order( self, @@ -131,10 +159,12 @@ async def get_open_order( https://docs.backpack.exchange/#tag/Order/operation/get_order """ - request_config = super().get_open_order( - symbol, order_id, client_id, window + request_config = super().get_open_order(symbol, order_id, client_id, window) + return await self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, ) - return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) async def execute_order( self, @@ -170,7 +200,11 @@ async def execute_order( post_only, window, ) - return await self.http_client.post(url=request_config.url, headers=request_config.headers, data=request_config.data) + return await self.http_client.post( + url=request_config.url, + headers=request_config.headers, + data=request_config.data, + ) async def cancel_order( self, @@ -185,7 +219,11 @@ async def cancel_order( https://docs.backpack.exchange/#tag/Order/operation/cancel_order """ request_config = super().cancel_order(symbol, order_id, client_id, window) - return await self.http_client.delete(url=request_config.url, headers=request_config.headers, data=request_config.data) + return await self.http_client.delete( + url=request_config.url, + headers=request_config.headers, + data=request_config.data, + ) async def get_open_orders(self, symbol: str, window: Optional[int] = None): """ @@ -194,7 +232,11 @@ async def get_open_orders(self, symbol: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Order/operation/get_open_orders """ request_config = super().get_open_orders(symbol, window) - return await self.http_client.get(url=request_config.url, headers=request_config.headers, params=request_config.params) + return await self.http_client.get( + url=request_config.url, + headers=request_config.headers, + params=request_config.params, + ) async def cancel_all_orders(self, symbol: str, window: Optional[int] = None): """ @@ -203,4 +245,8 @@ async def cancel_all_orders(self, symbol: str, window: Optional[int] = None): https://docs.backpack.exchange/#tag/Order/operation/cancel_open_orders """ request_config = super().cancel_all_orders(symbol, window) - return await self.http_client.delete(url=request_config.url, headers=request_config.headers, data=request_config.data) + return await self.http_client.delete( + url=request_config.url, + headers=request_config.headers, + data=request_config.data, + ) diff --git a/bpx/async_/public.py b/bpx/async_/public.py index cf646b6..d4cf868 100644 --- a/bpx/async_/public.py +++ b/bpx/async_/public.py @@ -8,7 +8,9 @@ class Public(BasePublic): def __init__( - self, proxy: Optional[str] = None, http_client: AsyncHttpClient = default_http_client + self, + proxy: Optional[str] = None, + http_client: AsyncHttpClient = default_http_client, ): self.http_client = http_client self.http_client.proxy = proxy diff --git a/bpx/base/base_account.py b/bpx/base/base_account.py index 344b886..a535365 100644 --- a/bpx/base/base_account.py +++ b/bpx/base/base_account.py @@ -65,7 +65,9 @@ def get_deposits( request_config = RequestConfiguration(url=url, headers=headers, params=params) return request_config - def get_deposit_address(self, blockchain: str, window: Optional[int] = None) -> RequestConfiguration: + def get_deposit_address( + self, blockchain: str, window: Optional[int] = None + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting a deposit address @@ -284,7 +286,9 @@ def cancel_order( request_config = RequestConfiguration(url=url, headers=headers, data=params) return request_config - def get_open_orders(self, symbol: str, window: Optional[int] = None) -> RequestConfiguration: + def get_open_orders( + self, symbol: str, window: Optional[int] = None + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for getting account open orders @@ -296,7 +300,9 @@ def get_open_orders(self, symbol: str, window: Optional[int] = None) -> RequestC request_config = RequestConfiguration(url=url, headers=headers, params=params) return request_config - def cancel_all_orders(self, symbol: str, window: Optional[int] = None) -> RequestConfiguration: + def cancel_all_orders( + self, symbol: str, window: Optional[int] = None + ) -> RequestConfiguration: """ Returns the url, headers and request parameters for cancelling all open orders for a specific symbol diff --git a/bpx/base/base_public.py b/bpx/base/base_public.py index 53031d0..b398185 100644 --- a/bpx/base/base_public.py +++ b/bpx/base/base_public.py @@ -39,6 +39,7 @@ def get_depth_url(self, symbol) -> str: https://docs.backpack.exchange/#tag/Markets/operation/get_depth """ return self._endpoint(f"api/v1/depth?symbol={symbol}") + # currently not available # def get_collateral_summaries_for_all_assets(self): # """ diff --git a/bpx/models/request_configuration.py b/bpx/models/request_configuration.py index 450e385..77d985f 100644 --- a/bpx/models/request_configuration.py +++ b/bpx/models/request_configuration.py @@ -2,7 +2,13 @@ class RequestConfiguration: - def __init__(self, url: str, headers: Optional[dict] = None, params: Optional[dict] = None, data: Optional[dict] = None): + def __init__( + self, + url: str, + headers: Optional[dict] = None, + params: Optional[dict] = None, + data: Optional[dict] = None, + ): self.url = url self.headers = headers self.params = params From 7b672eb96f132bb87a1b38dd2b286aa972358643 Mon Sep 17 00:00:00 2001 From: sndmndss Date: Wed, 28 Aug 2024 15:57:56 +0200 Subject: [PATCH 3/4] Fix base account test, patch version --- pyproject.toml | 2 +- tests/test_base_account.py | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index db5d169..b530cf0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bpx-py" -version = "1.2.0" +version = "1.2.1" description = "Backpack API SDK tool" authors = ["sndmndss "] readme = "README.md" diff --git a/tests/test_base_account.py b/tests/test_base_account.py index 8daaff1..a6b55d1 100644 --- a/tests/test_base_account.py +++ b/tests/test_base_account.py @@ -26,9 +26,9 @@ def test_initialization(account): def test_get_balances(account): - url, headers = account.get_balances(window=10000) - assert url == "https://api.backpack.exchange/api/v1/capital" - assert "X-API-Key" in headers + request_config = account.get_balances(window=10000) + assert request_config.url == "https://api.backpack.exchange/api/v1/capital" + assert "X-API-Key" in request_config.headers def test_get_deposits(account): @@ -38,21 +38,21 @@ def test_get_deposits(account): with pytest.raises(NegativeValueError): account.get_deposits(limit=100, offset=-1, window=10000) - url, headers, params = account.get_deposits(limit=100, offset=0, window=10000) - assert url == "https://api.backpack.exchange/wapi/v1/capital/deposits" - assert params["limit"] == 100 - assert params["offset"] == 0 + request_config = account.get_deposits(limit=100, offset=0, window=10000) + assert request_config.url == "https://api.backpack.exchange/wapi/v1/capital/deposits" + assert request_config.params["limit"] == 100 + assert request_config.params["offset"] == 0 def test_get_deposit_address(account): with pytest.raises(InvalidBlockchainValue): account.get_deposit_address(blockchain="invalid_blockchain", window=10000) - url, headers, params = account.get_deposit_address( + request_config = account.get_deposit_address( blockchain="Bitcoin", window=10000 ) - assert url == "https://api.backpack.exchange/wapi/v1/capital/deposit/address" - assert params["blockchain"] == "Bitcoin" + assert request_config.url == "https://api.backpack.exchange/wapi/v1/capital/deposit/address" + assert request_config.params["blockchain"] == "Bitcoin" def test_signing(account): @@ -72,13 +72,13 @@ def test_withdrawal(account): window=10000, ) - url, headers, params = account.withdrawal( + request_config = account.withdrawal( address="1BitcoinAddress", symbol="BTC", blockchain="Bitcoin", quantity="1.0", window=10000, ) - assert url == "https://api.backpack.exchange/wapi/v1/capital/withdrawals" - assert params["address"] == "1BitcoinAddress" - assert params["blockchain"] == "Bitcoin" + assert request_config.url == "https://api.backpack.exchange/wapi/v1/capital/withdrawals" + assert request_config.params["address"] == "1BitcoinAddress" + assert request_config.params["blockchain"] == "Bitcoin" From 959cfc79e14a3caef1081a886c0d44c16b4fbb1e Mon Sep 17 00:00:00 2001 From: sndmndss Date: Wed, 28 Aug 2024 16:00:34 +0200 Subject: [PATCH 4/4] Fix base account test --- tests/test_base_account.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_base_account.py b/tests/test_base_account.py index a6b55d1..5d1fa6c 100644 --- a/tests/test_base_account.py +++ b/tests/test_base_account.py @@ -57,9 +57,9 @@ def test_get_deposit_address(account): def test_signing(account): with patch.object(account, "_sign", return_value="mock_signature") as mock_sign: - _, headers = account.get_balances(window=10000) + request_config = account.get_balances(window=10000) mock_sign.assert_called_once() - assert headers["X-Signature"] == "mock_signature" + assert request_config.headers["X-Signature"] == "mock_signature" def test_withdrawal(account): @@ -80,5 +80,5 @@ def test_withdrawal(account): window=10000, ) assert request_config.url == "https://api.backpack.exchange/wapi/v1/capital/withdrawals" - assert request_config.params["address"] == "1BitcoinAddress" - assert request_config.params["blockchain"] == "Bitcoin" + assert request_config.data["address"] == "1BitcoinAddress" + assert request_config.data["blockchain"] == "Bitcoin"