Metadata-Version: 2.1
Name: evdschat
Version: 0.1.3
Summary: evdschat
Home-page: https://github.com/SermetPekin/evdschat
License: CC BY-NC 4.0
Author: sermet.pekin
Author-email: Sermet.Pekin@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: evdspy (>=1.1.40)
Requires-Dist: python-dotenv (>=1.0.1)
Requires-Dist: requests (>=2.32.3)
Requires-Dist: rich (>=13.7.1)
Project-URL: Repository, https://github.com/SermetPekin/evdschat
Description-Content-Type: text/markdown

[![Python package](https://github.com/SermetPekin/evdschat/actions/workflows/python-package.yml/badge.svg?1)](https://github.com/SermetPekin/evdschat/actions/workflows/python-package.yml?1) [![PyPI](https://img.shields.io/pypi/v/evdschat)](https://img.shields.io/pypi/v/evdschat) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/evdschat)](https://pypi.org/project/evdschat/) [![Downloads](https://static.pepy.tech/badge/evdschat)](https://pepy.tech/project/evdschat) [![Downloads](https://static.pepy.tech/badge/evdschat/month)](https://pepy.tech/project/evdschat) [![Downloads](https://pepy.tech/badge/evdschat/week)](https://pepy.tech/project/evdschat)

# evdschat

**evdschat** is an open-source Python package designed to enhance the **evdspy** package by allowing users to interact with the **evdschat Application**. This Node.js project aims to provide the most specific and accurate data users request during conversations, based on arguments such as start date, end date, and aggregation type, as described in the evdspy Python package. However, since it is a Generative AI application, it may sometimes be incorrect. Please be aware of the tickets and data it provides. To minimize inconvenience, the application will be tailored to indicate which tickets and which names correspond to the provided data. With further improvements, the application's mistakes might become less frequent in future versions.

As an experimental project, this package seeks to create an experimental bridge between the evdspy package and the EVDS API of the Central Bank of the Republic of Türkiye.

## Usage

```python
from evdschat import chat 

prompt = '''
Can you give me reserves data since 2010 can you aggregate it monthly by average? Thanks. 
'''

result, notes = chat(prompt, test=False) 
print(result)
```



## Usage from console 

```bash [terminal/console $] 

evdschat 'I need sectoral inflation expectations data since 2020. quarterly and aggregated as end value' fileName.xlsx

```


![image](https://github.com/user-attachments/assets/b8e3534f-4d8b-4f72-ae4f-e10e76dc06dc)

## Installation

```bash
pip install evdschat -U

# or
python3.11 -m pip install evdschat -U

# or
python3.10 -m pip install evdschat -U
```

## Example

```python
from evdschat import chat 

prompt = '''
# Your prompt describing which data you want here.
'''

result, notes = chat(prompt, test=False) 
print(result)
```
## Defining Api Keys ( .env file )

```bash
  # .env file content 

  OPENAI_API_KEY = "sk-proj-ABCDEFGIJKLMNOPQRSTUXVZ"
  EVDS_API_KEY=ABCDEFGIJKLMNOP

```



## New in this version 
- Replaced some modern features to support earlier Python versions.
  Now supports Python versions 3.9 through 3.12.


## License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. See the [LICENSE](LICENSE) file for details.



## evdschat Application (Node.js)

**evdschatJS** is a web API assistant for the evdspy Python package. It helps users by providing code suggestions to retrieve data from conversations.

[![tellme](https://github.com/user-attachments/assets/14024132-4d41-4879-9ea8-3e510b2f8f02)](https://evdspychat.onrender.com/)



## License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. See the [LICENSE](LICENSE) file for details.


