Skip to main content

frogml contains the necessary objects and communication tools for using the JFrog ml Platform

Project description

Frogml

Frogml is an end-to-end production ML platform designed to allow data scientists to build, deploy, and monitor their models in production with minimal engineering friction. Frogml Core contains all the objects and tools necessary to use the Frogml Platform

Table of contents:

Overview

JFrog ML Storage is a smart python client library providing a simple and efficient method of storing and downloading models, model data and datasets from the JFrog platform, utilizing the advanced capabilities of the JFrog platform.

Working with Artifactory

FrogML Storage Library support is available from Artifactory version 7.84.x.

To be able to use FrogML Storage with Artifactory, you should authenticate the frogml storage client against Artifactory. JFrog implements a credentials provider chain. It sequentially checks each place where you can set the credentials to authenticate with FrogML, and then selects the first one you set.

Upload ML model to Artifactory

You can upload a model to a FrogML repository using the upload_model_version() function. You can upload a single file or an entire folder. This function uses checksum upload, assigning a SHA2 value to each model for retrieval from storage. If the binary content cannot be reused, the smart upload mechanism performs regular upload instead. After uploading the model, FrogML generates a file named model-info.json which contains the model name and its related files and dependencies.

The version parameter is optional. If not specified, Artifactory will set the version as the timestamp of the time you uploaded the model in your time zone, in UTC format: yyyy-MM-dd-HH-mm-ss. Additionally, you can add properties to the model in Artifactory to categorize and label it. The function upload_model_version returns an instance of FrogMlModelVersion, which includes the model's name, version, and namespace.

Local Development Setup

To install FrogML locally with development dependencies, you must authenticate with Repo21 (a private JFrog repository) to fetch the QwakBentoML dependency.

1. Generate Credentials

  1. Log in to Repo 21 via JFrog Okta.
  2. Go to User Profile (top right) → Set Me Up.
  3. Select PyPI and choose the repository artifactory-pypi-virtual.
  4. Click Generate Token & Create Instructions. Your username and token will be displayed there.

2. Configure Poetry

Choose one of the following methods to authenticate:

Option A: Global Configuration

Run the following command to persist your credentials:

poetry config http-basic.jfrog <your_username> <your_token>

Option B: Environment Variables

Export the credentials as environment variables:

export POETRY_HTTP_BASIC_JFROG_USERNAME=<your_username>
export POETRY_HTTP_BASIC_JFROG_PASSWORD=<your_token>

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

frogml-1.2.31.tar.gz (714.5 kB view details)

Uploaded Source

Built Distribution

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

frogml-1.2.31-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file frogml-1.2.31.tar.gz.

File metadata

  • Download URL: frogml-1.2.31.tar.gz
  • Upload date:
  • Size: 714.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.25 Linux/6.1.158-180.294.amzn2023.x86_64

File hashes

Hashes for frogml-1.2.31.tar.gz
Algorithm Hash digest
SHA256 5a34b2574d313b4ca0b82d69159b9eee8e245e270c77325bcddb83266d175b1b
MD5 9bb6703425eee38df155fdebe2883b67
BLAKE2b-256 422f1a96a4747d1280b25083bf46c989e4a6268edd10e9bdf6bf77316375155e

See more details on using hashes here.

File details

Details for the file frogml-1.2.31-py3-none-any.whl.

File metadata

  • Download URL: frogml-1.2.31-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.25 Linux/6.1.158-180.294.amzn2023.x86_64

File hashes

Hashes for frogml-1.2.31-py3-none-any.whl
Algorithm Hash digest
SHA256 48c2928e9413461b102b21a10b2b55d26221d74d8cc1c92d36211f780941e69f
MD5 21bee9147394e35a0657321d7f477b11
BLAKE2b-256 659f992a7f4c967e466012a702810a5c8e84d6e8f23e27e9e20050dada2cbcf5

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