Skip to main content

python-mlboardclient

Pypi

Python lib for interacting ml-board component.

Installation

From PyPi

pip install python-mlboardclient

From github (fresh master branch)

pip install 'git+https://github.com/kuberlab/python-mlboardclient.git'

Usage

from mlboardclient.api import client

# Default url is http://mlboard-v2.kuberlab:8082/api/v2
# No need to pass any url if instantiate client from ml-project (Jupyter/Task)
ml = client.Client()
apps = ml.apps.list()
[<mlboardclient.api.v2.apps.App object at 0x7f0b554b5f90>]

app = apps[0]
# Get tasks from config
app.tasks
[<Task name=model build=None status=undefined>]

task = app.tasks[0]

# Run & wait task
task.run()
<Task name=model build=4 status=Succeeded>

# Get tasks from API
app.get_tasks()
[<Task name=model build=1 status=Failed>, <Task name=model build=2 status=Failed>,
<Task name=model build=3 status=Failed>, <Task name=model build=4 status=Succeeded>]

Model upload

    ml.model_upload('my-model', '1.0.0', '/model/dir')
    # If the model uploading is not executing in scope of project task,
    # need to specify workspace_name and project_name explicitly:
    ml.model_upload(
        'my-model',
        '1.0.0',
        '/model/dir',
        workspace_name='demo',
        project_name='test-project
    )

    # Wait until model is being uploaded.

Metadata

Release files for python-mlboardclient 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for python-mlboardclient 1.2.0
File Interpreter ABI Platform Actions
python_mlboardclient-1.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for python_mlboardclient-1.2.0-py2.py3-none-any.whl

Release files / python_mlboardclient-1.2.0-py2.py3-none-any.whl

Download URL python_mlboardclient-1.2.0-py2.py3-none-any.whl
Size 54.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
37fae8210a63e61db6548316e5db45baed0aaa0ffe86ac94ea0589d0e6a296ca
BLAKE2b-256 checksum
How to use checksums
bfa226bb37e626ae72254fc74c83ba34b0e5de30bc0cd6da913c9801e91fe2fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5rc1

Security for python-mlboardclient 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page