Skip to main content

SDK and CLI for VESSL

Project description

vessl

This package serves as both CLI for your terminal and SDK for your projects.

Documentation is provided at https://docs.vessl.ai/api-reference/what-is-the-vessl-cli-sdk.

Install

Currently VESSL CLI/SDK is available through PyPI only.

pip install vessl

VESSL CLI

VESSL Command Line Interface is a convenient tool to access VESSL resources from your terminals.

Refer to VESSL CLI Docs for details.

Configure VESSL CLI

First, configure VESSL CLI with your account and set default organization / project.

> vessl configure
Please grant CLI access from the URL below.
https://vessl.ai/cli/grant-access?token=abcdxyz
Waiting...
[?] Default project: ...
Welcome, VESSL!

Check configuration

Below command will display current configuration for VESSL CLI.

> vessl whoami
Username: VESSL
Email: vessl@vessl.ai
Default organization: my-default-organization
Default project: my-default-project

VESSL SDK

VESSL Software Development Kit is a python library that allows easy access to VESSL resources in your python programs and scripts.

Refer to VESSL SDK Docs for details.

import vessl

vessl.init(organization_name="my-organization")
vessl.create_experiment(...)

Keras

  • Use ExperimentCallback
import vessl
from vessl.integration.keras import ExperimentCallback

vessl.init()

# Keras training code
model = Model()
model.compile(...)

# Add integration
model.fit(x, y, epochs=5, callbacks=[ExperimentCallback()])
  • Run experiment on VESSL using Web UI or SDK

Misc.

For M1

docker context create remote --docker "host=ssh://ec2-user@10.110.3.24"
docker context use remote
docker build . -t vessl-python-sdk
docker run vessl-python-sdk

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

vessl-0.1.185.tar.gz (793.2 kB view details)

Uploaded Source

Built Distribution

vessl-0.1.185-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file vessl-0.1.185.tar.gz.

File metadata

  • Download URL: vessl-0.1.185.tar.gz
  • Upload date:
  • Size: 793.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.20 Linux/5.15.0-1057-aws

File hashes

Hashes for vessl-0.1.185.tar.gz
Algorithm Hash digest
SHA256 39d3828e993b129f48c9ffc1e4f4e30ce7475c96b010c5c9a3078bdd73c72e9a
MD5 b206fe3794b6f14911b6ada5678ac06b
BLAKE2b-256 41cb792be22e2802a7e7faf0865bcf071e2e350c97236c55f73ebb537545e1fc

See more details on using hashes here.

File details

Details for the file vessl-0.1.185-py3-none-any.whl.

File metadata

  • Download URL: vessl-0.1.185-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.20 Linux/5.15.0-1057-aws

File hashes

Hashes for vessl-0.1.185-py3-none-any.whl
Algorithm Hash digest
SHA256 fbcaaeedf5508efd97c10bf5dcc3af316e47ae7b2b7cbcac76154c172e6f25ed
MD5 7274f0ed552150859b50f73dd7b9dbd7
BLAKE2b-256 859ebd9306722b023f2a73026060c3849e0d638128e27ab6791ef7ba7fb85058

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page