compass_api_sdk 0.2.1__tar.gz → 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of compass_api_sdk might be problematic. Click here for more details.

Files changed (182) hide show
  1. {compass_api_sdk-0.2.1 → compass_api_sdk-0.3.0}/PKG-INFO +33 -33
  2. {compass_api_sdk-0.2.1 → compass_api_sdk-0.3.0}/README-PYPI.md +32 -32
  3. {compass_api_sdk-0.2.1 → compass_api_sdk-0.3.0}/pyproject.toml +4 -4
  4. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/_hooks/sdkhooks.py +1 -1
  5. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/_hooks/types.py +1 -1
  6. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/_version.py +3 -3
  7. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/aave_v3.py +27 -27
  8. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/aerodrome_slipstream.py +11 -11
  9. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/basesdk.py +3 -3
  10. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/errors/httpvalidationerror.py +3 -3
  11. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/httpclient.py +7 -37
  12. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aave_historical_transactionsop.py +8 -2
  13. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aave_liquidity_changeop.py +8 -12
  14. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aave_rateop.py +4 -12
  15. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aave_reserve_overviewop.py +4 -12
  16. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aave_token_priceop.py +4 -12
  17. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aave_user_position_per_tokenop.py +6 -12
  18. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aave_user_position_summaryop.py +4 -2
  19. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aaveborrowparams.py +1 -1
  20. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aaveborrowrequest.py +1 -1
  21. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aavehistoricaltransactionsresponse.py +2 -2
  22. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aaveliquiditychangeresponse.py +1 -1
  23. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aavelooprequest.py +1 -1
  24. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aaverateresponse.py +1 -1
  25. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aaverepayparams.py +1 -1
  26. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aaverepayrequest.py +1 -1
  27. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aavereserveoverviewresponse.py +1 -1
  28. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aavesupplyparams.py +1 -1
  29. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aavesupplyrequest.py +1 -1
  30. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aavetokenpriceresponse.py +1 -1
  31. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aaveuserpositionpertokenresponse.py +1 -1
  32. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aaveuserpositionsummaryresponse.py +1 -1
  33. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aavewithdrawparams.py +1 -1
  34. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aavewithdrawrequest.py +1 -1
  35. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodrome_slipstream_liquidity_provision_positionsop.py +4 -2
  36. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodrome_slipstream_pool_priceop.py +8 -22
  37. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromelppositionsresponse.py +1 -1
  38. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeposition.py +1 -1
  39. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreambuyexactlyparams.py +1 -1
  40. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreambuyexactlyrequest.py +1 -1
  41. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +1 -1
  42. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +1 -1
  43. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreammintliquidityprovisionparams.py +1 -1
  44. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreammintliquidityprovisionrequest.py +1 -1
  45. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreampoolpriceresponse.py +1 -1
  46. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreamsellexactlyparams.py +1 -1
  47. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreamsellexactlyrequest.py +1 -1
  48. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +1 -1
  49. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +1 -1
  50. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/allowanceinforesponse.py +1 -1
  51. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/borrow.py +2 -2
  52. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/chaininfo.py +1 -1
  53. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py +1 -1
  54. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py +1 -1
  55. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/ensnameinforesponse.py +1 -1
  56. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/generic_allowanceop.py +10 -12
  57. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/generic_ensop.py +4 -2
  58. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/generic_portfolioop.py +4 -2
  59. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/generic_supported_tokensop.py +2 -2
  60. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/generic_visualize_portfolioop.py +4 -2
  61. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/image.py +1 -1
  62. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/increaseallowanceanyparams.py +1 -1
  63. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/increaseallowanceparams.py +1 -1
  64. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/increaseallowancerequest.py +1 -1
  65. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/liquidationcall.py +2 -2
  66. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/marketstate.py +1 -1
  67. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morpho_market_positionop.py +6 -2
  68. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morpho_marketsop.py +6 -2
  69. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morpho_vault_positionop.py +6 -2
  70. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morpho_vaultsop.py +4 -2
  71. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphoborrowrequest.py +1 -1
  72. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphocheckmarketpositionresponse.py +1 -1
  73. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphocheckvaultpositionresponse.py +1 -1
  74. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphodepositrequest.py +1 -1
  75. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphogetmarketsresponse.py +1 -1
  76. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphogetvaultsresponse.py +1 -1
  77. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphomarket.py +1 -1
  78. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphorepayrequest.py +1 -1
  79. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphosetvaultallowancerequest.py +1 -1
  80. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphosupplycollateralrequest.py +1 -1
  81. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphovault.py +1 -1
  82. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphowithdrawcollateralrequest.py +1 -1
  83. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/morphowithdrawrequest.py +1 -1
  84. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/multicallaction.py +1 -1
  85. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/multicallauthorizationrequest.py +1 -1
  86. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/multicallauthorizationresponse.py +1 -1
  87. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/multicallexecuterequest.py +1 -1
  88. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/portfolio.py +1 -1
  89. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/redeemunderlying.py +1 -1
  90. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/repay.py +2 -2
  91. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/reserve.py +1 -1
  92. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/security.py +2 -2
  93. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/signedauthorization.py +1 -1
  94. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/sky_positionop.py +4 -2
  95. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/skybuyrequest.py +2 -2
  96. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/skycheckpositionresponse.py +1 -1
  97. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/skydepositrequest.py +2 -2
  98. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/skysellrequest.py +2 -2
  99. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/skywithdrawrequest.py +2 -2
  100. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/supply.py +2 -2
  101. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/swapborrowrate.py +2 -2
  102. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/token_addressop.py +4 -12
  103. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/token_balanceop.py +8 -2
  104. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/token_priceop.py +4 -12
  105. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/tokenaddressresponse.py +1 -1
  106. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/tokenbalance.py +1 -1
  107. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/tokenbalanceresponse.py +1 -1
  108. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/tokeninfo.py +1 -1
  109. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/tokenpriceresponse.py +1 -1
  110. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/tokentransfererc20params.py +1 -1
  111. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/tokentransferrequest.py +1 -1
  112. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswap_liquidity_provision_in_rangeop.py +4 -2
  113. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswap_liquidity_provision_positionsop.py +4 -2
  114. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswap_pool_priceop.py +8 -30
  115. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswap_quote_buy_exactlyop.py +12 -30
  116. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswap_quote_sell_exactlyop.py +12 -30
  117. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapbuyexactlyparams.py +1 -1
  118. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapbuyexactlyrequest.py +1 -1
  119. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapbuyquoteinforesponse.py +1 -1
  120. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapcheckinrangeresponse.py +1 -1
  121. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapincreaseliquidityprovisionparams.py +1 -1
  122. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapincreaseliquidityprovisionrequest.py +1 -1
  123. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswaplppositionsinforesponse.py +1 -1
  124. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapmintliquidityprovisionparams.py +1 -1
  125. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapmintliquidityprovisionrequest.py +1 -1
  126. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswappoolpriceresponse.py +1 -1
  127. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswappositionssolidityresponse.py +1 -1
  128. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapsellexactlyparams.py +1 -1
  129. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapsellexactlyrequest.py +1 -1
  130. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapsellquoteinforesponse.py +1 -1
  131. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapwithdrawliquidityprovisionparams.py +1 -1
  132. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/uniswapwithdrawliquidityprovisionrequest.py +1 -1
  133. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/unsignedmulticalltransaction.py +1 -1
  134. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/unsignedtransaction.py +1 -1
  135. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/unwrapwethparams.py +1 -1
  136. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/unwrapwethrequest.py +1 -1
  137. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/usageascollateral.py +2 -2
  138. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/validationerror.py +1 -1
  139. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/vaultstate.py +1 -1
  140. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/weeklyapys.py +1 -1
  141. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/wrapethparams.py +1 -1
  142. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/wrapethrequest.py +1 -1
  143. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/morpho.py +17 -17
  144. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/sdk.py +11 -11
  145. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/sdkconfiguration.py +2 -2
  146. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/sky.py +5 -5
  147. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/token_sdk.py +11 -11
  148. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/transaction_batching.py +3 -3
  149. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/uniswap_v3.py +29 -29
  150. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/universal.py +15 -15
  151. compass_api_sdk-0.2.1/src/compass_api_sdk/_hooks/registration.py +0 -13
  152. {compass_api_sdk-0.2.1 → compass_api_sdk-0.3.0}/py.typed +0 -0
  153. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/__init__.py +0 -0
  154. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/_hooks/__init__.py +0 -0
  155. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/errors/__init__.py +0 -0
  156. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/errors/apierror.py +0 -0
  157. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/__init__.py +0 -0
  158. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/chain.py +0 -0
  159. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/contractname.py +0 -0
  160. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/feeenum.py +0 -0
  161. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/interestratemode.py +0 -0
  162. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/multicallactiontype.py +0 -0
  163. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/models/token_enum.py +0 -0
  164. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/py.typed +0 -0
  165. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/types/__init__.py +0 -0
  166. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/types/basemodel.py +0 -0
  167. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/__init__.py +0 -0
  168. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/annotations.py +0 -0
  169. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/datetimes.py +0 -0
  170. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/enums.py +0 -0
  171. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/eventstreaming.py +0 -0
  172. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/forms.py +0 -0
  173. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/headers.py +0 -0
  174. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/logger.py +0 -0
  175. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/metadata.py +0 -0
  176. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/queryparams.py +0 -0
  177. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/requestbodies.py +0 -0
  178. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/retries.py +0 -0
  179. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/security.py +0 -0
  180. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/serializers.py +0 -0
  181. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/url.py +0 -0
  182. {compass_api_sdk-0.2.1/src/compass_api_sdk → compass_api_sdk-0.3.0/src/compassapisdk}/utils/values.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: compass_api_sdk
3
- Version: 0.2.1
3
+ Version: 0.3.0
4
4
  Summary: Compass API Python SDK
5
5
  Author: royalnine
6
6
  Requires-Python: >=3.9.2
@@ -97,7 +97,7 @@ It's also possible to write a standalone Python script without needing to set up
97
97
  # ]
98
98
  # ///
99
99
 
100
- from compass_api_sdk import CompassAPISDK
100
+ from compassapisdk import CompassAPISDK
101
101
 
102
102
  sdk = CompassAPISDK(
103
103
  # SDK arguments
@@ -127,14 +127,14 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
127
127
 
128
128
  ```python
129
129
  # Synchronous Example
130
- from compass_api_sdk import CompassAPISDK, models
130
+ from compassapisdk import CompassAPISDK, models
131
131
 
132
132
 
133
133
  with CompassAPISDK(
134
134
  api_key_auth="<YOUR_API_KEY_HERE>",
135
- ) as cas_client:
135
+ ) as compass_api_sdk:
136
136
 
137
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
137
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
138
138
 
139
139
  # Handle response
140
140
  print(res)
@@ -146,15 +146,15 @@ The same SDK client can also be used to make asychronous requests by importing a
146
146
  ```python
147
147
  # Asynchronous Example
148
148
  import asyncio
149
- from compass_api_sdk import CompassAPISDK, models
149
+ from compassapisdk import CompassAPISDK, models
150
150
 
151
151
  async def main():
152
152
 
153
153
  async with CompassAPISDK(
154
154
  api_key_auth="<YOUR_API_KEY_HERE>",
155
- ) as cas_client:
155
+ ) as compass_api_sdk:
156
156
 
157
- res = await cas_client.aave_v3.reserve_overview_async(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
157
+ res = await compass_api_sdk.aave_v3.reserve_overview_async(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
158
158
 
159
159
  # Handle response
160
160
  print(res)
@@ -176,14 +176,14 @@ This SDK supports the following security scheme globally:
176
176
 
177
177
  To authenticate with the API the `api_key_auth` parameter must be set when initializing the SDK client instance. For example:
178
178
  ```python
179
- from compass_api_sdk import CompassAPISDK, models
179
+ from compassapisdk import CompassAPISDK, models
180
180
 
181
181
 
182
182
  with CompassAPISDK(
183
183
  api_key_auth="<YOUR_API_KEY_HERE>",
184
- ) as cas_client:
184
+ ) as compass_api_sdk:
185
185
 
186
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
186
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
187
187
 
188
188
  # Handle response
189
189
  print(res)
@@ -291,15 +291,15 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
291
291
 
292
292
  To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
293
293
  ```python
294
- from compass_api_sdk import CompassAPISDK, models
295
- from compass_api_sdk.utils import BackoffStrategy, RetryConfig
294
+ from compassapisdk import CompassAPISDK, models
295
+ from compassapisdk.utils import BackoffStrategy, RetryConfig
296
296
 
297
297
 
298
298
  with CompassAPISDK(
299
299
  api_key_auth="<YOUR_API_KEY_HERE>",
300
- ) as cas_client:
300
+ ) as compass_api_sdk:
301
301
 
302
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC,
302
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC,
303
303
  RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
304
304
 
305
305
  # Handle response
@@ -309,16 +309,16 @@ with CompassAPISDK(
309
309
 
310
310
  If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
311
311
  ```python
312
- from compass_api_sdk import CompassAPISDK, models
313
- from compass_api_sdk.utils import BackoffStrategy, RetryConfig
312
+ from compassapisdk import CompassAPISDK, models
313
+ from compassapisdk.utils import BackoffStrategy, RetryConfig
314
314
 
315
315
 
316
316
  with CompassAPISDK(
317
317
  retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
318
318
  api_key_auth="<YOUR_API_KEY_HERE>",
319
- ) as cas_client:
319
+ ) as compass_api_sdk:
320
320
 
321
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
321
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
322
322
 
323
323
  # Handle response
324
324
  print(res)
@@ -350,16 +350,16 @@ When custom error responses are specified for an operation, the SDK may also rai
350
350
  ### Example
351
351
 
352
352
  ```python
353
- from compass_api_sdk import CompassAPISDK, errors, models
353
+ from compassapisdk import CompassAPISDK, errors, models
354
354
 
355
355
 
356
356
  with CompassAPISDK(
357
357
  api_key_auth="<YOUR_API_KEY_HERE>",
358
- ) as cas_client:
358
+ ) as compass_api_sdk:
359
359
  res = None
360
360
  try:
361
361
 
362
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
362
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
363
363
 
364
364
  # Handle response
365
365
  print(res)
@@ -380,15 +380,15 @@ with CompassAPISDK(
380
380
 
381
381
  The default server can be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
382
382
  ```python
383
- from compass_api_sdk import CompassAPISDK, models
383
+ from compassapisdk import CompassAPISDK, models
384
384
 
385
385
 
386
386
  with CompassAPISDK(
387
387
  server_url="https://api.compasslabs.ai",
388
388
  api_key_auth="<YOUR_API_KEY_HERE>",
389
- ) as cas_client:
389
+ ) as compass_api_sdk:
390
390
 
391
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
391
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
392
392
 
393
393
  # Handle response
394
394
  print(res)
@@ -405,7 +405,7 @@ This allows you to wrap the client with your own custom logic, such as adding cu
405
405
 
406
406
  For example, you could specify a header for every request that this sdk makes as follows:
407
407
  ```python
408
- from compass_api_sdk import CompassAPISDK
408
+ from compassapisdk import CompassAPISDK
409
409
  import httpx
410
410
 
411
411
  http_client = httpx.Client(headers={"x-custom-header": "someValue"})
@@ -414,8 +414,8 @@ s = CompassAPISDK(client=http_client)
414
414
 
415
415
  or you could wrap the client with your own custom logic:
416
416
  ```python
417
- from compass_api_sdk import CompassAPISDK
418
- from compass_api_sdk.httpclient import AsyncHttpClient
417
+ from compassapisdk import CompassAPISDK
418
+ from compassapisdk.httpclient import AsyncHttpClient
419
419
  import httpx
420
420
 
421
421
  class CustomClient(AsyncHttpClient):
@@ -485,12 +485,12 @@ The `CompassAPISDK` class implements the context manager protocol and registers
485
485
  [context-manager]: https://docs.python.org/3/reference/datamodel.html#context-managers
486
486
 
487
487
  ```python
488
- from compass_api_sdk import CompassAPISDK
488
+ from compassapisdk import CompassAPISDK
489
489
  def main():
490
490
 
491
491
  with CompassAPISDK(
492
492
  api_key_auth="<YOUR_API_KEY_HERE>",
493
- ) as cas_client:
493
+ ) as compass_api_sdk:
494
494
  # Rest of application here...
495
495
 
496
496
 
@@ -499,7 +499,7 @@ async def amain():
499
499
 
500
500
  async with CompassAPISDK(
501
501
  api_key_auth="<YOUR_API_KEY_HERE>",
502
- ) as cas_client:
502
+ ) as compass_api_sdk:
503
503
  # Rest of application here...
504
504
  ```
505
505
  <!-- End Resource Management [resource-management] -->
@@ -511,11 +511,11 @@ You can setup your SDK to emit debug logs for SDK requests and responses.
511
511
 
512
512
  You can pass your own logger class directly into your SDK.
513
513
  ```python
514
- from compass_api_sdk import CompassAPISDK
514
+ from compassapisdk import CompassAPISDK
515
515
  import logging
516
516
 
517
517
  logging.basicConfig(level=logging.DEBUG)
518
- s = CompassAPISDK(debug_logger=logging.getLogger("compass_api_sdk"))
518
+ s = CompassAPISDK(debug_logger=logging.getLogger("compassapisdk"))
519
519
  ```
520
520
  <!-- End Debugging [debug] -->
521
521
 
@@ -81,7 +81,7 @@ It's also possible to write a standalone Python script without needing to set up
81
81
  # ]
82
82
  # ///
83
83
 
84
- from compass_api_sdk import CompassAPISDK
84
+ from compassapisdk import CompassAPISDK
85
85
 
86
86
  sdk = CompassAPISDK(
87
87
  # SDK arguments
@@ -111,14 +111,14 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
111
111
 
112
112
  ```python
113
113
  # Synchronous Example
114
- from compass_api_sdk import CompassAPISDK, models
114
+ from compassapisdk import CompassAPISDK, models
115
115
 
116
116
 
117
117
  with CompassAPISDK(
118
118
  api_key_auth="<YOUR_API_KEY_HERE>",
119
- ) as cas_client:
119
+ ) as compass_api_sdk:
120
120
 
121
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
121
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
122
122
 
123
123
  # Handle response
124
124
  print(res)
@@ -130,15 +130,15 @@ The same SDK client can also be used to make asychronous requests by importing a
130
130
  ```python
131
131
  # Asynchronous Example
132
132
  import asyncio
133
- from compass_api_sdk import CompassAPISDK, models
133
+ from compassapisdk import CompassAPISDK, models
134
134
 
135
135
  async def main():
136
136
 
137
137
  async with CompassAPISDK(
138
138
  api_key_auth="<YOUR_API_KEY_HERE>",
139
- ) as cas_client:
139
+ ) as compass_api_sdk:
140
140
 
141
- res = await cas_client.aave_v3.reserve_overview_async(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
141
+ res = await compass_api_sdk.aave_v3.reserve_overview_async(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
142
142
 
143
143
  # Handle response
144
144
  print(res)
@@ -160,14 +160,14 @@ This SDK supports the following security scheme globally:
160
160
 
161
161
  To authenticate with the API the `api_key_auth` parameter must be set when initializing the SDK client instance. For example:
162
162
  ```python
163
- from compass_api_sdk import CompassAPISDK, models
163
+ from compassapisdk import CompassAPISDK, models
164
164
 
165
165
 
166
166
  with CompassAPISDK(
167
167
  api_key_auth="<YOUR_API_KEY_HERE>",
168
- ) as cas_client:
168
+ ) as compass_api_sdk:
169
169
 
170
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
170
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
171
171
 
172
172
  # Handle response
173
173
  print(res)
@@ -275,15 +275,15 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
275
275
 
276
276
  To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
277
277
  ```python
278
- from compass_api_sdk import CompassAPISDK, models
279
- from compass_api_sdk.utils import BackoffStrategy, RetryConfig
278
+ from compassapisdk import CompassAPISDK, models
279
+ from compassapisdk.utils import BackoffStrategy, RetryConfig
280
280
 
281
281
 
282
282
  with CompassAPISDK(
283
283
  api_key_auth="<YOUR_API_KEY_HERE>",
284
- ) as cas_client:
284
+ ) as compass_api_sdk:
285
285
 
286
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC,
286
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC,
287
287
  RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
288
288
 
289
289
  # Handle response
@@ -293,16 +293,16 @@ with CompassAPISDK(
293
293
 
294
294
  If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
295
295
  ```python
296
- from compass_api_sdk import CompassAPISDK, models
297
- from compass_api_sdk.utils import BackoffStrategy, RetryConfig
296
+ from compassapisdk import CompassAPISDK, models
297
+ from compassapisdk.utils import BackoffStrategy, RetryConfig
298
298
 
299
299
 
300
300
  with CompassAPISDK(
301
301
  retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
302
302
  api_key_auth="<YOUR_API_KEY_HERE>",
303
- ) as cas_client:
303
+ ) as compass_api_sdk:
304
304
 
305
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
305
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
306
306
 
307
307
  # Handle response
308
308
  print(res)
@@ -334,16 +334,16 @@ When custom error responses are specified for an operation, the SDK may also rai
334
334
  ### Example
335
335
 
336
336
  ```python
337
- from compass_api_sdk import CompassAPISDK, errors, models
337
+ from compassapisdk import CompassAPISDK, errors, models
338
338
 
339
339
 
340
340
  with CompassAPISDK(
341
341
  api_key_auth="<YOUR_API_KEY_HERE>",
342
- ) as cas_client:
342
+ ) as compass_api_sdk:
343
343
  res = None
344
344
  try:
345
345
 
346
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
346
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
347
347
 
348
348
  # Handle response
349
349
  print(res)
@@ -364,15 +364,15 @@ with CompassAPISDK(
364
364
 
365
365
  The default server can be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
366
366
  ```python
367
- from compass_api_sdk import CompassAPISDK, models
367
+ from compassapisdk import CompassAPISDK, models
368
368
 
369
369
 
370
370
  with CompassAPISDK(
371
371
  server_url="https://api.compasslabs.ai",
372
372
  api_key_auth="<YOUR_API_KEY_HERE>",
373
- ) as cas_client:
373
+ ) as compass_api_sdk:
374
374
 
375
- res = cas_client.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
375
+ res = compass_api_sdk.aave_v3.reserve_overview(chain=models.AaveReserveOverviewChain.ARBITRUM_MAINNET, token=models.AaveReserveOverviewToken.USDC)
376
376
 
377
377
  # Handle response
378
378
  print(res)
@@ -389,7 +389,7 @@ This allows you to wrap the client with your own custom logic, such as adding cu
389
389
 
390
390
  For example, you could specify a header for every request that this sdk makes as follows:
391
391
  ```python
392
- from compass_api_sdk import CompassAPISDK
392
+ from compassapisdk import CompassAPISDK
393
393
  import httpx
394
394
 
395
395
  http_client = httpx.Client(headers={"x-custom-header": "someValue"})
@@ -398,8 +398,8 @@ s = CompassAPISDK(client=http_client)
398
398
 
399
399
  or you could wrap the client with your own custom logic:
400
400
  ```python
401
- from compass_api_sdk import CompassAPISDK
402
- from compass_api_sdk.httpclient import AsyncHttpClient
401
+ from compassapisdk import CompassAPISDK
402
+ from compassapisdk.httpclient import AsyncHttpClient
403
403
  import httpx
404
404
 
405
405
  class CustomClient(AsyncHttpClient):
@@ -469,12 +469,12 @@ The `CompassAPISDK` class implements the context manager protocol and registers
469
469
  [context-manager]: https://docs.python.org/3/reference/datamodel.html#context-managers
470
470
 
471
471
  ```python
472
- from compass_api_sdk import CompassAPISDK
472
+ from compassapisdk import CompassAPISDK
473
473
  def main():
474
474
 
475
475
  with CompassAPISDK(
476
476
  api_key_auth="<YOUR_API_KEY_HERE>",
477
- ) as cas_client:
477
+ ) as compass_api_sdk:
478
478
  # Rest of application here...
479
479
 
480
480
 
@@ -483,7 +483,7 @@ async def amain():
483
483
 
484
484
  async with CompassAPISDK(
485
485
  api_key_auth="<YOUR_API_KEY_HERE>",
486
- ) as cas_client:
486
+ ) as compass_api_sdk:
487
487
  # Rest of application here...
488
488
  ```
489
489
  <!-- End Resource Management [resource-management] -->
@@ -495,11 +495,11 @@ You can setup your SDK to emit debug logs for SDK requests and responses.
495
495
 
496
496
  You can pass your own logger class directly into your SDK.
497
497
  ```python
498
- from compass_api_sdk import CompassAPISDK
498
+ from compassapisdk import CompassAPISDK
499
499
  import logging
500
500
 
501
501
  logging.basicConfig(level=logging.DEBUG)
502
- s = CompassAPISDK(debug_logger=logging.getLogger("compass_api_sdk"))
502
+ s = CompassAPISDK(debug_logger=logging.getLogger("compassapisdk"))
503
503
  ```
504
504
  <!-- End Debugging [debug] -->
505
505
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "compass_api_sdk"
3
- version = "0.2.1"
3
+ version = "0.3.0"
4
4
  description = "Compass API Python SDK"
5
5
  authors = [{ name = "royalnine" },]
6
6
  readme = "README-PYPI.md"
@@ -13,12 +13,12 @@ dependencies = [
13
13
  [tool.poetry]
14
14
  repository = "https://github.com/CompassLabs/mono.git"
15
15
  packages = [
16
- { include = "compass_api_sdk", from = "src" }
16
+ { include = "compassapisdk", from = "src" }
17
17
  ]
18
- include = ["py.typed", "src/compass_api_sdk/py.typed"]
18
+ include = ["py.typed", "src/compassapisdk/py.typed"]
19
19
 
20
20
  [tool.setuptools.package-data]
21
- "*" = ["py.typed", "src/compass_api_sdk/py.typed"]
21
+ "*" = ["py.typed", "src/compassapisdk/py.typed"]
22
22
 
23
23
  [virtualenvs]
24
24
  in-project = true
@@ -12,7 +12,7 @@ from .types import (
12
12
  Hooks,
13
13
  )
14
14
  from typing import List, Optional, Tuple
15
- from compass_api_sdk.httpclient import HttpClient
15
+ from compassapisdk.httpclient import HttpClient
16
16
 
17
17
 
18
18
  class SDKHooks(Hooks):
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from abc import ABC, abstractmethod
4
- from compass_api_sdk.httpclient import HttpClient
4
+ from compassapisdk.httpclient import HttpClient
5
5
  import httpx
6
6
  from typing import Any, Callable, List, Optional, Tuple, Union
7
7
 
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "compass_api_sdk"
6
- __version__: str = "0.2.1"
6
+ __version__: str = "0.3.0"
7
7
  __openapi_doc_version__: str = "0.0.1"
8
- __gen_version__: str = "2.599.0"
9
- __user_agent__: str = "speakeasy-sdk/python 0.2.1 2.599.0 0.0.1 compass_api_sdk"
8
+ __gen_version__: str = "2.603.1"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.3.0 2.603.1 0.0.1 compass_api_sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -1,9 +1,9 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from .basesdk import BaseSDK
4
- from compass_api_sdk import errors, models, utils
5
- from compass_api_sdk._hooks import HookContext
6
- from compass_api_sdk.types import OptionalNullable, UNSET
4
+ from compassapisdk import errors, models, utils
5
+ from compassapisdk._hooks import HookContext
6
+ from compassapisdk.types import OptionalNullable, UNSET
7
7
  from typing import Any, Mapping, Optional, Union
8
8
 
9
9
 
@@ -28,7 +28,7 @@ class AaveV3(BaseSDK):
28
28
  See below for more info:
29
29
 
30
30
  :param chain: The chain to use.
31
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
31
+ :param token: The symbol of the asset..
32
32
  :param retries: Override the default retry configuration for this method
33
33
  :param server_url: Override the default server URL for this method
34
34
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -135,7 +135,7 @@ class AaveV3(BaseSDK):
135
135
  See below for more info:
136
136
 
137
137
  :param chain: The chain to use.
138
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
138
+ :param token: The symbol of the asset..
139
139
  :param retries: Override the default retry configuration for this method
140
140
  :param server_url: Override the default server URL for this method
141
141
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -250,7 +250,7 @@ class AaveV3(BaseSDK):
250
250
  For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.
251
251
 
252
252
  :param chain: The chain to use.
253
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
253
+ :param token: The symbol of the asset to fetch the users' position on..
254
254
  :param retries: Override the default retry configuration for this method
255
255
  :param server_url: Override the default server URL for this method
256
256
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -363,7 +363,7 @@ class AaveV3(BaseSDK):
363
363
  For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.
364
364
 
365
365
  :param chain: The chain to use.
366
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
366
+ :param token: The symbol of the asset to fetch the users' position on..
367
367
  :param retries: Override the default retry configuration for this method
368
368
  :param server_url: Override the default server URL for this method
369
369
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -470,7 +470,7 @@ class AaveV3(BaseSDK):
470
470
  Aave.
471
471
 
472
472
  :param chain: The chain to use.
473
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
473
+ :param token: The symbol of the asset whose price you want..
474
474
  :param retries: Override the default retry configuration for this method
475
475
  :param server_url: Override the default server URL for this method
476
476
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -577,7 +577,7 @@ class AaveV3(BaseSDK):
577
577
  Aave.
578
578
 
579
579
  :param chain: The chain to use.
580
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
580
+ :param token: The symbol of the asset whose price you want..
581
581
  :param retries: Override the default retry configuration for this method
582
582
  :param server_url: Override the default server URL for this method
583
583
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -689,9 +689,9 @@ class AaveV3(BaseSDK):
689
689
  true if the liquidity index is negative.
690
690
 
691
691
  :param chain: The chain to use.
692
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
693
- :param start_block:
694
- :param end_block:
692
+ :param token: The symbol of the asset to get liquidity change for..
693
+ :param start_block: The start block to calculate liquidity change from.
694
+ :param end_block: The end block to calculate liquidity change to.
695
695
  :param retries: Override the default retry configuration for this method
696
696
  :param server_url: Override the default server URL for this method
697
697
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -807,9 +807,9 @@ class AaveV3(BaseSDK):
807
807
  true if the liquidity index is negative.
808
808
 
809
809
  :param chain: The chain to use.
810
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
811
- :param start_block:
812
- :param end_block:
810
+ :param token: The symbol of the asset to get liquidity change for..
811
+ :param start_block: The start block to calculate liquidity change from.
812
+ :param end_block: The end block to calculate liquidity change to.
813
813
  :param retries: Override the default retry configuration for this method
814
814
  :param server_url: Override the default server URL for this method
815
815
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -920,7 +920,7 @@ class AaveV3(BaseSDK):
920
920
  a holistic view of their financial standing within the AAVE ecosystem.
921
921
 
922
922
  :param chain: The chain to use.
923
- :param user:
923
+ :param user: The user to get position summary for.
924
924
  :param retries: Override the default retry configuration for this method
925
925
  :param server_url: Override the default server URL for this method
926
926
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1029,7 +1029,7 @@ class AaveV3(BaseSDK):
1029
1029
  a holistic view of their financial standing within the AAVE ecosystem.
1030
1030
 
1031
1031
  :param chain: The chain to use.
1032
- :param user:
1032
+ :param user: The user to get position summary for.
1033
1033
  :param retries: Override the default retry configuration for this method
1034
1034
  :param server_url: Override the default server URL for this method
1035
1035
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1140,8 +1140,8 @@ class AaveV3(BaseSDK):
1140
1140
  their financial standing within the AAVE ecosystem.
1141
1141
 
1142
1142
  :param chain: The chain to use.
1143
- :param user:
1144
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
1143
+ :param user: The user to fetch the token-specific position of.
1144
+ :param token: The symbol of the asset to fetch the user's position on..
1145
1145
  :param retries: Override the default retry configuration for this method
1146
1146
  :param server_url: Override the default server URL for this method
1147
1147
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1253,8 +1253,8 @@ class AaveV3(BaseSDK):
1253
1253
  their financial standing within the AAVE ecosystem.
1254
1254
 
1255
1255
  :param chain: The chain to use.
1256
- :param user:
1257
- :param token: A class representing the token. This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
1256
+ :param user: The user to fetch the token-specific position of.
1257
+ :param token: The symbol of the asset to fetch the user's position on..
1258
1258
  :param retries: Override the default retry configuration for this method
1259
1259
  :param server_url: Override the default server URL for this method
1260
1260
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1364,9 +1364,9 @@ class AaveV3(BaseSDK):
1364
1364
  activity within the AAVE protocol.
1365
1365
 
1366
1366
  :param chain: The chain to use.
1367
- :param user_address:
1368
- :param offset:
1369
- :param limit:
1367
+ :param user_address: The address of the user to get historical transactions for.
1368
+ :param offset: The offset of the first item to return.
1369
+ :param limit: The number of items to return.
1370
1370
  :param retries: Override the default retry configuration for this method
1371
1371
  :param server_url: Override the default server URL for this method
1372
1372
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -1477,9 +1477,9 @@ class AaveV3(BaseSDK):
1477
1477
  activity within the AAVE protocol.
1478
1478
 
1479
1479
  :param chain: The chain to use.
1480
- :param user_address:
1481
- :param offset:
1482
- :param limit:
1480
+ :param user_address: The address of the user to get historical transactions for.
1481
+ :param offset: The offset of the first item to return.
1482
+ :param limit: The number of items to return.
1483
1483
  :param retries: Override the default retry configuration for this method
1484
1484
  :param server_url: Override the default server URL for this method
1485
1485
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds