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.0.9.tar.gz (738.3 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.0.9-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: frogml-2.0.9.tar.gz
  • Upload date:
  • Size: 738.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.25 Linux/6.12.64-87.122.amzn2023.x86_64

File hashes

Hashes for frogml-2.0.9.tar.gz
Algorithm Hash digest
SHA256 b0f07522cdbb876fb416bbc7d0799a1ed0dcd41d5f7a54a503134b391dbd0896
MD5 a4ca5f982671ddc2d909e2f0f028af49
BLAKE2b-256 d0c35f1671a75e501c56eb4b9192342a19a11b5b52d2e21e44069c8c395fa07d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: frogml-2.0.9-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.64-87.122.amzn2023.x86_64

File hashes

Hashes for frogml-2.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d21a7119a3f6b6198319e400e3a653561447437ff8a42fd3d5e13d10fe272973
MD5 0f7c75ac1398fabd11d35eef8af4bdc5
BLAKE2b-256 e588e971baa642e46fd4d2f8f62626edc6d13fab38c04224e1db36d4f144cbac

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