Skip to main content

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

Metadata

Release files for modeltoolbox-provider 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for modeltoolbox-provider 0.2.5
File Size Uploaded Provenance Actions
modeltoolbox_provider-0.2.5.tar.gz 10.7 kB Without provenance Details for modeltoolbox_provider-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for modeltoolbox-provider 0.2.5
File Interpreter ABI Platform Actions
modeltoolbox_provider-0.2.5-py3-none-any.whl Python 3 none any Details for modeltoolbox_provider-0.2.5-py3-none-any.whl

Total release size: 24.2 kB

Release files / modeltoolbox_provider-0.2.5.tar.gz

Download URL modeltoolbox_provider-0.2.5.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
937be1fe24a99ebcbc80053830cc1544cee9d9754d6230154c6077bf4997bd8b
BLAKE2b-256 checksum
How to use checksums
c6feac3b6cf9e54c7b90c1ffd3d1f6a5c030a9d09b7d5ac0740dd736d506b6e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / modeltoolbox_provider-0.2.5-py3-none-any.whl

Download URL modeltoolbox_provider-0.2.5-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa20743d405ce3aa585aab9060d379446e04d94ec3a6a9375a78db91484c9107
BLAKE2b-256 checksum
How to use checksums
900f507eda51e680a3fc3c4ac4b9f3fd62b62f6697dcda17256b7ccd2c7330a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for modeltoolbox-provider 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page