API reference
Parameter reference for all methods in the Modelbit Python package.
Authentication
modelbit.login
: Authenticating with Modelbit
Deployments
mb.add_files
: Adding newpkl
files to deploymentsmb.deploy
: Creating and updating Modelbit deploymentsmb.get_dataset
: Fetching datasets and filtering feature storesmb.get_secret
: Fetching a secret stored in Modelbitmb.log_image
: Log images to Modelbit logs
Training jobs
mb.add_job
: Adding and updating training jobs to deploymentsmb.get_job_output
: Fetching the results of successful training jobsmb.run_job
: Start a training job
Model Registry
mb.add_model
: Adds one model to the registrymb.add_models
: Adds multiple models to the registrymb.delete_models
: Remove one or more models from the registrymb.get_model
: Fetches a model from the registrymb.models
: Lists models in the registry
Common files & packages
mb.add_common_files
: Adding common filesmb.add_package
: Uploading local packages as shared code to Modelbitmb.common_files
: Listing common filesmb.delete_common_files
: Deleting common files
Management
mb.datasets
: Listing available datasets and feature storesmb.get_branch
: Get the current git branchmb.get_deployment_info
: Get the name of version of the current deploymentmb.in_modelbit
: Check if this code is running in Modelbit or locallymb.switch_branch
: Change the current git branchmb.warehouses
: List the warehouses connected to Modelbit