# <img src="https://github.com/syncoding/evdsts/blob/master/docs/images/evdsts.png?raw=true" width="5%"/> evdsts
[![PyPI version](https://badge.fury.io/py/evdsts.svg)](https://pypi.org/project/evdsts/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/evdsts)](https://pypistats.org/packages/evdsts)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/evdsts)](https://pypi.org/project/evdsts/)
[![PyPI - Status](https://img.shields.io/pypi/status/evdsts)](https://pypi.org/project/evdsts/)
[![GitHub - License](https://img.shields.io/github/license/syncoding/evdsts)](https://github.com/syncoding/evdsts/blob/master/LICENSE.txt)
[![GitHub issues](https://img.shields.io/github/issues-raw/syncoding/evdsts)](https://github.com/syncoding/evdsts/issues)
[![GitHub top language](https://img.shields.io/github/languages/top/syncoding/evdsts)](https://github.com/syncoding/evdsts)
[![GitHub Fork](https://img.shields.io/github/forks/syncoding/evdsts?style=social)](https://img.shields.io/github/forks/syncoding/evdsts?style=social)
## __The Purpose__
`evdsts` is a Python implementation for retrieving and transforming macroeconomic time series data from
__The Central Bank of Republic of Türkiye__ __Electronic Data Delivery System__ __(EDDS)__ API.
`evdsts` is designed for making both data retrieving and also time series analysis easy thanks to its
time series analysis ready outputs and other useful transformations.
## __The Overview__
`evdsts` is mainly designed for preparing the time series analysis ready datasets from the data
retrieved from __EDDS__. `evdsts` both makes the data retrieving easy and also allows you to start
working on data instantly with its advanced features that gives you complete control over the
retrieved data.
`evdsts` is consisted of two important classes:
1. `The Connector`: Responsible for processes such as; connecting to EDDS, data retrieving, data
renaming, etc.
2. `The Transformator`: Works co-integrated with the `Connector` and responsible for making some
useful transformations which can provide you a preliminary undestanding about the series you're
dealing with.
Some key features of `evdsts` are listed below:
- `evdsts` can perform instant transformations on retrieved data thanks to its `Transformator` class.
The Transformator is designed to co-work with `Connector` and perform a set of frequently used
transformations on retrieved data such as; z-score calculation, dummy series creation, outliers
detection, differentiation and others.
- You can search series by keywords in `evdsts` without any need for visiting EDDS website to find
series definitions you would like to retrieve from the service. Searches are done locally and gives
you instant results.
- `evdsts` ensures that all returned data can be used for mathematical operations instantly. That
guarantees no any `string` type is returned for a data type which actually represents a `datetime`,
`float` or `int` type.
- All retrieved data are converted to real time series automatically (optional, can be disabled)
- Requesting data from the API doesn't require remembering the complex series names definitions of
the original EDDS database to retrieve them. `evdsts` allows you to assign meaningful names to
the series such as; _cppi_, _ir_, _gdp_ and _usdtry_, and these assigned names can be used when
retrieving data from the EDDS later on. User assigned names are called reference names, and they
are permanent once they are assigned to series unless they're changed or deleted. Additionally,
current reference names in a project can be transferred to new projects easily.
- All parameters belong to transformation and aggregation functions and frequencies are renamed in
a meaningful manner like `daily`, `quarterly`, `percent`, `diff`, `max`, etc. and these definitions
are used as parameters for retrieving data from the API service. Therefore, there is no need to know
original API's complex parameter definitions for transformation or aggregation functions or time
series frequencies anymore.
- `evdsts` detects many kinds of errors and warns you before a connection request is made.
This allows you to know why the data would not be able to be retrieved with provided parameters, or,
about emerged ambiguities which are arisen from the provided parameter sets.
- `evdsts` allows you to make useful data transformations such as higher order differentiations
or log-returns that are originally not supported by the API, but is used for time series analysis
frequently.
- All types of retrieved data can be returned in `DataFrame`, `JSON` or `dict` types optionally.
- All retrieved data can be written on disk in `JSON`, `CSV` and `XLS` formats in order to store and
use them later, or in other softwares such as R, EViews, SAS or RATS.
- All functions and class methods are fully annotated and you can get peak hints for everything you
need to use while working with Spyder IDE, Pycharm, VS Code or Jupyter.
- All types in source code are annotated (and commented) to make working easy on source code for
developers.
## __Documentation__
Please see [__THE USER MANUAL__](https://github.com/syncoding/evdsts/blob/master/docs/manuals/manual_en.md) for detailed explanations about how to get an API key from the EDDS and use `evdsts`
## __Examples__ [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/syncoding/evdsts/blob/master/examples/examples.ipynb)
Please download the [__Jupyter Notebook Application__](https://github.com/syncoding/evdsts/blob/master/examples) that covers the main use cases of `evdsts`,
or alternatively open it on __Google Colab__ by clicking the _Open in Colab_ link above.
## __Dependencies__
`evdsts` is a __Python 3__ only project and depends on below packages:
1. cpython >= 3.8.0 (or equivalent PyPy distribution)
1. pandas >= 2.0.0
2. requests >= 2.12.5
## __Additional Requirements__
[openpyxl](https://pypi.org/project/openpyxl/) is required if you would like to write data on disk
in MS Excel format. openpyxl is not required if you don't think working with MS Excel files.
## __Installation__
Stable version of `evdsts` is available on GitHub, PyPI and conda-forge and can be installed
following one of the below ways:
### __PyPI__
```
pip install evdsts
```
### __GitHub__
```
pip install git+https://github.com/syncoding/evdsts.git
```
### __Conda__
```
conda install evdsts -c conda-forge
```
## __Source Code__
[GitHub](https://github.com/syncoding/evdsts/blob/master/evdsts)
## __Changelog__
[__Changelog__](https://github.com/syncoding/evdsts/blob/master/CHANGELOG.md)
## __License__
[__MIT__](https://github.com/syncoding/evdsts/blob/master/LICENSE.txt)
## __Contact__
<a href="mailto:synertic@gmail.com?"><img src="https://img.shields.io/badge/gmail-%23DD0031.svg?&style=for-the-badge&logo=gmail&logoColor=white"/></a>
Raw data
{
"_id": null,
"home_page": null,
"name": "evdsts",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "macroeconomics, finance, econometrics, evds, edds, api, time series",
"author": "Burak Celik",
"author_email": "synertic@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/dc/16/56f4d31d464f07d7c2c853cb2a8bb375cb3fbec431025908a4e8efb8048a/evdsts-1.0rc4.tar.gz",
"platform": null,
"description": "# <img src=\"https://github.com/syncoding/evdsts/blob/master/docs/images/evdsts.png?raw=true\" width=\"5%\"/> evdsts\r\n\r\n [![PyPI version](https://badge.fury.io/py/evdsts.svg)](https://pypi.org/project/evdsts/)\r\n [![PyPI - Downloads](https://img.shields.io/pypi/dm/evdsts)](https://pypistats.org/packages/evdsts)\r\n [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/evdsts)](https://pypi.org/project/evdsts/)\r\n [![PyPI - Status](https://img.shields.io/pypi/status/evdsts)](https://pypi.org/project/evdsts/)\r\n [![GitHub - License](https://img.shields.io/github/license/syncoding/evdsts)](https://github.com/syncoding/evdsts/blob/master/LICENSE.txt)\r\n [![GitHub issues](https://img.shields.io/github/issues-raw/syncoding/evdsts)](https://github.com/syncoding/evdsts/issues)\r\n [![GitHub top language](https://img.shields.io/github/languages/top/syncoding/evdsts)](https://github.com/syncoding/evdsts)\r\n [![GitHub Fork](https://img.shields.io/github/forks/syncoding/evdsts?style=social)](https://img.shields.io/github/forks/syncoding/evdsts?style=social)\r\n\r\n## __The Purpose__\r\n\r\n`evdsts` is a Python implementation for retrieving and transforming macroeconomic time series data from\r\n__The Central Bank of Republic of T\u00fcrkiye__ __Electronic Data Delivery System__ __(EDDS)__ API.\r\n`evdsts` is designed for making both data retrieving and also time series analysis easy thanks to its\r\ntime series analysis ready outputs and other useful transformations.\r\n\r\n## __The Overview__\r\n\r\n`evdsts` is mainly designed for preparing the time series analysis ready datasets from the data\r\nretrieved from __EDDS__. `evdsts` both makes the data retrieving easy and also allows you to start\r\nworking on data instantly with its advanced features that gives you complete control over the\r\nretrieved data.\r\n\r\n`evdsts` is consisted of two important classes:\r\n1. `The Connector`: Responsible for processes such as; connecting to EDDS, data retrieving, data\r\nrenaming, etc.\r\n2. `The Transformator`: Works co-integrated with the `Connector` and responsible for making some\r\nuseful transformations which can provide you a preliminary undestanding about the series you're\r\ndealing with.\r\n\r\nSome key features of `evdsts` are listed below:\r\n\r\n- `evdsts` can perform instant transformations on retrieved data thanks to its `Transformator` class.\r\nThe Transformator is designed to co-work with `Connector` and perform a set of frequently used\r\ntransformations on retrieved data such as; z-score calculation, dummy series creation, outliers\r\ndetection, differentiation and others.\r\n- You can search series by keywords in `evdsts` without any need for visiting EDDS website to find\r\nseries definitions you would like to retrieve from the service. Searches are done locally and gives\r\nyou instant results.\r\n- `evdsts` ensures that all returned data can be used for mathematical operations instantly. That\r\nguarantees no any `string` type is returned for a data type which actually represents a `datetime`,\r\n`float` or `int` type.\r\n- All retrieved data are converted to real time series automatically (optional, can be disabled)\r\n- Requesting data from the API doesn't require remembering the complex series names definitions of\r\nthe original EDDS database to retrieve them. `evdsts` allows you to assign meaningful names to\r\nthe series such as; _cppi_, _ir_, _gdp_ and _usdtry_, and these assigned names can be used when\r\nretrieving data from the EDDS later on. User assigned names are called reference names, and they\r\nare permanent once they are assigned to series unless they're changed or deleted. Additionally,\r\ncurrent reference names in a project can be transferred to new projects easily.\r\n- All parameters belong to transformation and aggregation functions and frequencies are renamed in\r\na meaningful manner like `daily`, `quarterly`, `percent`, `diff`, `max`, etc. and these definitions\r\nare used as parameters for retrieving data from the API service. Therefore, there is no need to know\r\noriginal API's complex parameter definitions for transformation or aggregation functions or time\r\nseries frequencies anymore.\r\n- `evdsts` detects many kinds of errors and warns you before a connection request is made.\r\nThis allows you to know why the data would not be able to be retrieved with provided parameters, or,\r\nabout emerged ambiguities which are arisen from the provided parameter sets.\r\n- `evdsts` allows you to make useful data transformations such as higher order differentiations\r\nor log-returns that are originally not supported by the API, but is used for time series analysis\r\nfrequently.\r\n- All types of retrieved data can be returned in `DataFrame`, `JSON` or `dict` types optionally.\r\n- All retrieved data can be written on disk in `JSON`, `CSV` and `XLS` formats in order to store and\r\nuse them later, or in other softwares such as R, EViews, SAS or RATS.\r\n- All functions and class methods are fully annotated and you can get peak hints for everything you\r\nneed to use while working with Spyder IDE, Pycharm, VS Code or Jupyter.\r\n- All types in source code are annotated (and commented) to make working easy on source code for\r\ndevelopers.\r\n\r\n## __Documentation__\r\n\r\nPlease see [__THE USER MANUAL__](https://github.com/syncoding/evdsts/blob/master/docs/manuals/manual_en.md) for detailed explanations about how to get an API key from the EDDS and use `evdsts`\r\n\r\n## __Examples__ [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/syncoding/evdsts/blob/master/examples/examples.ipynb)\r\n\r\nPlease download the [__Jupyter Notebook Application__](https://github.com/syncoding/evdsts/blob/master/examples) that covers the main use cases of `evdsts`,\r\nor alternatively open it on __Google Colab__ by clicking the _Open in Colab_ link above.\r\n\r\n## __Dependencies__\r\n\r\n`evdsts` is a __Python 3__ only project and depends on below packages:\r\n\r\n1. cpython >= 3.8.0 (or equivalent PyPy distribution)\r\n1. pandas >= 2.0.0\r\n2. requests >= 2.12.5\r\n\r\n## __Additional Requirements__\r\n\r\n[openpyxl](https://pypi.org/project/openpyxl/) is required if you would like to write data on disk\r\nin MS Excel format. openpyxl is not required if you don't think working with MS Excel files.\r\n\r\n## __Installation__\r\n\r\nStable version of `evdsts` is available on GitHub, PyPI and conda-forge and can be installed\r\nfollowing one of the below ways:\r\n\r\n### __PyPI__\r\n\r\n```\r\npip install evdsts\r\n```\r\n\r\n### __GitHub__\r\n\r\n```\r\npip install git+https://github.com/syncoding/evdsts.git\r\n```\r\n\r\n### __Conda__\r\n\r\n```\r\nconda install evdsts -c conda-forge\r\n```\r\n\r\n## __Source Code__\r\n\r\n[GitHub](https://github.com/syncoding/evdsts/blob/master/evdsts)\r\n\r\n## __Changelog__\r\n\r\n[__Changelog__](https://github.com/syncoding/evdsts/blob/master/CHANGELOG.md)\r\n\r\n## __License__\r\n\r\n[__MIT__](https://github.com/syncoding/evdsts/blob/master/LICENSE.txt)\r\n\r\n## __Contact__\r\n\r\n<a href=\"mailto:synertic@gmail.com?\"><img src=\"https://img.shields.io/badge/gmail-%23DD0031.svg?&style=for-the-badge&logo=gmail&logoColor=white\"/></a>\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python implementation for retrieving and transforming macroeconomic time series data from TCMB EVDS (CBRT EDDS) API.",
"version": "1.0rc4",
"project_urls": null,
"split_keywords": [
"macroeconomics",
" finance",
" econometrics",
" evds",
" edds",
" api",
" time series"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "20f5c759e2fad1ff860c2bbb3c4c12a22e4764c1c25c747aa4da7092f03ab4dd",
"md5": "afbc7b65b013c79e73a3def6fc06f230",
"sha256": "99227d8d4afd2d1c39f239c63e50705de12f44f21d77d153d802927309a53f6f"
},
"downloads": -1,
"filename": "evdsts-1.0rc4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "afbc7b65b013c79e73a3def6fc06f230",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 447522,
"upload_time": "2024-11-06T20:27:15",
"upload_time_iso_8601": "2024-11-06T20:27:15.375054Z",
"url": "https://files.pythonhosted.org/packages/20/f5/c759e2fad1ff860c2bbb3c4c12a22e4764c1c25c747aa4da7092f03ab4dd/evdsts-1.0rc4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dc1656f4d31d464f07d7c2c853cb2a8bb375cb3fbec431025908a4e8efb8048a",
"md5": "3e6a3f9089d6657b935e4e6f1c786c28",
"sha256": "3853343a0688b621f8e634b9071dadf28053190ea9ce5f61cef4f7636a58b723"
},
"downloads": -1,
"filename": "evdsts-1.0rc4.tar.gz",
"has_sig": false,
"md5_digest": "3e6a3f9089d6657b935e4e6f1c786c28",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 445479,
"upload_time": "2024-11-06T20:27:19",
"upload_time_iso_8601": "2024-11-06T20:27:19.738994Z",
"url": "https://files.pythonhosted.org/packages/dc/16/56f4d31d464f07d7c2c853cb2a8bb375cb3fbec431025908a4e8efb8048a/evdsts-1.0rc4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-06 20:27:19",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "evdsts"
}