cryptodatapy 0.2.5__tar.gz → 0.2.7__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.
Files changed (86) hide show
  1. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/PKG-INFO +10 -7
  2. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/README.md +1 -1
  3. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/pyproject.toml +6 -2
  4. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/conf/fields.csv +1 -1
  5. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/conf/tickers.csv +0 -1
  6. cryptodatapy-0.2.7/src/cryptodatapy/extract/data_vendors/CoinMetrics.ipynb +747 -0
  7. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/coinmetrics_api.py +279 -209
  8. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/cryptocompare_api.py +3 -5
  9. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/datavendor.py +32 -12
  10. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/glassnode_api.py +3 -2
  11. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/tiingo_api.py +3 -2
  12. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/datarequest.py +197 -36
  13. cryptodatapy-0.2.7/src/cryptodatapy/extract/libraries/Untitled.ipynb +33 -0
  14. cryptodatapy-0.2.7/src/cryptodatapy/extract/libraries/ccxt.ipynb +747 -0
  15. cryptodatapy-0.2.7/src/cryptodatapy/extract/libraries/ccxt_api.py +995 -0
  16. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/libraries/pandasdr_api.py +13 -12
  17. cryptodatapy-0.2.7/src/cryptodatapy/extract/libraries/yfinance_api.py +511 -0
  18. cryptodatapy-0.2.7/src/cryptodatapy/transform/cc_onchain_data.csv +118423 -0
  19. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/transform/clean.py +17 -15
  20. cryptodatapy-0.2.7/src/cryptodatapy/transform/clean_onchain_data.ipynb +4750 -0
  21. cryptodatapy-0.2.7/src/cryptodatapy/transform/clean_perp_futures_ohlcv.ipynb +2819 -0
  22. cryptodatapy-0.2.7/src/cryptodatapy/transform/cmdty_data.ipynb +402 -0
  23. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/transform/convertparams.py +139 -181
  24. cryptodatapy-0.2.7/src/cryptodatapy/transform/credit_data.ipynb +291 -0
  25. cryptodatapy-0.2.7/src/cryptodatapy/transform/eqty_data.ipynb +836 -0
  26. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/transform/filter.py +13 -10
  27. cryptodatapy-0.2.7/src/cryptodatapy/transform/global_credit_data_daily.parquet +0 -0
  28. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/transform/od.py +1 -0
  29. cryptodatapy-0.2.7/src/cryptodatapy/transform/rates_data.ipynb +465 -0
  30. cryptodatapy-0.2.7/src/cryptodatapy/transform/us_rates_daily.csv +227752 -0
  31. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/transform/wrangle.py +109 -20
  32. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/util/datacredentials.py +28 -7
  33. cryptodatapy-0.2.5/setup.py +0 -126
  34. cryptodatapy-0.2.5/src/cryptodatapy/.DS_Store +0 -0
  35. cryptodatapy-0.2.5/src/cryptodatapy/.idea/.gitignore +0 -3
  36. cryptodatapy-0.2.5/src/cryptodatapy/.idea/cryptodatapy.iml +0 -12
  37. cryptodatapy-0.2.5/src/cryptodatapy/.idea/csv-plugin.xml +0 -16
  38. cryptodatapy-0.2.5/src/cryptodatapy/.idea/inspectionProfiles/Project_Default.xml +0 -6
  39. cryptodatapy-0.2.5/src/cryptodatapy/.idea/inspectionProfiles/profiles_settings.xml +0 -6
  40. cryptodatapy-0.2.5/src/cryptodatapy/.idea/misc.xml +0 -4
  41. cryptodatapy-0.2.5/src/cryptodatapy/.idea/modules.xml +0 -8
  42. cryptodatapy-0.2.5/src/cryptodatapy/.idea/vcs.xml +0 -6
  43. cryptodatapy-0.2.5/src/cryptodatapy/extract/libraries/ccxt.ipynb +0 -873
  44. cryptodatapy-0.2.5/src/cryptodatapy/extract/libraries/ccxt_api.py +0 -711
  45. cryptodatapy-0.2.5/src/cryptodatapy/transform/clean_perp_futures_ohlcv.ipynb +0 -2204
  46. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/LICENSE +0 -0
  47. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/__init__.py +0 -0
  48. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/conf/__init__.py +0 -0
  49. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/conf/fx_tickers.csv +0 -0
  50. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/__init__.py +0 -0
  51. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/br_econ_calendar.csv +0 -0
  52. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/ca_econ_calendar.csv +0 -0
  53. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/cn_econ_calendar.csv +0 -0
  54. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/de_econ_calendar.csv +0 -0
  55. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/ez_econ_calendar.csv +0 -0
  56. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/fr_econ_calendar.csv +0 -0
  57. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/gb_econ_calendar.csv +0 -0
  58. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/get_econ_calendars.py +0 -0
  59. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/id_econ_calendar.csv +0 -0
  60. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/in_econ_calendar.csv +0 -0
  61. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/it_econ_calendar.csv +0 -0
  62. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/jp_econ_calendar.csv +0 -0
  63. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/kr_econ_calendar.csv +0 -0
  64. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/mx_econ_calendar.csv +0 -0
  65. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/ru_econ_calendar.csv +0 -0
  66. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/tr_econ_calendar.csv +0 -0
  67. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/datasets/us_econ_calendar.csv +0 -0
  68. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/__init__.py +0 -0
  69. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/CCXT-checkpoint.ipynb +0 -0
  70. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/DBNomics-checkpoint.ipynb +0 -0
  71. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/InvestPy-checkpoint.ipynb +0 -0
  72. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/NasdaqDataLink-checkpoint.ipynb +0 -0
  73. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/PandasDataReader-checkpoint.ipynb +0 -0
  74. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/data_vendors/__init__.py +0 -0
  75. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/getdata.py +0 -0
  76. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/libraries/__init__.py +0 -0
  77. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/libraries/dbnomics_api.py +0 -0
  78. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/libraries/investpy_api.py +0 -0
  79. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/libraries/library.py +0 -0
  80. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/web/__init__.py +0 -0
  81. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/web/aqr.py +0 -0
  82. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/extract/web/web.py +0 -0
  83. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/transform/__init__.py +0 -0
  84. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/transform/impute.py +0 -0
  85. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/util/__init__.py +0 -0
  86. {cryptodatapy-0.2.5 → cryptodatapy-0.2.7}/src/cryptodatapy/util/datacatalog.py +0 -0
@@ -1,18 +1,20 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cryptodatapy
3
- Version: 0.2.5
3
+ Version: 0.2.7
4
4
  Summary: Cryptoasset data library
5
5
  License: Apache-2.0
6
6
  Author: Systamental
7
7
  Requires-Python: >=3.8,<4.0
8
8
  Classifier: License :: OSI Approved :: Apache Software License
9
9
  Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Python :: 3.10
11
10
  Classifier: Programming Language :: Python :: 3.8
12
11
  Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
13
15
  Requires-Dist: DBnomics (>=1.2.3)
14
16
  Requires-Dist: ccxt (>=1.91.52)
15
- Requires-Dist: coinmetrics-api-client (>=2022.6.17); python_version >= "3.7"
17
+ Requires-Dist: coinmetrics-api-client (>=2022.6.17) ; python_version >= "3.7"
16
18
  Requires-Dist: fsspec (>=2024.6.1)
17
19
  Requires-Dist: investpy (>=1.0.8)
18
20
  Requires-Dist: matplotlib (>=3.5.2)
@@ -20,13 +22,14 @@ Requires-Dist: numpy (>=1.23.2)
20
22
  Requires-Dist: openpyxl (>=3.1.2)
21
23
  Requires-Dist: pandas (>=1.4.4)
22
24
  Requires-Dist: pandas-datareader (>=0.10.0)
23
- Requires-Dist: prophet (>=1.1); python_version >= "3.7"
25
+ Requires-Dist: prophet (>=1.1) ; python_version >= "3.7"
24
26
  Requires-Dist: pyarrow (>=17.0.0)
25
- Requires-Dist: requests (>=2.28.0); python_version >= "3.7"
27
+ Requires-Dist: requests (>=2.28.0) ; python_version >= "3.7"
26
28
  Requires-Dist: responses (>=0.21.0)
27
- Requires-Dist: s3fs (>=2024.6.1,<2025.0.0)
29
+ Requires-Dist: s3fs (>=2024.6.1)
28
30
  Requires-Dist: selenium (>=4.4.3)
29
31
  Requires-Dist: statsmodels (>=0.13.2)
32
+ Requires-Dist: tdqm (>=0.0.1)
30
33
  Requires-Dist: webdriver-manager (>=3.8.3)
31
34
  Requires-Dist: xlrd (>=2.0.1)
32
35
  Requires-Dist: yfinance (>=0.2.14)
@@ -35,7 +38,7 @@ Description-Content-Type: text/markdown
35
38
  ![](cryptodatapy_logo.jpeg)
36
39
 
37
40
  # CryptoDataPy
38
- ### _Better data beats fancier algorithms_
41
+ ### _Better data beats advanced algorithms_
39
42
  <br/>
40
43
 
41
44
  **CryptoDataPy** is a python library which makes it easy to build high quality data pipelines
@@ -1,7 +1,7 @@
1
1
  ![](cryptodatapy_logo.jpeg)
2
2
 
3
3
  # CryptoDataPy
4
- ### _Better data beats fancier algorithms_
4
+ ### _Better data beats advanced algorithms_
5
5
  <br/>
6
6
 
7
7
  **CryptoDataPy** is a python library which makes it easy to build high quality data pipelines
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cryptodatapy"
3
- version = "0.2.5"
3
+ version = "0.2.7"
4
4
  description = "Cryptoasset data library"
5
5
  authors = ["Systamental"]
6
6
  license = "Apache License 2.0"
@@ -27,7 +27,8 @@ openpyxl = ">=3.1.2"
27
27
  xlrd = ">=2.0.1"
28
28
  fsspec = ">=2024.6.1"
29
29
  pyarrow = ">=17.0.0"
30
- s3fs = "^2024.6.1"
30
+ s3fs = ">=2024.6.1"
31
+ tdqm = ">=0.0.1"
31
32
 
32
33
  [tool.poetry.dev-dependencies]
33
34
  pytest = ">=7.1.2"
@@ -39,6 +40,9 @@ myst-nb = {version = ">=0.16.0", python = ">=3.8, <4.0"}
39
40
  sphinx-autoapi = ">=1.9.0"
40
41
  sphinx-rtd-theme = ">=1.0.0"
41
42
 
43
+ [tool.poetry.group.dev.dependencies]
44
+ pytest-asyncio = ">=0.24.0"
45
+
42
46
  [build-system]
43
47
  requires = ["poetry-core>=1.0.0"]
44
48
  build-backend = "poetry.core.masonry.api"
@@ -27,7 +27,7 @@ vwap,volume-weighted avg price,average volume-weighted price of quote asset with
27
27
  dividend,dividend,dividend paid out on ex-ante date,market,ohlc_bars,d ,quote currency units,Float64,,,,,,divCash,,,,,,
28
28
  split,split,"factor used to adjust prices when a company splits, reverse splits, or pays a distribution",market,ohlc_bars,d ,factor ,Float64,,,,,,splitFactor,,,,,,
29
29
  ref_rate_usd,reference rate in USD,price of asset in USD using an aggregation methodology,market,ohlc_bars,d ,quote currency units,Float64,,ReferenceRateUSD,,,,,,,,,,
30
- oi,open interest,number of outstanding futures contracts that are open and have yet to be settled,market,derivatives,"1min, 5min, 10min, 15min, 30min, 1h, 2h, 4h, 8h, d, w, m, q",number of contracts,Float64,,contract_count,,,,,,,,,,
30
+ oi,open interest,number of outstanding futures contracts that are open and have yet to be settled,market,derivatives,"1min, 5min, 10min, 15min, 30min, 1h, 2h, 4h, 8h, d, w, m, q",number of contracts,Float64,,contract_count,openInterestAmount,,,,,,,,,
31
31
  funding_rate,funding rate,interest rate for holding derivative contract within time interval,market,derivatives,"1h, 2h, 4h, 8h, d, w, m, q",interest rate over time interval,Float64,,rate,fundingRate,derivatives/futures_funding_rate_perpetual,,,,,,,,
32
32
  mkt_cap,market capitalization,usd value of circulating supply,market,market capitalization,"d, w, m, q",usd,Float64,,CapMrktCurUSD,,market/marketcap_usd,,,,,,,,
33
33
  mkt_cap_real,"market capitalization, reaized","The sum USD value based on the USD closing price on the day that a native unit last moved (i.e., last transacted) for all native units",market,market capitalization,"d, w, m, q",usd,Float64,,CapRealUSD,,,,,,,,,,
@@ -1600,7 +1600,6 @@ EZ_Eqty_MSCI_ETF,iShares MSCI Eurozone ETF,,,EZ,EMU,Euro zone,Euro zone,eqty,ind
1600
1600
  FR_Eqty_MSCI_ETF,iShares MSCI France ETF,,,FR,FRA,France,DM,eqty,index,etf,tick,,total return index,USD,,EWQ,,,,iShares MSCI France,,
1601
1601
  FI_Eqty_MSCI_ETF,iShares MSCI Finland ETF,,,FI,FIN,Finland,DM,eqty,index,etf,tick,,total return index,USD,,EFNL,,,,iShares MSCI Finland,,
1602
1602
  GB_Eqty_MSCI_ETF,iShares MSCI United Kingdom ETF,,,GB,GBR,United Kingdom,DM,eqty,index,etf,tick,,total return index,USD,,EWU,,,,iShares MSCI United Kingdom,,
1603
- GR_Eqty_MSCI_ETF,Global X MSCI Greece ETF,,,GR,GRC,Greece,EM,eqty,index,etf,tick,,total return index,USD,,GREK ,,,,Global X MSCI Greece,,
1604
1603
  HK_Eqty_MSCI_ETF,iShares MSCI Hong Kong ETF,,,HK,HKG,Hong Kong,DM,eqty,index,etf,tick,,total return index,USD,,EWH,,,,iShares MSCI Hong Kong,,
1605
1604
  ID_Eqty_MSCI_ETF,iShares MSCI Indonesia ETF,,,ID,IDN,Indonesia,EM,eqty,index,etf,tick,,total return index,USD,,EIDO,,,,iShares MSCI Indonesia,,
1606
1605
  IN_Eqty_MSCI_ETF,iShares MSCI India ETF,,,IN,IND,India,EM,eqty,index,etf,tick,,total return index,USD,,INDA,,,,iShares MSCI India,,