You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-14Lines changed: 6 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,15 +58,7 @@ Mistral AI API: Our Chat Completion and Embeddings APIs specification. Create yo
58
58
>
59
59
> Once a Python version reaches its [official end of life date](https://devguide.python.org/versions/), a 3-month grace period is provided for users to upgrade. Following this grace period, the minimum python version supported in the SDK will be updated.
60
60
61
-
The SDK can be installed with *uv*, *pip*, or *poetry* package managers.
62
-
63
-
### uv
64
-
65
-
*uv* is a fast Python package installer and resolver, designed as a drop-in replacement for pip and pip-tools. It's recommended for its speed and modern Python tooling capabilities.
66
-
67
-
```bash
68
-
uv add mistralai
69
-
```
61
+
The SDK can be installed with either *pip* or *uv* package managers.
70
62
71
63
### PIP
72
64
@@ -76,12 +68,12 @@ uv add mistralai
76
68
pip install mistralai
77
69
```
78
70
79
-
### Poetry
71
+
### UV
80
72
81
-
*Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.
73
+
*UV* is an extremely fast Python package and project manager. You can use it to add the SDK to your project:
82
74
83
75
```bash
84
-
poetry add mistralai
76
+
uv add mistralai
85
77
```
86
78
87
79
### Shell and script usage with `uv`
@@ -347,7 +339,7 @@ asyncio.run(main())
347
339
348
340
### More examples
349
341
350
-
You can run the examples in the `examples/` directory using `poetry run` or by entering the virtual environment using `poetry shell`.
342
+
You can run the examples in the `examples/` directory using `uv run`.
351
343
352
344
353
345
## Providers' SDKs Example Usage
@@ -991,4 +983,4 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
991
983
## Contributions
992
984
993
985
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
994
-
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
986
+
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
0 commit comments