Skip to main content

Provider management for ModelToolbox: runtime and provider switching.

Project description

ModelProvider

Provider management for ModelToolbox: runtime and provider switching.

Features

  • Provider Registry: Manage multiple LLM providers
  • Runtime Switching: Switch between providers at runtime
  • Environment Management: Provider-specific environment configuration
  • Provider Types: Support for OpenAI, Anthropic, Ollama, and custom providers

Installation

pip install modeltoolbox-provider

For development:

pip install -e "ModelProvider[dev]"

Usage

List Providers

mtb provider list

Switch Provider

mtb provider switch openai

Configure Provider

mtb provider config anthropic --api-key sk-...

Development

Run tests:

pytest ModelProvider/tests/

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modeltoolbox_provider-0.2.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modeltoolbox_provider-0.2.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file modeltoolbox_provider-0.2.1.tar.gz.

File metadata

  • Download URL: modeltoolbox_provider-0.2.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for modeltoolbox_provider-0.2.1.tar.gz
Algorithm Hash digest
SHA256 79240a0e876de0953477da01cf26902063addeabc6aad33848afdddc9c381398
MD5 18eec6a8a611419e79872e6ddbf00c62
BLAKE2b-256 0db17b739e9f7b26e14b22f5d737bd117247d1f98fb88f285ff26bdf659225dd

See more details on using hashes here.

File details

Details for the file modeltoolbox_provider-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for modeltoolbox_provider-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33932d809a9a357bb303393dcdc3a782dd5fe4d6b93e9dc743d76f5c8c3b981a
MD5 75effa7277d18c4b1643503d93474d76
BLAKE2b-256 0fead67fc113351972a332dedd260910b614fe6adab8bbc892325cc8440bdf74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page