Port details on branch 2024Q3 |
- py-litellm Call all LLM APIs using the OpenAI format
- 1.74.8 misc
=2 1.73.2Version of this port present on the latest quarterly branch. - Maintainer: tagattie@FreeBSD.org
 - Port Added: 2024-02-12 08:36:10
- Last Update: 2025-07-25 08:17:34
- Commit Hash: 46335d7
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/BerriAI/litellm
- Description:
- Call all LLM APIs using the OpenAI format [Bedrock, Huggingface,
VertexAI, TogetherAI, Azure, OpenAI, etc.]
LiteLLM manages:
- Translate inputs to provider's completion, embedding, and
image_generation endpoints
- Consistent output, text responses will always be available at
['choices'][0]['message']['content']
- Retry/fallback logic across multiple deployments (e.g. Azure/OpenAI)
- Router
- Track spend & set budgets per project OpenAI Proxy Server
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}litellm>0:misc/py-litellm@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/misc/py-litellm/ && make install clean
- To add the package, run one of these commands:
- pkg install misc/py-litellm
- pkg install py311-litellm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-litellm listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-litellm
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1753409658
SHA256 (litellm-1.74.8.tar.gz) = 6e0a18aecf62459d465ee6d9a2526fcb33719a595b972500519abe95fe4906e0
SIZE (litellm-1.74.8.tar.gz) = 9639701
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-poetry-core>0 : devel/py-poetry-core@py311
- py311-wheel>0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-httpx>=0.23.0 : www/py-httpx@py311
- py311-openai>=1.68.2 : misc/py-openai@py311
- py311-python-dotenv>=0.2.0 : www/py-python-dotenv@py311
- py311-tiktoken>=0.7.0 : textproc/py-tiktoken@py311
- py311-importlib-metadata>=6.8.0 : devel/py-importlib-metadata@py311
- py311-tokenizers>0 : textproc/py-tokenizers@py311
- py311-click>0 : devel/py-click@py311
- py311-Jinja2>=3.1.2<4.0.0 : devel/py-Jinja2@py311
- py311-aiohttp>=3.10 : www/py-aiohttp@py311
- py311-pydantic2>=2.5.0<3.0.0 : devel/py-pydantic2@py311
- py311-jsonschema>=4.22.0<5.0.0 : devel/py-jsonschema@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- misc/py-aider-chat
Configuration Options:
- ===> The following configuration options are available for py311-litellm-1.74.8:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- misc_py-litellm
- USES:
- python shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|