sbsa/cu130/: mistral-common-1.8.4 metadata and description

Simple index

Mistral-common is a library of common utilities for Mistral AI.

author_email bam4d <bam4d@mistral.ai>
description_content_type text/markdown
license_expression Apache-2.0
requires_dist
  • pydantic<3.0,>=2.7
  • jsonschema>=4.21.1
  • typing-extensions>=4.11.0
  • tiktoken>=0.7.0
  • pillow>=10.3.0
  • requests>=2.0.0
  • numpy>=1.25
  • pydantic-extra-types[pycountry]>=2.10.5
  • opencv-python-headless>=4.0.0; extra == "opencv"
  • sentencepiece>=0.2.0; extra == "sentencepiece"
  • soundfile>=0.12.1; extra == "soundfile"
  • soxr>=0.5.0; extra == "soxr"
  • mistral_common[soundfile]; extra == "audio"
  • mistral_common[soxr]; extra == "audio"
  • mistral_common[opencv]; extra == "image"
  • huggingface-hub>=0.32.4; extra == "hf-hub"
  • fastapi[standard]>=0.115.12; extra == "server"
  • pydantic-settings>=2.9.1; extra == "server"
  • click>=8.1.0; extra == "server"
requires_python <3.14,>=3.9.0

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
mistral_common-1.8.4-py3-none-any.whl
Size
6 MB
Type
Python Wheel
Python
3
  • Replaced 12 time(s)
  • Uploaded to sbsa/cu130 by sbsa 2025-09-04 03:01:05
Mistral AI

Mistral-common

PyPI version Tests Documentation Python version License

What is it?

mistral-common is a set of tools to help you work with Mistral AI models.

We open-source the tokenizers, validation and normalization code that can be used with our models.

This ensures that you can take full advantage of our models for the following features:

We also version our tokenizers to guarantee backward compatibility for the models that we release.

For who ?

This library is for you if you want to:

How to use it ?

You can install the library using pip:

pip install mistral-common

We propose different dependencies to install depending on your needs:

Each dependency is optional and can be installed separately or all together using the following commands:

pip install "mistral-common[image]"
pip install "mistral-common[audio]"
pip install "mistral-common[hf-hub]"
pip install "mistral-common[sentencepiece]"
pip install "mistral-common[server]"
pip install "mistral-common[image,audio,hf-hub,sentencepiece,server]"

For more information, please refer to the documentation.

How to contribute ?

We welcome contributions to this library. All of our features are tested to ensure best usage. But if you encounter a bug, find difficulties in using mistral-common, please open an issue on our GitHub repository.

If you want to contribute to the code, please fork the repository and open a pull request. We will review your changes and merge them if they are relevant to the library.

# Clone the repository
git clone https://github.com/<your_fork_username>/mistral-common.git
cd mistral-common

# Create a virtual environment and install the dependencies
uv venv
source .venv/bin/activate
uv sync --frozen --all-extras --group dev # --group docs if you want to build the documentation

# Install the pre-commit hooks
uv run pre-commit install

License

This library is licensed under the Apache 2.0 License. See the LICENCE file for more information.