misc/py-mistral-common 1.12.0
Common utilities for Mistral AI models
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
e0c74e3f45- License
- APACHE20
- Categories
- misc, python
- Package size
- 4072.2 KiB, 37805.5 KiB installed
Description
mistral-common provides common utilities for working with Mistral AI models, including tokenizers, conversation templates, and model-specific utilities. It supports all Mistral AI model families including function calling.
Install
As a binary package — by origin, or by package name:
pkg install misc/py-mistral-common
pkg install py312-mistral-common
From the ports tree:
cd /usr/ports/misc/py-mistral-common/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-mistral-common>0:misc/py-mistral-common
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.12.0 | 1.12.0 | - | - | - |
| FreeBSD:14:quarterly | 1.11.7 | 1.11.7 | n/a | - | - |
| FreeBSD:15:latest | 1.12.0 | 1.12.0 | n/a | - | - |
| FreeBSD:15:quarterly | 1.11.7 | 1.11.7 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | - | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 18
${PYTHON_PKGNAMEPREFIX}jsonschema>=4.21.1: devel/py-jsonschema${PYTHON_PKGNAMEPREFIX}numpy>=1.25: math/py-numpy${PYTHON_PKGNAMEPREFIX}pillow>=10.3.0: graphics/py-pillow${PYTHON_PKGNAMEPREFIX}pydantic2>=2.7: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}pydantic-extra-types>=2.10.5: devel/py-pydantic-extra-types${PYTHON_PKGNAMEPREFIX}requests>=2.0.0: www/py-requests${PYTHON_PKGNAMEPREFIX}tiktoken>=0.7.0: textproc/py-tiktoken${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.11.0: devel/py-typing-extensions${PYTHON_PKGNAMEPREFIX}click>=8.1.0: devel/py-click${PYTHON_PKGNAMEPREFIX}fastapi>=0.118.3: www/py-fastapi${PYTHON_PKGNAMEPREFIX}huggingface-hub>=1.0: misc/py-huggingface-hub${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.0: devel/py-Jinja2${PYTHON_PKGNAMEPREFIX}llguidance>=1.3.0: textproc/py-llguidance${PYTHON_PKGNAMEPREFIX}opencv-python-headless>=4.0.0: graphics/py-opencv-python-headless${PYTHON_PKGNAMEPREFIX}pydantic-settings>=2.9.1: devel/py-pydantic-settings${PYTHON_PKGNAMEPREFIX}sentencepiece>=0.2.0: textproc/py-sentencepiece${PYTHON_PKGNAMEPREFIX}soundfile>=0.12.1: audio/py-SoundFile${PYTHON_PKGNAMEPREFIX}soxr>=0.5.0: audio/py-soxr
Test 11
${PYTHON_PKGNAMEPREFIX}coverage>=7.4.4: devel/py-coverage${PYTHON_PKGNAMEPREFIX}diff-cover>=8.0.3: devel/py-diff-cover${PYTHON_PKGNAMEPREFIX}mypy-protobuf>=3.5.0: devel/py-mypy-protobuf${PYTHON_PKGNAMEPREFIX}mypy>=1.8.0: devel/py-mypy${PYTHON_PKGNAMEPREFIX}openai>=1.84.0: misc/py-openai${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1.0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest>=7.4.4: devel/py-pytest${PYTHON_PKGNAMEPREFIX}ruff>=0.2.2: devel/py-ruff${PYTHON_PKGNAMEPREFIX}types-jsonschema>=4.21.0.20240118: devel/py-types-jsonschema${PYTHON_PKGNAMEPREFIX}types-protobuf>=4.24.0.20240129: devel/py-types-protobuf${PYTHON_PKGNAMEPREFIX}types-requests>=2.32: devel/py-types-requests
The full lists below include those, and their dependencies in turn.
All build dependencies 16
All run dependencies 189
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/flac
- audio/lame
- audio/libogg
- audio/libsndfile
- audio/libvorbis
- audio/mpg123
- audio/opus
- audio/py-SoundFile
- audio/py-soxr
- converters/fribidi
- converters/libiconv
- databases/py-pymongo
- devel/abseil
- devel/binutils
- devel/gettext-runtime
- devel/glib20
- devel/jsoncpp
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/libunistring
- devel/libunwind
- devel/orc
- devel/pcre2
- devel/protobuf
- devel/py-Jinja2
- devel/py-aiosignal
- devel/py-annotated-doc
- devel/py-annotated-types
- devel/py-anyio
- devel/py-async_generator
- devel/py-attrs
- devel/py-babel
- devel/py-cffi
- devel/py-click
- devel/py-cron-converter
- devel/py-frozenlist
- devel/py-jsonschema
- devel/py-jsonschema-specifications
- devel/py-olefile
- devel/py-opentelemetry-api
- devel/py-outcome
- devel/py-packaging
- devel/py-pendulum
- devel/py-phonenumbers
- devel/py-propcache
- devel/py-pycparser
- devel/py-pydantic-core
- devel/py-pydantic-extra-types
- devel/py-pydantic-settings
- devel/py-pydantic2
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-pyyaml
- devel/py-referencing
- devel/py-rpds-py
- devel/py-semver
- devel/py-six
- devel/py-sniffio
- devel/py-sortedcontainers
- devel/py-time-machine
- devel/py-typing-extensions
- devel/py-typing-inspection
- devel/py-tzdata
- devel/readline
- dns/libidn2
- dns/py-dnspython
- dns/py-idna
- filesystems/py-fsspec
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libdrm
- graphics/libimagequant
- graphics/libyuv
- graphics/openjpeg
- graphics/png
- graphics/py-opencv-python-headless
- graphics/py-pillow
- graphics/tiff
- graphics/webp
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
The first 100 are listed.
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mistralai-mistral-common-v1.12.0_GH0.tar.gz | 6.946856e+06 | 03b7416b35134b8883743b2b370ef9671cb45e13603cb62f4a5ba50e71e5c1e3 |