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-2.1.6.tar.gz (739.4 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: frogml-2.1.6.tar.gz
  • Upload date:
  • Size: 739.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.25 Linux/6.12.66-88.122.amzn2023.x86_64

File hashes

Hashes for frogml-2.1.6.tar.gz
Algorithm Hash digest
SHA256 06873c7d80abed3c168338424de8a927c559582e39faa9c9977edfd285e9a064
MD5 fe204ffd5bc82757a062bbf3177acaeb
BLAKE2b-256 3e812d5ef158f3bb75920dfb493fd3956806df02a534afe4336c63e257773bdf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: frogml-2.1.6-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.12.66-88.122.amzn2023.x86_64

File hashes

Hashes for frogml-2.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cc9317bc0efc372f73edfb22e649beb2f0cdc7cc2d260eb40ac1f147b65a5784
MD5 ea2983f4998050e674fe08c02a6317f4
BLAKE2b-256 fd5f1ee484aad5534c0ad095edfe706f7e3433ca37d3e16e148ab4fc5202d774

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