cryptodatapy 0.2.5__tar.gz → 0.2.6__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.
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/PKG-INFO +2 -2
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/README.md +1 -1
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/pyproject.toml +1 -1
- cryptodatapy-0.2.6/setup.py +89 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/conf/tickers.csv +0 -1
- cryptodatapy-0.2.6/src/cryptodatapy/extract/data_vendors/CoinMetrics.ipynb +747 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/coinmetrics_api.py +279 -209
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/cryptocompare_api.py +3 -5
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/datavendor.py +32 -12
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/glassnode_api.py +3 -2
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/tiingo_api.py +3 -2
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/datarequest.py +55 -9
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/libraries/ccxt_api.py +13 -2
- cryptodatapy-0.2.6/src/cryptodatapy/transform/cc_onchain_data.csv +118423 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/transform/clean.py +17 -15
- cryptodatapy-0.2.6/src/cryptodatapy/transform/clean_onchain_data.ipynb +4750 -0
- cryptodatapy-0.2.6/src/cryptodatapy/transform/clean_perp_futures_ohlcv.ipynb +2623 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/transform/convertparams.py +28 -18
- cryptodatapy-0.2.6/src/cryptodatapy/transform/credit_data.ipynb +291 -0
- cryptodatapy-0.2.6/src/cryptodatapy/transform/eqty_data.ipynb +809 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/transform/filter.py +13 -10
- cryptodatapy-0.2.6/src/cryptodatapy/transform/global_credit_data_daily.parquet +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/transform/od.py +1 -0
- cryptodatapy-0.2.6/src/cryptodatapy/transform/rates_data.ipynb +465 -0
- cryptodatapy-0.2.6/src/cryptodatapy/transform/us_rates_daily.csv +227752 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/util/datacredentials.py +28 -7
- cryptodatapy-0.2.5/setup.py +0 -126
- cryptodatapy-0.2.5/src/cryptodatapy/.DS_Store +0 -0
- cryptodatapy-0.2.5/src/cryptodatapy/.idea/.gitignore +0 -3
- cryptodatapy-0.2.5/src/cryptodatapy/.idea/cryptodatapy.iml +0 -12
- cryptodatapy-0.2.5/src/cryptodatapy/.idea/csv-plugin.xml +0 -16
- cryptodatapy-0.2.5/src/cryptodatapy/.idea/inspectionProfiles/Project_Default.xml +0 -6
- cryptodatapy-0.2.5/src/cryptodatapy/.idea/inspectionProfiles/profiles_settings.xml +0 -6
- cryptodatapy-0.2.5/src/cryptodatapy/.idea/misc.xml +0 -4
- cryptodatapy-0.2.5/src/cryptodatapy/.idea/modules.xml +0 -8
- cryptodatapy-0.2.5/src/cryptodatapy/.idea/vcs.xml +0 -6
- cryptodatapy-0.2.5/src/cryptodatapy/extract/libraries/ccxt.ipynb +0 -873
- cryptodatapy-0.2.5/src/cryptodatapy/transform/clean_perp_futures_ohlcv.ipynb +0 -2204
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/LICENSE +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/conf/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/conf/fields.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/conf/fx_tickers.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/br_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/ca_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/cn_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/de_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/ez_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/fr_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/gb_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/get_econ_calendars.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/id_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/in_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/it_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/jp_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/kr_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/mx_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/ru_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/tr_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/datasets/us_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/CCXT-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/DBNomics-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/InvestPy-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/NasdaqDataLink-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/PandasDataReader-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/data_vendors/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/getdata.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/libraries/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/libraries/dbnomics_api.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/libraries/investpy_api.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/libraries/library.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/libraries/pandasdr_api.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/web/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/web/aqr.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/extract/web/web.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/transform/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/transform/impute.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/transform/wrangle.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/util/__init__.py +0 -0
- {cryptodatapy-0.2.5 → cryptodatapy-0.2.6}/src/cryptodatapy/util/datacatalog.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cryptodatapy
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.6
|
4
4
|
Summary: Cryptoasset data library
|
5
5
|
License: Apache-2.0
|
6
6
|
Author: Systamental
|
@@ -35,7 +35,7 @@ Description-Content-Type: text/markdown
|
|
35
35
|

|
36
36
|
|
37
37
|
# CryptoDataPy
|
38
|
-
### _Better data beats
|
38
|
+
### _Better data beats advanced algorithms_
|
39
39
|
<br/>
|
40
40
|
|
41
41
|
**CryptoDataPy** is a python library which makes it easy to build high quality data pipelines
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
from setuptools import setup
|
3
|
+
|
4
|
+
package_dir = \
|
5
|
+
{'': 'src'}
|
6
|
+
|
7
|
+
packages = \
|
8
|
+
['cryptodatapy',
|
9
|
+
'cryptodatapy.conf',
|
10
|
+
'cryptodatapy.datasets',
|
11
|
+
'cryptodatapy.extract',
|
12
|
+
'cryptodatapy.extract.data_vendors',
|
13
|
+
'cryptodatapy.extract.libraries',
|
14
|
+
'cryptodatapy.extract.web',
|
15
|
+
'cryptodatapy.transform',
|
16
|
+
'cryptodatapy.util']
|
17
|
+
|
18
|
+
package_data = \
|
19
|
+
{'': ['*'],
|
20
|
+
'cryptodatapy.extract.data_vendors': ['.ipynb_checkpoints/CCXT-checkpoint.ipynb',
|
21
|
+
'.ipynb_checkpoints/CCXT-checkpoint.ipynb',
|
22
|
+
'.ipynb_checkpoints/CCXT-checkpoint.ipynb',
|
23
|
+
'.ipynb_checkpoints/CCXT-checkpoint.ipynb',
|
24
|
+
'.ipynb_checkpoints/CCXT-checkpoint.ipynb',
|
25
|
+
'.ipynb_checkpoints/DBNomics-checkpoint.ipynb',
|
26
|
+
'.ipynb_checkpoints/DBNomics-checkpoint.ipynb',
|
27
|
+
'.ipynb_checkpoints/DBNomics-checkpoint.ipynb',
|
28
|
+
'.ipynb_checkpoints/DBNomics-checkpoint.ipynb',
|
29
|
+
'.ipynb_checkpoints/DBNomics-checkpoint.ipynb',
|
30
|
+
'.ipynb_checkpoints/InvestPy-checkpoint.ipynb',
|
31
|
+
'.ipynb_checkpoints/InvestPy-checkpoint.ipynb',
|
32
|
+
'.ipynb_checkpoints/InvestPy-checkpoint.ipynb',
|
33
|
+
'.ipynb_checkpoints/InvestPy-checkpoint.ipynb',
|
34
|
+
'.ipynb_checkpoints/InvestPy-checkpoint.ipynb',
|
35
|
+
'.ipynb_checkpoints/NasdaqDataLink-checkpoint.ipynb',
|
36
|
+
'.ipynb_checkpoints/NasdaqDataLink-checkpoint.ipynb',
|
37
|
+
'.ipynb_checkpoints/NasdaqDataLink-checkpoint.ipynb',
|
38
|
+
'.ipynb_checkpoints/NasdaqDataLink-checkpoint.ipynb',
|
39
|
+
'.ipynb_checkpoints/NasdaqDataLink-checkpoint.ipynb',
|
40
|
+
'.ipynb_checkpoints/PandasDataReader-checkpoint.ipynb',
|
41
|
+
'.ipynb_checkpoints/PandasDataReader-checkpoint.ipynb',
|
42
|
+
'.ipynb_checkpoints/PandasDataReader-checkpoint.ipynb',
|
43
|
+
'.ipynb_checkpoints/PandasDataReader-checkpoint.ipynb',
|
44
|
+
'.ipynb_checkpoints/PandasDataReader-checkpoint.ipynb']}
|
45
|
+
|
46
|
+
install_requires = \
|
47
|
+
['DBnomics>=1.2.3',
|
48
|
+
'ccxt>=1.91.52',
|
49
|
+
'fsspec>=2024.6.1',
|
50
|
+
'investpy>=1.0.8',
|
51
|
+
'matplotlib>=3.5.2',
|
52
|
+
'numpy>=1.23.2',
|
53
|
+
'openpyxl>=3.1.2',
|
54
|
+
'pandas-datareader>=0.10.0',
|
55
|
+
'pandas>=1.4.4',
|
56
|
+
'pyarrow>=17.0.0',
|
57
|
+
'responses>=0.21.0',
|
58
|
+
's3fs>=2024.6.1,<2025.0.0',
|
59
|
+
'selenium>=4.4.3',
|
60
|
+
'statsmodels>=0.13.2',
|
61
|
+
'webdriver-manager>=3.8.3',
|
62
|
+
'xlrd>=2.0.1',
|
63
|
+
'yfinance>=0.2.14']
|
64
|
+
|
65
|
+
extras_require = \
|
66
|
+
{':python_version >= "3.7"': ['requests>=2.28.0',
|
67
|
+
'coinmetrics-api-client>=2022.6.17',
|
68
|
+
'prophet>=1.1']}
|
69
|
+
|
70
|
+
setup_kwargs = {
|
71
|
+
'name': 'cryptodatapy',
|
72
|
+
'version': '0.2.6',
|
73
|
+
'description': 'Cryptoasset data library',
|
74
|
+
'long_description': "\n\n# CryptoDataPy\n### _Better data beats advanced algorithms_\n<br/>\n\n**CryptoDataPy** is a python library which makes it easy to build high quality data pipelines \nfor the analysis of digital assets. By providing easy access to over 100,000 time series for thousands of assets, \nit facilitates the pre-processing of a wide range of data from different sources.\n\nCryptoassets generate a huge amount of market, on-chain and off-chain data. \nBut unlike legacy financial markets, this data is often fragmented, \nunstructured and dirty. By extracting data from various sources, \npre-processing it into a user-friendly (tidy) format, detecting and repairing 'bad' data,\nand allowing for easy storage and retrieval, CryptoDataPy allows you to spend less time gathering \nand cleaning data, and more time analyzing it.\n\nOur data includes:\n\n- **Market:** market prices of varying granularity (e.g. tick, trade and bar data, aka OHLC),\nfor spot, futures and options markets, as well as funding rates for the analysis of \ncryptoasset returns.\n- **On-chain:** network health and usage data, circulating supply, asset holder positions and \ncost-basis, for the analysis of underlying crypto network fundamentals.\n- **Off-chain:** news, social media, developer activity, web traffic and search for project interest and \nsentiment, as well as traditional financial market and macroeconomic data for broader financial and \neconomic conditions.\n\nThe library's intuitive interface facilitates each step of the ETL/ETL (extract-transform-load) process:\n\n- **Extract**: Extracting data from a wide range of data sources and file formats.\n- **Transform**: \n - Wrangling data into a pandas DataFrame in a structured and user-friendly format, \n a.k.a [tidy data](https://www.jstatsoft.org/article/view/v059i10). \n - Detecting, scrubbing and repairing 'bad' data (e.g. outliers, missing values, 0s, etc.) to improve the accuracy and reliability\nof machine learning/predictive models.\n- **Load**: Storing clean and ready-for-analysis data and metadata for easy access.\n\n## Installation\n\n```bash\n$ pip install cryptodatapy\n```\n\n## Usage\n\n**CryptoDataPy** allows you to pull ready-to-analyze data from a variety of sources \nwith only a few lines of code.\n\nFirst specify which data you want with a `DataRequest`:\n\n```python\n# import DataRequest\nfrom cryptodatapy.extract.datarequest import DataRequest\n# specify parameters for data request: tickers, fields, start date, end_date, etc.\ndata_req = DataRequest(\n source='glassnode', # name of data source\n tickers=['btc', 'eth'], # list of asset tickers, in CryptoDataPy format, defaults to 'btc'\n fields=['close', 'add_act', 'hashrate'], # list of fields, in CryptoDataPy, defaults to 'close'\n freq=None, # data frequency, defaults to daily \n quote_ccy=None, # defaults to USD/USDT\n exch=None, # defaults to exchange weighted average or Binance\n mkt_type= 'spot', # defaults to spot\n start_date=None, # defaults to start date for longest series\n end_date=None, # defaults to most recent \n tz=None, # defaults to UTC time\n cat=None, # optional, should be specified when asset class is not crypto, eg. 'fx', 'rates', 'macro', etc.\n)\n```\nThen get the data :\n\n```python\n# import GetData\nfrom cryptodatapy.extract.getdata import GetData\n# get data\nGetData(data_req).get_series()\n```\n\nWith the same data request parameters, you can retrieve the same data from a different source:\n\n```python\n# modify data source parameter\ndata_req = DataRequest(\n source='coinmetrics', \n tickers=['btc', 'eth'], \n fields=['close', 'add_act', 'hashrate'], \n req='d',\n start_date='2016-01-01')\n# get data\nGetData(data_req).get_series()\n```\n\nFor more detailed code examples and interactive tutorials \nsee [here](https://github.com/systamental/cryptodatapy/blob/main/docs/example.ipynb).\n## Supported Data Sources\n\n- [CryptoCompare](https://min-api.cryptocompare.com/documentation)\n- [CCXT](https://docs.ccxt.com/en/latest/)\n- [Glassnode](https://docs.glassnode.com/)\n- [Coin Metrics](https://docs.coinmetrics.io/api/v4/)\n- [Tiingo](https://api.tiingo.com/documentation/general/overview)\n- [Yahoo Finance](https://github.com/ranaroussi/yfinance)\n- [Fama-French Data](http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/data_library.html)\n- [AQR](https://www.aqr.com/Insights/Datasets)\n- [Federal Reserve Economic Data (FRED)](https://fred.stlouisfed.org/docs/api/fred/)\n- [DBnomics](https://db.nomics.world/docs/)\n- [WorldBank](https://documents.worldbank.org/en/publication/documents-reports/api)\n- [Pandas-datareader](https://pandas-datareader.readthedocs.io/en/latest/)\n\n## Contributing\n\nInterested in contributing? Check out the contributing guidelines and \ncontact us at info@systamental.com. Please note that this project is s\nreleased with a Code of Conduct. By contributing to this project, you agree \nto abide by its terms.\n\n## License\n\n`cryptodatapy` was created by Systamental. \nIt is licensed under the terms of the Apache License 2.0 license.\n\n",
|
75
|
+
'author': 'Systamental',
|
76
|
+
'author_email': None,
|
77
|
+
'maintainer': None,
|
78
|
+
'maintainer_email': None,
|
79
|
+
'url': None,
|
80
|
+
'package_dir': package_dir,
|
81
|
+
'packages': packages,
|
82
|
+
'package_data': package_data,
|
83
|
+
'install_requires': install_requires,
|
84
|
+
'extras_require': extras_require,
|
85
|
+
'python_requires': '>=3.8,<4.0',
|
86
|
+
}
|
87
|
+
|
88
|
+
|
89
|
+
setup(**setup_kwargs)
|
@@ -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,,
|