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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vessl-0.1.184.tar.gz
  • Upload date:
  • Size: 793.0 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.184.tar.gz
Algorithm Hash digest
SHA256 0018cf7aeec1cadabf103346a427058ac8c507b3abf002512d6c3dd1b2d27311
MD5 178a5f563a3e7c1a98b4cfdba1945054
BLAKE2b-256 210b8a28c5f88405fb4c83d8f7a201bd3a5d4abcadf1c91138570a77b88b857b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vessl-0.1.184-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.184-py3-none-any.whl
Algorithm Hash digest
SHA256 685150dc4e9d93b52a45460a981a7daf0010fa576c4ae9cdbac72f5537a9d7f0
MD5 4b4f5df5fa8d98136fa3e53b3df28d2e
BLAKE2b-256 8e7879fe3074a25cc82dfeb18e37b79b7085bf95031925c36c62508e6d36fe28

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