evdspy 2.1.2__tar.gz → 2.1.4__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.
- {evdspy-2.1.2 → evdspy-2.1.4}/PKG-INFO +53 -1
- {evdspy-2.1.2 → evdspy-2.1.4}/README.md +52 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Request_config.py +4 -5
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_user_requests.py +18 -0
- evdspy-2.1.4/evdspy/__version__.py +1 -0
- evdspy-2.1.4/evdspy/skills/evdspy/SKILL.md +230 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/pyproject.toml +1 -1
- evdspy-2.1.2/evdspy/__version__.py +0 -1
- {evdspy-2.1.2 → evdspy-2.1.4}/LICENSE +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/clear_cache_folder.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/colors.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/common_imports.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/file_classes.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/files.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/folder_name_checks.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/prog.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/table.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/common/url_clean.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/api_params.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/api_params_enums.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/bucket_from_series.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/evds_files.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/evds_seri_files.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/excel_class.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/options_class.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/request_or_cache.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/components/url_class.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/config/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/config/apikey_class.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/config/config.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/config/credentials_file.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/config/dotenv.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/console/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/console/menu.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/console/menu_async.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/console/menu_logo_header.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/console/panel.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/console/proxy_for_menu.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/console/screen.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/helper/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/helper/print_m.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/categories.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/data_models.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/datagroup_individual.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/datagroups.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/datagroups_extra.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/datagroups_initial.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/df_operations.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/error_classes_index.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/get_series_indexes.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/get_series_indexes_exp.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/get_series_indexes_utils.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/index_classes.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/index_util_funcs.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/real_reqs_tests.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Api_requester.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Data_processor.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Proxy_manager.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Serialize.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Url_builder.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Url_series.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/User_req_typings.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/User_request_utils.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/_Tables.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/cache_folder.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/cmd_line_classes.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/command_pictures.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/load_commands_.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/load_commands_cmds_to_load.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/load_modules.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/sample_series_content.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/start_args.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/start_options.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial/try_loading_initial_commands.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial_setup/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial_setup/api_key_save.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial_setup/initial_setups.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/initial_setup/setup_folders.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/log_classes/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/log_classes/log_template.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/main_.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/manual_requests/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/manual_requests/prepare.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/messages/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/messages/cmd_formats.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/messages/current_menu_message.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/messages/error_classes.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/messages/error_messages.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/messages/help_messages.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/requests_/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/requests_/ev_request.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/requests_/lower_energy.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/requests_/mock_req.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/requests_/my_cache.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/requests_/real_requests.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/requests_/request_error_classes.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/requests_/test_reg_result.pickle +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/populate_series.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/populate_series_helper.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/read_config_series.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/sample_series_content.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/series_creator.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/series_creator_on_setup.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/series_examples.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/series_format_config_funcs.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/stats/save_stats_of_requests.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/session/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/session/session_.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/setup_project/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/setup_project/read_config_series.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/setup_project/user_options_config.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/setup_project/user_series_config.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/setup_project/user_setup.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/setup_project/user_setup_helper.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/state/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/state/current_state.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/state/test_or_real.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/stats/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/stats/save_stats_of_requests.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/core_options_test.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_apikey_checks.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_categories.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_datagroups.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_get_proxies_env.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_get_series.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_get_series_exp.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_get_series_exp_cache.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_log_session.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_main_load.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_manual_series.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/test_requests.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests/testing_mock_credentials.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/tests_main.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/utils/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/utils/github_actions.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/utils/utils_general.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/utils/utils_test.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/__init__.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/main.py +0 -0
- {evdspy-2.1.2 → evdspy-2.1.4}/evdspy/main_t.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: evdspy
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.4
|
|
4
4
|
Summary: A versatile interface for the 'EDDS' (EVDS) API of the Central Bank of the Republic of Türkiye (https://evds3.tcmb.gov.tr/dokumanlar). This package allows users to easily access and manage economic data through a user-friendly menu function. It features a robust caching mechanism to enhance the efficiency of data requests by storing frequently accessed data for selected periods. Required API keys can be obtained by registering on the EVDS website.
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -53,10 +53,62 @@ Description-Content-Type: text/markdown
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
### Updated on this version
|
|
56
|
+
- ***AI agent skill*** added: `evdspy` now ships a [`SKILL.md`](evdspy/skills/evdspy/SKILL.md) that teaches AI coding assistants (Claude Code, Cursor, Codex, Copilot, …) how to use this package correctly. See [Using evdspy with AI assistants](#using-evdspy-with-ai-assistants-skill).
|
|
56
57
|
- ***get_series_exp*** function was added
|
|
57
58
|
|
|
58
59
|
see [Documentation](https://evdspy-repo.readthedocs.io/en/latest/home.html) for its usage and result data types
|
|
59
60
|
|
|
61
|
+
## Using evdspy with AI assistants (SKILL)
|
|
62
|
+
|
|
63
|
+
`evdspy` includes an agent skill at [`evdspy/skills/evdspy/SKILL.md`](evdspy/skills/evdspy/SKILL.md).
|
|
64
|
+
It gives an AI assistant what it needs to write working evdspy code on the first try:
|
|
65
|
+
|
|
66
|
+
- API key setup (`.env`, environment variable, `api_key=`, `save()`)
|
|
67
|
+
- every `get_series` / `get_series_exp` parameter, with the allowed `frequency`, `formulas` and `aggregation` values
|
|
68
|
+
- the output shapes (the date column is `Tarih` or `index`; formula columns get a `-N` suffix) and a `tidy()` helper that normalises them
|
|
69
|
+
- checked series codes (current CPI is `TP.TUKFIY2025.GENEL`; `TP.FG.J0` is archived), datagroups (`bie_...`), recipes, and a troubleshooting table
|
|
70
|
+
|
|
71
|
+
The skill is installed with the package (`pip install -U evdspy`), so you can copy it from there.
|
|
72
|
+
|
|
73
|
+
### Claude Code
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
# for all your projects (personal skill)
|
|
77
|
+
mkdir -p ~/.claude/skills
|
|
78
|
+
cp -r "$(python -c 'import evdspy, os; print(os.path.join(os.path.dirname(evdspy.__file__), "skills", "evdspy"))')" ~/.claude/skills/
|
|
79
|
+
|
|
80
|
+
# or only for the current project (commit it to share with your team)
|
|
81
|
+
mkdir -p .claude/skills
|
|
82
|
+
cp -r "$(python -c 'import evdspy, os; print(os.path.join(os.path.dirname(evdspy.__file__), "skills", "evdspy"))')" .claude/skills/
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Without pip, download it straight from GitHub:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
mkdir -p ~/.claude/skills/evdspy
|
|
89
|
+
curl -fsSL https://raw.githubusercontent.com/SermetPekin/evdspy-repo/main/evdspy/skills/evdspy/SKILL.md \
|
|
90
|
+
-o ~/.claude/skills/evdspy/SKILL.md
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Claude Code finds the skill automatically. It loads the skill when you ask for things like
|
|
94
|
+
*"get Turkish CPI inflation since 2020 from EVDS and plot it"*, or you can run it directly with `/evdspy`.
|
|
95
|
+
|
|
96
|
+
### Other AI tools (Cursor, GitHub Copilot, Codex, Gemini CLI, …)
|
|
97
|
+
|
|
98
|
+
`SKILL.md` is plain Markdown with a short YAML header, so any assistant can read it:
|
|
99
|
+
|
|
100
|
+
- **Codex / agents that read `AGENTS.md`**: copy the file into your project and add a line to `AGENTS.md`, e.g. `For EVDS / evdspy tasks, follow docs/evdspy-SKILL.md.`
|
|
101
|
+
- **Cursor**: save it as `.cursor/rules/evdspy.md` (or `.mdc`).
|
|
102
|
+
- **GitHub Copilot**: append its content to `.github/copilot-instructions.md`.
|
|
103
|
+
- **Chat assistants**: attach or paste the file at the start of the conversation.
|
|
104
|
+
|
|
105
|
+
Find the installed copy with:
|
|
106
|
+
|
|
107
|
+
```python
|
|
108
|
+
import evdspy, os
|
|
109
|
+
print(os.path.join(os.path.dirname(evdspy.__file__), "skills", "evdspy", "SKILL.md"))
|
|
110
|
+
```
|
|
111
|
+
|
|
60
112
|
### other alternative libraries
|
|
61
113
|
### evdschat
|
|
62
114
|
**[](https://github.com/SermetPekin/evdschat)**
|
|
@@ -15,10 +15,62 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Updated on this version
|
|
18
|
+
- ***AI agent skill*** added: `evdspy` now ships a [`SKILL.md`](evdspy/skills/evdspy/SKILL.md) that teaches AI coding assistants (Claude Code, Cursor, Codex, Copilot, …) how to use this package correctly. See [Using evdspy with AI assistants](#using-evdspy-with-ai-assistants-skill).
|
|
18
19
|
- ***get_series_exp*** function was added
|
|
19
20
|
|
|
20
21
|
see [Documentation](https://evdspy-repo.readthedocs.io/en/latest/home.html) for its usage and result data types
|
|
21
22
|
|
|
23
|
+
## Using evdspy with AI assistants (SKILL)
|
|
24
|
+
|
|
25
|
+
`evdspy` includes an agent skill at [`evdspy/skills/evdspy/SKILL.md`](evdspy/skills/evdspy/SKILL.md).
|
|
26
|
+
It gives an AI assistant what it needs to write working evdspy code on the first try:
|
|
27
|
+
|
|
28
|
+
- API key setup (`.env`, environment variable, `api_key=`, `save()`)
|
|
29
|
+
- every `get_series` / `get_series_exp` parameter, with the allowed `frequency`, `formulas` and `aggregation` values
|
|
30
|
+
- the output shapes (the date column is `Tarih` or `index`; formula columns get a `-N` suffix) and a `tidy()` helper that normalises them
|
|
31
|
+
- checked series codes (current CPI is `TP.TUKFIY2025.GENEL`; `TP.FG.J0` is archived), datagroups (`bie_...`), recipes, and a troubleshooting table
|
|
32
|
+
|
|
33
|
+
The skill is installed with the package (`pip install -U evdspy`), so you can copy it from there.
|
|
34
|
+
|
|
35
|
+
### Claude Code
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# for all your projects (personal skill)
|
|
39
|
+
mkdir -p ~/.claude/skills
|
|
40
|
+
cp -r "$(python -c 'import evdspy, os; print(os.path.join(os.path.dirname(evdspy.__file__), "skills", "evdspy"))')" ~/.claude/skills/
|
|
41
|
+
|
|
42
|
+
# or only for the current project (commit it to share with your team)
|
|
43
|
+
mkdir -p .claude/skills
|
|
44
|
+
cp -r "$(python -c 'import evdspy, os; print(os.path.join(os.path.dirname(evdspy.__file__), "skills", "evdspy"))')" .claude/skills/
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Without pip, download it straight from GitHub:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
mkdir -p ~/.claude/skills/evdspy
|
|
51
|
+
curl -fsSL https://raw.githubusercontent.com/SermetPekin/evdspy-repo/main/evdspy/skills/evdspy/SKILL.md \
|
|
52
|
+
-o ~/.claude/skills/evdspy/SKILL.md
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Claude Code finds the skill automatically. It loads the skill when you ask for things like
|
|
56
|
+
*"get Turkish CPI inflation since 2020 from EVDS and plot it"*, or you can run it directly with `/evdspy`.
|
|
57
|
+
|
|
58
|
+
### Other AI tools (Cursor, GitHub Copilot, Codex, Gemini CLI, …)
|
|
59
|
+
|
|
60
|
+
`SKILL.md` is plain Markdown with a short YAML header, so any assistant can read it:
|
|
61
|
+
|
|
62
|
+
- **Codex / agents that read `AGENTS.md`**: copy the file into your project and add a line to `AGENTS.md`, e.g. `For EVDS / evdspy tasks, follow docs/evdspy-SKILL.md.`
|
|
63
|
+
- **Cursor**: save it as `.cursor/rules/evdspy.md` (or `.mdc`).
|
|
64
|
+
- **GitHub Copilot**: append its content to `.github/copilot-instructions.md`.
|
|
65
|
+
- **Chat assistants**: attach or paste the file at the start of the conversation.
|
|
66
|
+
|
|
67
|
+
Find the installed copy with:
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
import evdspy, os
|
|
71
|
+
print(os.path.join(os.path.dirname(evdspy.__file__), "skills", "evdspy", "SKILL.md"))
|
|
72
|
+
```
|
|
73
|
+
|
|
22
74
|
### other alternative libraries
|
|
23
75
|
### evdschat
|
|
24
76
|
**[](https://github.com/SermetPekin/evdschat)**
|
{evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Request_config.py
RENAMED
|
@@ -113,11 +113,10 @@ class RequestConfig(Serialize):
|
|
|
113
113
|
@staticmethod
|
|
114
114
|
def template_to_tuple(index: str) -> tuple:
|
|
115
115
|
def clean(string: str):
|
|
116
|
-
|
|
117
|
-
return
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
t = tuple(clean(x) for x in index_tuple)
|
|
116
|
+
string_ = string.strip().split("#")[0].split(" ")[0].split("\t")[0].strip()
|
|
117
|
+
return string_ if len(string_) > 3 else None
|
|
118
|
+
|
|
119
|
+
t = tuple(clean(x) for x in index.splitlines())
|
|
121
120
|
return tuple(x for x in t if x is not None and len(x) > 3)
|
|
122
121
|
|
|
123
122
|
def check_index(self) -> None:
|
|
@@ -39,6 +39,24 @@ except ImportError:
|
|
|
39
39
|
pass
|
|
40
40
|
|
|
41
41
|
|
|
42
|
+
|
|
43
|
+
def test_config_splits(capsys):
|
|
44
|
+
with capsys.disabled():
|
|
45
|
+
indexes = """
|
|
46
|
+
A.B.C #
|
|
47
|
+
X.Y.Z something else
|
|
48
|
+
A.d.z -> another
|
|
49
|
+
|
|
50
|
+
"""
|
|
51
|
+
u1 = RequestConfig(
|
|
52
|
+
indexes,
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
answer = ('A.B.C', 'X.Y.Z', 'A.D.Z')
|
|
56
|
+
assert u1.index == answer
|
|
57
|
+
u2 = RequestConfig(answer)
|
|
58
|
+
assert u2.index == u1.index
|
|
59
|
+
|
|
42
60
|
@skip_if_gthub
|
|
43
61
|
def test_get_apikey_while_testing():
|
|
44
62
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#2.1.4
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: evdspy
|
|
3
|
+
description: Fetch Turkish macroeconomic and financial time series (inflation/CPI, exchange rates, interest rates, reserves, balance of payments, inflation expectations, tourism, etc.) from the Central Bank of the Republic of Türkiye (CBRT/TCMB) EVDS API using the `evdspy` Python package. Use when the user mentions EVDS, EDDS, TCMB, CBRT, evdspy, series codes like `TP.TUKFIY2025.GENEL` or `TP.DK.USD.A.YTL`, datagroups like `bie_...`, or asks for Turkish economic data as a pandas DataFrame or Excel file.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# evdspy — CBRT EVDS data in Python
|
|
7
|
+
|
|
8
|
+
`evdspy` wraps the EVDS API of the Central Bank of the Republic of Türkiye and returns
|
|
9
|
+
pandas DataFrames. It is **not** an official CBRT package.
|
|
10
|
+
|
|
11
|
+
- Install: `pip install -U evdspy` (Python ≥ 3.10)
|
|
12
|
+
- API key: free, from https://evds3.tcmb.gov.tr/login (user profile → API key)
|
|
13
|
+
- Series browser: https://evds3.tcmb.gov.tr — official API docs: https://evds3.tcmb.gov.tr/dokumanlar
|
|
14
|
+
- Package docs: https://evdspy-repo.readthedocs.io/en/latest/
|
|
15
|
+
|
|
16
|
+
## 1. API key — set it up before the first request
|
|
17
|
+
|
|
18
|
+
Pick one. Never hard-code a real key into files you commit.
|
|
19
|
+
|
|
20
|
+
1. **`.env` file in the working directory** (recommended; loaded automatically on `import evdspy`):
|
|
21
|
+
```bash
|
|
22
|
+
EVDS_API_KEY=YourApiKeyHere
|
|
23
|
+
```
|
|
24
|
+
2. **Environment variable** `EVDS_API_KEY` exported in the shell.
|
|
25
|
+
3. **`api_key=` argument** on `get_series(...)` — the first valid key passed this way is also saved
|
|
26
|
+
locally and reused by later calls.
|
|
27
|
+
4. **Save once**: `from evdspy import save; save("YourApiKeyHere")` or `evdspy save` in a terminal.
|
|
28
|
+
|
|
29
|
+
If requests return `None`/`False` or an auth error, check the key first.
|
|
30
|
+
|
|
31
|
+
## 2. Core API
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
from evdspy import get_series, get_series_exp
|
|
35
|
+
|
|
36
|
+
df = df = get_series("TP.TUKFIY2025.GENEL") # CPI, all dates since 01-01-2000
|
|
37
|
+
df = get_series("TP.DK.USD.A.YTL", start_date="01-01-2024", end_date="31-12-2024")
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### `get_series(...) -> pd.DataFrame`
|
|
41
|
+
|
|
42
|
+
| Parameter | Default | Notes |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| `index` | — | One series code, a tuple/list of codes, a multi-line template string, or a datagroup (`bie_...`) |
|
|
45
|
+
| `start_date` | `"01-01-2000"` | **`DD-MM-YYYY`** (day first!). Overridable via env var `START_DATE` |
|
|
46
|
+
| `end_date` | `"01-01-2100"` | **`DD-MM-YYYY`**. Overridable via env var `END_DATE` |
|
|
47
|
+
| `frequency` | `None` (series' native) | `daily`, `business`, `weekly`, `semimonthly`, `monthly`, `quarterly`, `semiannually`, `annually` (or int 1–8) |
|
|
48
|
+
| `formulas` | `None` (level) | `level`, `percentage_change`, `difference`, `year_to_year_percent_change`, `year_to_year_differences`, `percentage_change_compared`, `difference_compared`, `moving_average`, `moving_sum` |
|
|
49
|
+
| `aggregation` | `None` | How to aggregate when converting to a lower frequency: `avg`, `min`, `max`, `first`, `last`, `sum` |
|
|
50
|
+
| `cache` | `False` | `True` caches responses on disk (`~/.cache/evdspy`) to avoid repeat requests |
|
|
51
|
+
| `proxy` / `proxies` | `None` | `"http://host:port"` or `{"http": ..., "https": ...}`. `http_proxy`/`https_proxy` in `.env` also work |
|
|
52
|
+
| `no_proxy` | `False` | `True` bypasses any configured proxy |
|
|
53
|
+
| `api_key` | `None` | See section 1 |
|
|
54
|
+
| `debug` | `False` | `True` does a **dry run**: builds the request and returns the request config, no network call |
|
|
55
|
+
|
|
56
|
+
Returned DataFrame — **the shape changes with the parameters**, so don't hard-code column names:
|
|
57
|
+
|
|
58
|
+
- one float column per series, named by its code with dots (e.g. `TP.TUKFIY2025.GENEL`);
|
|
59
|
+
- with `formulas`, the column gets the formula number as a suffix: `TP.TUKFIY2025.GENEL-3`
|
|
60
|
+
(`year_to_year_percent_change` → `-3`, `percentage_change` → `-1`, … full list in section 4);
|
|
61
|
+
- the date column is named **`Tarih`** for plain requests, but **`index`** when
|
|
62
|
+
`frequency`/`formulas`/`aggregation` are set;
|
|
63
|
+
- dates come back as strings in different formats (`"2025-12"` monthly, `"01-12-2025"`
|
|
64
|
+
with `frequency`) or as datetimes (weekly/daily);
|
|
65
|
+
- weekly data has an extra `YEARWEEK` column.
|
|
66
|
+
|
|
67
|
+
To get a clean, datetime-indexed frame every time, use the `tidy` helper in section 6.
|
|
68
|
+
|
|
69
|
+
### `get_series_exp(...) -> Result`
|
|
70
|
+
|
|
71
|
+
Same parameters as `get_series` plus `meta_cache: bool = False`. Returns data **and** metadata:
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
res = get_series_exp("TP.TUKFIY2025.GENEL", cache=True, start_date="01-01-2024")
|
|
75
|
+
res.data # pd.DataFrame — same as get_series
|
|
76
|
+
res.metadata # pd.DataFrame — series name, unit, frequency, source, etc.
|
|
77
|
+
res.to_excel("cpi.xlsx") # 2 sheets: main_data, metadata (alias: res.write)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Use `get_series_exp` when the user needs series names/units/descriptions, or when you need to
|
|
81
|
+
explain what a code means.
|
|
82
|
+
|
|
83
|
+
### Other helpers
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
from evdspy import clear_cache, default_start_date_fnc, default_end_date_fnc
|
|
87
|
+
clear_cache() # wipe ~/.cache/evdspy so the next cached call re-downloads
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
CLI (installed as `evdspy`): `evdspy help`, `evdspy save`, `evdspy menu` (interactive menu),
|
|
91
|
+
`evdspy setup`, `evdspy create series`, `evdspy get`.
|
|
92
|
+
|
|
93
|
+
## 3. Ways to pass `index`
|
|
94
|
+
|
|
95
|
+
```python
|
|
96
|
+
# single code
|
|
97
|
+
get_series("TP.DK.USD.A.YTL")
|
|
98
|
+
|
|
99
|
+
# several codes -> one DataFrame, one column each
|
|
100
|
+
get_series(("TP.DK.USD.A.YTL", "TP.DK.EUR.A.YTL"))
|
|
101
|
+
|
|
102
|
+
# template string: one code per line, '#' comments allowed, blank lines ignored
|
|
103
|
+
template = """
|
|
104
|
+
TP.TUKFIY2025.GENEL # CPI (2025=100)
|
|
105
|
+
TP.ENFBEK.PKA12ENF # 12-month-ahead inflation expectation, market participants
|
|
106
|
+
TP.ENFBEK.IYA12ENF # 12-month-ahead inflation expectation, real sector
|
|
107
|
+
"""
|
|
108
|
+
get_series(template, frequency="monthly")
|
|
109
|
+
|
|
110
|
+
# datagroup (whole table) — codes starting with "bie_"
|
|
111
|
+
get_series_exp("bie_enfbek", start_date="01-01-2015")
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Normalisation done for you: series codes are upper-cased and `_` → `.` (so `tp_dk_usd_a_ytl` works);
|
|
115
|
+
datagroup codes (`bie_...`) are kept as written.
|
|
116
|
+
|
|
117
|
+
## 4. Frequency, formulas, aggregation — rules that bite
|
|
118
|
+
|
|
119
|
+
- **Unknown `frequency` strings silently fall back to `daily`.** Use only the exact names above.
|
|
120
|
+
`"yearly"`/`"annual"` → use `"annually"` (`"annual"` also accepted). `"quarter"` is wrong; use `"quarterly"`.
|
|
121
|
+
- `formulas` and `aggregation` are **per series**:
|
|
122
|
+
- a single string → applied to every series;
|
|
123
|
+
- a tuple → must have **exactly one entry per series**, in the same order.
|
|
124
|
+
```python
|
|
125
|
+
get_series(("TP.TUKFIY2025.GENEL", "TP.DK.USD.A.YTL"),
|
|
126
|
+
frequency="monthly",
|
|
127
|
+
formulas=("year_to_year_percent_change", "level"),
|
|
128
|
+
aggregation=("last", "avg"))
|
|
129
|
+
```
|
|
130
|
+
- Formula numbers (they show up as column suffixes): `level`=0, `percentage_change`=1,
|
|
131
|
+
`difference`=2, `year_to_year_percent_change`=3, `year_to_year_differences`=4,
|
|
132
|
+
`percentage_change_compared`=5 (vs. end of previous year), `difference_compared`=6,
|
|
133
|
+
`moving_average`=7, `moving_sum`=8.
|
|
134
|
+
- When down-sampling (e.g. daily FX → monthly) set `aggregation`: `avg` for rates/prices,
|
|
135
|
+
`last` for end-of-period stocks, `sum` for flows.
|
|
136
|
+
- Annual (YoY) inflation from the CPI index: `formulas="year_to_year_percent_change"` with `frequency="monthly"`.
|
|
137
|
+
- Weekly series: `get_series` automatically issues a second request if the API truncates the
|
|
138
|
+
beginning of a long weekly range and concatenates the result.
|
|
139
|
+
|
|
140
|
+
## 5. Finding series codes
|
|
141
|
+
|
|
142
|
+
EVDS codes are not guessable. Ways to find them:
|
|
143
|
+
1. Browse https://evds3.tcmb.gov.tr, open a series, copy its code (e.g. `TP.TUKFIY2025.GENEL`).
|
|
144
|
+
2. Call `get_series_exp(code).metadata` to confirm what a code is before relying on it.
|
|
145
|
+
3. Ask the user for the code if unsure — do not invent codes.
|
|
146
|
+
|
|
147
|
+
Commonly used codes (verified against EVDS metadata, Dec 2026):
|
|
148
|
+
|
|
149
|
+
| Code | Meaning | Native freq. |
|
|
150
|
+
|---|---|---|
|
|
151
|
+
| `TP.TUKFIY2025.GENEL` | CPI, general index (2025=100) — **current CPI series** | monthly |
|
|
152
|
+
| `TP.FG.J0` | CPI, general index (2003=100) — **archived, ends Jan 2026**; use only for long history | monthly |
|
|
153
|
+
| `TP.DK.USD.A.YTL` | USD/TRY, CBRT buying rate | daily |
|
|
154
|
+
| `TP.DK.EUR.A.YTL` | EUR/TRY, CBRT buying rate | daily |
|
|
155
|
+
| `TP.ENFBEK.PKA12ENF` | 12-month-ahead inflation expectation, market participants survey (%) | monthly |
|
|
156
|
+
| `TP.ENFBEK.IYA12ENF` | 12-month-ahead inflation expectation, real sector (%) | monthly |
|
|
157
|
+
| `TP.AB.TOPLAM` | CBRT official reserves, total (million USD) | weekly |
|
|
158
|
+
| `bie_tukfiy2025` | Datagroup: CPI 2025=100, all sub-indices (~300 columns) | monthly |
|
|
159
|
+
| `bie_enfbek` | Datagroup: inflation expectations | monthly |
|
|
160
|
+
| `bie_abres2` | Datagroup: CBRT reserves (gold, FX, total) | weekly |
|
|
161
|
+
|
|
162
|
+
EVDS series get **rebased and archived** (metadata name ends with `(Archive)` and data stops).
|
|
163
|
+
If a series' latest data is old, check `get_series_exp(code).metadata["SERIE.NAME.ENG"]` and
|
|
164
|
+
look for the replacement series/datagroup on the EVDS site.
|
|
165
|
+
|
|
166
|
+
## 6. Recipes
|
|
167
|
+
|
|
168
|
+
**`tidy` — clean, datetime-indexed frame for analysis or plotting** (pandas ≥ 2.0)
|
|
169
|
+
```python
|
|
170
|
+
import pandas as pd
|
|
171
|
+
|
|
172
|
+
def tidy(df: pd.DataFrame) -> pd.DataFrame:
|
|
173
|
+
"""Normalise any get_series output: DatetimeIndex named 'date', series columns only."""
|
|
174
|
+
date_col = "Tarih" if "Tarih" in df.columns else df.columns[0] # 'Tarih' or 'index'
|
|
175
|
+
out = df.copy()
|
|
176
|
+
out[date_col] = pd.to_datetime(out[date_col], format="mixed", dayfirst=True, errors="coerce")
|
|
177
|
+
out = out.rename(columns={date_col: "date"}).set_index("date")
|
|
178
|
+
return out.drop(columns=[c for c in ("YEARWEEK", "UNIXTIME") if c in out.columns])
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**Annual CPI inflation, monthly, to Excel**
|
|
182
|
+
```python
|
|
183
|
+
from evdspy import get_series
|
|
184
|
+
df = tidy(get_series("TP.TUKFIY2025.GENEL", start_date="01-01-2020", frequency="monthly",
|
|
185
|
+
formulas="year_to_year_percent_change", cache=True))
|
|
186
|
+
df = df.rename(columns={"TP.TUKFIY2025.GENEL-3": "cpi_yoy"}).dropna()
|
|
187
|
+
df.to_excel("cpi_yoy.xlsx")
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**Monthly average USD/TRY and EUR/TRY**
|
|
191
|
+
```python
|
|
192
|
+
df = tidy(get_series(("TP.DK.USD.A.YTL", "TP.DK.EUR.A.YTL"),
|
|
193
|
+
start_date="01-01-2020", frequency="monthly", aggregation="avg"))
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
**Data + metadata for several tables**
|
|
197
|
+
```python
|
|
198
|
+
for group in ("bie_enfbek", "bie_abres2"):
|
|
199
|
+
res = get_series_exp(group, cache=True, start_date="01-01-2015")
|
|
200
|
+
res.to_excel(f"{group}.xlsx")
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
**Check the request without hitting the API**
|
|
204
|
+
```python
|
|
205
|
+
cfg = get_series("TP.TUKFIY2025.GENEL", frequency="monthly", debug=True) # prints the URL
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
## 7. Troubleshooting
|
|
209
|
+
|
|
210
|
+
| Symptom | Likely cause / fix |
|
|
211
|
+
|---|---|
|
|
212
|
+
| Returns `None`/`False`, or no data | Missing/invalid API key (section 1); wrong series code; date range with no data |
|
|
213
|
+
| Series stops at an old date | Series was archived/rebased — see section 5 |
|
|
214
|
+
| Empty or unexpected dates | Dates given as `YYYY-MM-DD` or `MM-DD-YYYY` — must be `DD-MM-YYYY` |
|
|
215
|
+
| Data is daily when monthly was expected | Misspelled `frequency` (falls back to daily) |
|
|
216
|
+
| `AssertionError` | `formulas`/`aggregation` tuple length ≠ number of series |
|
|
217
|
+
| `KeyError: 'Tarih'` or a series code | Date column is `index` when frequency/formulas/aggregation are set; formula columns have a `-N` suffix — use `tidy()` |
|
|
218
|
+
| Latest months are `NaN` for some series | Series are published with different lags; `dropna()` per column, not across all |
|
|
219
|
+
| Stale numbers | `cache=True` served an old response — rerun with `cache=False` or call `clear_cache()` |
|
|
220
|
+
| Timeouts behind corporate network | Pass `proxy=`/`proxies=` or set `http_proxy`/`https_proxy` in `.env` |
|
|
221
|
+
|
|
222
|
+
## 8. Guidance for the agent
|
|
223
|
+
|
|
224
|
+
- Prefer `cache=True` during exploratory/iterative work to avoid hammering the API.
|
|
225
|
+
- Always pass dates as `DD-MM-YYYY` strings.
|
|
226
|
+
- Never print, log, or commit the user's API key; read it from `.env`/environment.
|
|
227
|
+
- When the user describes data in words ("Turkish core inflation", "policy rate"), look up or ask
|
|
228
|
+
for the exact EVDS code instead of guessing; confirm via `get_series_exp(...).metadata`.
|
|
229
|
+
- Related projects by the same author: `evdschat` (natural-language/RAG layer on top of evdspy),
|
|
230
|
+
`evdscpp` (C++ client).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
[tool.poetry]
|
|
5
5
|
name = "evdspy"
|
|
6
|
-
version = "2.1.
|
|
6
|
+
version = "2.1.4"
|
|
7
7
|
description = "A versatile interface for the 'EDDS' (EVDS) API of the Central Bank of the Republic of Türkiye (https://evds3.tcmb.gov.tr/dokumanlar). This package allows users to easily access and manage economic data through a user-friendly menu function. It features a robust caching mechanism to enhance the efficiency of data requests by storing frequently accessed data for selected periods. Required API keys can be obtained by registering on the EVDS website."
|
|
8
8
|
authors = ["Sermet Pekin <sermet.pekin@gmail.com>"]
|
|
9
9
|
license = "MIT"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#1.1.23
|
|
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
|
|
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
|
{evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Api_requester.py
RENAMED
|
File without changes
|
{evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Data_processor.py
RENAMED
|
File without changes
|
{evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/Proxy_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/User_req_typings.py
RENAMED
|
File without changes
|
{evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/index_requests/user_requests/User_request_utils.py
RENAMED
|
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
|
|
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
|
{evdspy-2.1.2 → evdspy-2.1.4}/evdspy/EVDSlocal/series_format/stats/save_stats_of_requests.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|