simple-mistral
Simple Mistral AI API client
Your simple async and sync Mistral client
Installation
You can install the package using pip:
pip install simple-mistral
Or install directly from the source:
git clone https://github.com/alaex777/simple-mistral.git
cd simple-mistral
pip install -e .
Requirements
- Python 3.9+
- requests (for sync requests)
- aiohttp (for async requests)
Usage
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?"
)
Metadata
Release files for simple-mistral 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simple_mistral-0.1.2.tar.gz | 3.8 kB | Without provenance | Details for simple_mistral-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simple_mistral-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for simple_mistral-0.1.2-py3-none-any.whl |
Total release size: 8.6 kB
Release files / simple_mistral-0.1.2.tar.gz
| Download URL | simple_mistral-0.1.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc44ac91bd712d29dab805b4b46dccfe63847560b3ae6e8563d99c0faf2d862b
|
|
BLAKE2b-256 checksum How to use checksums |
a0ab3881616ddabb8970d2f4f485031b66673572694fcd093786892f4f86f795
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Release files / simple_mistral-0.1.2-py3-none-any.whl
| Download URL | simple_mistral-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cafd902e1383c301ff715b7337a951a1285f22a43bce74515db915644c3b01af
|
|
BLAKE2b-256 checksum How to use checksums |
75c00a5c83effc8a92680baa382ebc7261f15d35754ffe86c9bc56d47aa9aa75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Security for simple-mistral 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.