Metadata-Version: 2.4
Name: simple-mistral
Version: 0.1.0
Summary: A simple async and sync Mistral API client
Home-page: https://github.com/alaex77/simple-mistral
Author: Alexander Balashov
Author-email: alaex77@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# simple-mistral
Simple Mistral AI API client

## Your simple async and sync Mistral client
![image info](./pictures/mistral.png)

## Installation

You can install the package using pip:

```bash
pip install simple-mistral
```

Or install directly from the source:

```bash
git clone https://github.com/alaex777/simple-mistral.git
cd simple-mistral
pip install -e .
```

## Requirements

- Python 3.7+
- requests
- aiohttp (for async support)

## Usage

```python
from simple_mistral import MistralClient

# Initialize the client
client = MistralClient(api_key="your-api-key")

# Synchronous request
response = client.send_request(
    message="What is Python?"
)

# Asynchronous request
response = await client.send_request_async(
    message="What is Python?"
)
```
