FrogML Library

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

The FrogML library is a powerful new Python tool designed to streamline the Machine Learning (ML) models and associated artifacts stored in JFrog Artifactory. With FrogML, you can upload and download models seamlessly and efficiently.

The FrogML library currently contains a file-based model type, and 6 format-aware model types. The format-aware model types are:

All model types contain the following 3 functions:

  • Upload a model to a Machine Learning repository

  • Download a model from a Machine Learning repository

  • Get model information from a Machine Learning repository

Install FrogML Client

To use Machine Learning Repositories in Artifactory, you need to download the FrogML SDK library client. To get access to the FrogML client, install it with the following command:

pip install frogml

Authenticate FrogML with Environment Variables

To authenticate the FrogML with Artifactory define the following environment variables:

  • JF_URL: Your JFrog platform domain (e.g., http://myorg.jfrog.io)

  • JF_ACCESS_TOKEN: Your Artifactory token for this domain. To generate a token, log in to Artifactory, navigate to your FrogML repository, and click on Set Me Up.

Once these environment variables are set, you can start using FrogML.