defillama-sdk 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. {defillama_sdk-0.1.0.dist-info → defillama_sdk-0.1.1.dist-info}/METADATA +7 -7
  2. defillama_sdk-0.1.1.dist-info/RECORD +36 -0
  3. defillama_sdk-0.1.1.dist-info/top_level.txt +1 -0
  4. defillama_sdk-0.1.0.dist-info/RECORD +0 -36
  5. defillama_sdk-0.1.0.dist-info/top_level.txt +0 -1
  6. {defillama_api → defillama_sdk}/__init__.py +0 -0
  7. {defillama_api → defillama_sdk}/client.py +0 -0
  8. {defillama_api → defillama_sdk}/constants/__init__.py +0 -0
  9. {defillama_api → defillama_sdk}/constants/dimensions.py +0 -0
  10. {defillama_api → defillama_sdk}/errors.py +0 -0
  11. {defillama_api → defillama_sdk}/modules/__init__.py +0 -0
  12. {defillama_api → defillama_sdk}/modules/account.py +0 -0
  13. {defillama_api → defillama_sdk}/modules/bridges.py +0 -0
  14. {defillama_api → defillama_sdk}/modules/dat.py +0 -0
  15. {defillama_api → defillama_sdk}/modules/ecosystem.py +0 -0
  16. {defillama_api → defillama_sdk}/modules/emissions.py +0 -0
  17. {defillama_api → defillama_sdk}/modules/etfs.py +0 -0
  18. {defillama_api → defillama_sdk}/modules/fees.py +0 -0
  19. {defillama_api → defillama_sdk}/modules/prices.py +0 -0
  20. {defillama_api → defillama_sdk}/modules/stablecoins.py +0 -0
  21. {defillama_api → defillama_sdk}/modules/tvl.py +0 -0
  22. {defillama_api → defillama_sdk}/modules/volumes.py +0 -0
  23. {defillama_api → defillama_sdk}/modules/yields.py +0 -0
  24. {defillama_api → defillama_sdk}/py.typed +0 -0
  25. {defillama_api → defillama_sdk}/types/__init__.py +0 -0
  26. {defillama_api → defillama_sdk}/types/account.py +0 -0
  27. {defillama_api → defillama_sdk}/types/bridges.py +0 -0
  28. {defillama_api → defillama_sdk}/types/dat.py +0 -0
  29. {defillama_api → defillama_sdk}/types/ecosystem.py +0 -0
  30. {defillama_api → defillama_sdk}/types/emissions.py +0 -0
  31. {defillama_api → defillama_sdk}/types/etfs.py +0 -0
  32. {defillama_api → defillama_sdk}/types/fees.py +0 -0
  33. {defillama_api → defillama_sdk}/types/prices.py +0 -0
  34. {defillama_api → defillama_sdk}/types/stablecoins.py +0 -0
  35. {defillama_api → defillama_sdk}/types/tvl.py +0 -0
  36. {defillama_api → defillama_sdk}/types/volumes.py +0 -0
  37. {defillama_api → defillama_sdk}/types/yields.py +0 -0
  38. {defillama_sdk-0.1.0.dist-info → defillama_sdk-0.1.1.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: defillama-sdk
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Python SDK for DefiLlama API
5
5
  Author: DefiLlama
6
6
  Project-URL: Homepage, https://api-docs.defillama.com/
@@ -27,7 +27,7 @@ uv pip install defillama-sdk
27
27
  ## Quick Start
28
28
 
29
29
  ```python
30
- from defillama_api import DefiLlama
30
+ from defillama_sdk import DefiLlama
31
31
 
32
32
  # Free tier
33
33
  client = DefiLlama()
@@ -386,7 +386,7 @@ Protocol fees and revenue data.
386
386
  ### Fee Data Types
387
387
 
388
388
  ```python
389
- from defillama_api import FeeDataType
389
+ from defillama_sdk import FeeDataType
390
390
 
391
391
  FeeDataType.DAILY_FEES
392
392
  FeeDataType.DAILY_REVENUE
@@ -641,7 +641,7 @@ usage = pro_client.account.getUsage()
641
641
  ## Error Handling
642
642
 
643
643
  ```python
644
- from defillama_api import ApiKeyRequiredError, RateLimitError, NotFoundError, ApiError
644
+ from defillama_sdk import ApiKeyRequiredError, RateLimitError, NotFoundError, ApiError
645
645
 
646
646
  try:
647
647
  data = pro_client.yields.getPools()
@@ -659,10 +659,10 @@ except ApiError as exc:
659
659
 
660
660
  ## Type Exports
661
661
 
662
- All types are available from `defillama_api.types`, and are re-exported at the top level:
662
+ All types are available from `defillama_sdk.types`, and are re-exported at the top level:
663
663
 
664
664
  ```python
665
- from defillama_api import Protocol, CoinPricesResponse, Stablecoin, YieldPool
665
+ from defillama_sdk import Protocol, CoinPricesResponse, Stablecoin, YieldPool
666
666
  ```
667
667
 
668
668
  ---
@@ -670,7 +670,7 @@ from defillama_api import Protocol, CoinPricesResponse, Stablecoin, YieldPool
670
670
  ## Constants
671
671
 
672
672
  ```python
673
- from defillama_api import AdapterType, FeeDataType, VolumeDataType
673
+ from defillama_sdk import AdapterType, FeeDataType, VolumeDataType
674
674
 
675
675
  AdapterType.DEXS
676
676
  VolumeDataType.DAILY_VOLUME
@@ -0,0 +1,36 @@
1
+ defillama_sdk/__init__.py,sha256=I_Xbp5e4Dt3QozmepJ6uGwS3mQOEiEbVzp6f9THObNU,2161
2
+ defillama_sdk/client.py,sha256=YducXxdZefwp2WnGUkL-OAZhhrm-C8-qZfC0YIw1sWs,4965
3
+ defillama_sdk/errors.py,sha256=m7gqX_ri0pm9QSQVkCgCHn8cYz3OmOdhuOXOdkifnvM,1209
4
+ defillama_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ defillama_sdk/constants/__init__.py,sha256=mm_zBSoTOmb8pQ3YK8Ji9Xo7qX_M5ZYbVA_K5XgS7F0,273
6
+ defillama_sdk/constants/dimensions.py,sha256=XPBP2J-ILFD2E_slf-h3xo7jwtPl4K2Ugf836fWiHSM,1887
7
+ defillama_sdk/modules/__init__.py,sha256=Wmo-k2cAlX1Kz2CBYYnmWJiBRKtJ5Bf12qk2QBj47Eo,708
8
+ defillama_sdk/modules/account.py,sha256=Gz-FDyRTaz4lMtTGdTDLl4UDXR1oiuCSCsRS9_CIW6E,901
9
+ defillama_sdk/modules/bridges.py,sha256=CSfSZQYsSlwEeLnr-Tkz6CZVQM8nZoKvQUQPKsceuRE,2567
10
+ defillama_sdk/modules/dat.py,sha256=XbIoeljsJZIknRn2s4uMxsq-6M-GDHmOBc38z5a0mBM,884
11
+ defillama_sdk/modules/ecosystem.py,sha256=NvFO7h2i4Hb2emNAJ_zYNuRUgcqn_m6D-GImDj6hwiY,1518
12
+ defillama_sdk/modules/emissions.py,sha256=SrJ2E7zzRAduJIf-YXtVqJxgqcziGRWvtx3B4A1e5QI,926
13
+ defillama_sdk/modules/etfs.py,sha256=F4HrzAQdd2aFreuL8KCbJnQWJ11cjlUG1oSRpq8d2W4,1535
14
+ defillama_sdk/modules/fees.py,sha256=pmKxX5x8frrHFTdChAqSdmGCFwciRixsgR3PhTTOtRg,8267
15
+ defillama_sdk/modules/prices.py,sha256=Cq0ZRTXMdpUteUhopZBWQNqkNf_jiJY2YldRuuViJhQ,3675
16
+ defillama_sdk/modules/stablecoins.py,sha256=TT8IDv0GSLhDqi0NVD9j6GwCo7fidISO2TfEoWPtkOQ,2463
17
+ defillama_sdk/modules/tvl.py,sha256=TRyv0VHg_JpBdtWSpW87vJcuB0EDDHzOJSvkXPXz-RQ,2454
18
+ defillama_sdk/modules/volumes.py,sha256=pawVOPF4KWbTqBCY_Fz4pLUIP1sGUPhDI0xGRE1VRm4,4049
19
+ defillama_sdk/modules/yields.py,sha256=tWgOBgRbw8qtyET22wo8o3umtvbwyKYoojfY8HkMHrk,2178
20
+ defillama_sdk/types/__init__.py,sha256=vD04wPPb58zcvh1BYUcTUifkoqgyy-LRIl8Lm7Z4xkM,317
21
+ defillama_sdk/types/account.py,sha256=BBGOvn3L7WxhGfAWyffc7fqNP1ZbJvWDMHV21UtWrTk,147
22
+ defillama_sdk/types/bridges.py,sha256=6GcIDLsyRUqorKsPCgKktoaBm0nEF-KlBydvF3KnvP4,3421
23
+ defillama_sdk/types/dat.py,sha256=_qdpI33t6h4HC-o9FB6cI43t37mA9ngyqKm9_yKNY8o,3899
24
+ defillama_sdk/types/ecosystem.py,sha256=9RHnpOueJgvrJz8U0uSAv0m7Xh2JvdkanXp5q6ofjs8,4471
25
+ defillama_sdk/types/emissions.py,sha256=rijfVlkV9PMVbIn2UsV69-wmoWs-ZLE8Wb1XhEEKoYE,3398
26
+ defillama_sdk/types/etfs.py,sha256=wJOjd1cD3-_CN0BrEeXPnqXVlbN5uIqzoQ6OhhXbpdo,577
27
+ defillama_sdk/types/fees.py,sha256=ePqqzSmvXqazC4e-KCIouvQeRZpePnTEthQzeTxN5EU,5886
28
+ defillama_sdk/types/prices.py,sha256=qot5ESoMHZkLgL6sTg_FaEfY62eed2H-SXXAbKM2B30,1974
29
+ defillama_sdk/types/stablecoins.py,sha256=SfCVOIogu88JdONekzSJrPIno2v-EYDDoBPBYZP_vM4,3965
30
+ defillama_sdk/types/tvl.py,sha256=XOsSzVCNpDy3VEbX33vo7qAUv7lokdB9Q7KU5RNKd0k,4530
31
+ defillama_sdk/types/volumes.py,sha256=VJ14YepNzbayY-jsarbv_jIopnxl2bbWPqldo9TZAUs,4293
32
+ defillama_sdk/types/yields.py,sha256=rpuAzxLBy4QO42EtUYDXS-sbq4AqoND9YfePYXLg7Tc,3978
33
+ defillama_sdk-0.1.1.dist-info/METADATA,sha256=meldDAmvN_3qpk0bF4fnOWg5wqhXzm6KTrFycBqz8t8,10781
34
+ defillama_sdk-0.1.1.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
35
+ defillama_sdk-0.1.1.dist-info/top_level.txt,sha256=yG9RRNlMQigBOnKgyW2DJV7-uKWp0YNgFSBkjUnH9r8,14
36
+ defillama_sdk-0.1.1.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ defillama_sdk
@@ -1,36 +0,0 @@
1
- defillama_api/__init__.py,sha256=I_Xbp5e4Dt3QozmepJ6uGwS3mQOEiEbVzp6f9THObNU,2161
2
- defillama_api/client.py,sha256=YducXxdZefwp2WnGUkL-OAZhhrm-C8-qZfC0YIw1sWs,4965
3
- defillama_api/errors.py,sha256=m7gqX_ri0pm9QSQVkCgCHn8cYz3OmOdhuOXOdkifnvM,1209
4
- defillama_api/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- defillama_api/constants/__init__.py,sha256=mm_zBSoTOmb8pQ3YK8Ji9Xo7qX_M5ZYbVA_K5XgS7F0,273
6
- defillama_api/constants/dimensions.py,sha256=XPBP2J-ILFD2E_slf-h3xo7jwtPl4K2Ugf836fWiHSM,1887
7
- defillama_api/modules/__init__.py,sha256=Wmo-k2cAlX1Kz2CBYYnmWJiBRKtJ5Bf12qk2QBj47Eo,708
8
- defillama_api/modules/account.py,sha256=Gz-FDyRTaz4lMtTGdTDLl4UDXR1oiuCSCsRS9_CIW6E,901
9
- defillama_api/modules/bridges.py,sha256=CSfSZQYsSlwEeLnr-Tkz6CZVQM8nZoKvQUQPKsceuRE,2567
10
- defillama_api/modules/dat.py,sha256=XbIoeljsJZIknRn2s4uMxsq-6M-GDHmOBc38z5a0mBM,884
11
- defillama_api/modules/ecosystem.py,sha256=NvFO7h2i4Hb2emNAJ_zYNuRUgcqn_m6D-GImDj6hwiY,1518
12
- defillama_api/modules/emissions.py,sha256=SrJ2E7zzRAduJIf-YXtVqJxgqcziGRWvtx3B4A1e5QI,926
13
- defillama_api/modules/etfs.py,sha256=F4HrzAQdd2aFreuL8KCbJnQWJ11cjlUG1oSRpq8d2W4,1535
14
- defillama_api/modules/fees.py,sha256=pmKxX5x8frrHFTdChAqSdmGCFwciRixsgR3PhTTOtRg,8267
15
- defillama_api/modules/prices.py,sha256=Cq0ZRTXMdpUteUhopZBWQNqkNf_jiJY2YldRuuViJhQ,3675
16
- defillama_api/modules/stablecoins.py,sha256=TT8IDv0GSLhDqi0NVD9j6GwCo7fidISO2TfEoWPtkOQ,2463
17
- defillama_api/modules/tvl.py,sha256=TRyv0VHg_JpBdtWSpW87vJcuB0EDDHzOJSvkXPXz-RQ,2454
18
- defillama_api/modules/volumes.py,sha256=pawVOPF4KWbTqBCY_Fz4pLUIP1sGUPhDI0xGRE1VRm4,4049
19
- defillama_api/modules/yields.py,sha256=tWgOBgRbw8qtyET22wo8o3umtvbwyKYoojfY8HkMHrk,2178
20
- defillama_api/types/__init__.py,sha256=vD04wPPb58zcvh1BYUcTUifkoqgyy-LRIl8Lm7Z4xkM,317
21
- defillama_api/types/account.py,sha256=BBGOvn3L7WxhGfAWyffc7fqNP1ZbJvWDMHV21UtWrTk,147
22
- defillama_api/types/bridges.py,sha256=6GcIDLsyRUqorKsPCgKktoaBm0nEF-KlBydvF3KnvP4,3421
23
- defillama_api/types/dat.py,sha256=_qdpI33t6h4HC-o9FB6cI43t37mA9ngyqKm9_yKNY8o,3899
24
- defillama_api/types/ecosystem.py,sha256=9RHnpOueJgvrJz8U0uSAv0m7Xh2JvdkanXp5q6ofjs8,4471
25
- defillama_api/types/emissions.py,sha256=rijfVlkV9PMVbIn2UsV69-wmoWs-ZLE8Wb1XhEEKoYE,3398
26
- defillama_api/types/etfs.py,sha256=wJOjd1cD3-_CN0BrEeXPnqXVlbN5uIqzoQ6OhhXbpdo,577
27
- defillama_api/types/fees.py,sha256=ePqqzSmvXqazC4e-KCIouvQeRZpePnTEthQzeTxN5EU,5886
28
- defillama_api/types/prices.py,sha256=qot5ESoMHZkLgL6sTg_FaEfY62eed2H-SXXAbKM2B30,1974
29
- defillama_api/types/stablecoins.py,sha256=SfCVOIogu88JdONekzSJrPIno2v-EYDDoBPBYZP_vM4,3965
30
- defillama_api/types/tvl.py,sha256=XOsSzVCNpDy3VEbX33vo7qAUv7lokdB9Q7KU5RNKd0k,4530
31
- defillama_api/types/volumes.py,sha256=VJ14YepNzbayY-jsarbv_jIopnxl2bbWPqldo9TZAUs,4293
32
- defillama_api/types/yields.py,sha256=rpuAzxLBy4QO42EtUYDXS-sbq4AqoND9YfePYXLg7Tc,3978
33
- defillama_sdk-0.1.0.dist-info/METADATA,sha256=-SMOI1et3HZ5Cqh3pQr-6EUoyzejVhSW73sheOjdlL4,10781
34
- defillama_sdk-0.1.0.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
35
- defillama_sdk-0.1.0.dist-info/top_level.txt,sha256=vZ6lunBg1x-WPWjQcH_obfCDY2P8kLmhAUfgSb9UFnQ,14
36
- defillama_sdk-0.1.0.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- defillama_api
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes