Skip to main content

Interactive tool for lithops configuration lithops

Project description

Tool to generate Lithops configuration file

Lithopscloud is a CLI tool that greatly simplifies user experience to generate Lithops and Ray configuration file.

Setup

Install lithopscloud from pip repository

pip install lithopscloud

Use your existing IBM Cloud an API key or generate new API Key as described here

Usage

Use tool as follows

lithopscloud --iam-api-key IAM_API_KEY --format lithops --output-file lithops_config.yaml

Configure Lithops to use generated configuration file

export LITHOPS_CONFIG_FILE=lithops_config.yaml

Current version supports Lithops with IBM COS and Gen2 backend. It also supports Ray-Gen2 configuration.

How to add new unsupported sections to config file

If the new configuration is provider specific

  1. implement config_builder.py interface
  2. add your implementation under provider package
  3. add reference to your implementation in the list of exported modules, e.g. lithops modules

If the new configuration is common for multiple providers

  1. implement config_builder.py interface to hold common logic
  2. add your implementation to modules package
  3. extend your common implementation under each provider package, e.g. lithops image.py and ray image.py to have config file specific logic

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

lithopscloud-1.0.0b44.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

lithopscloud-1.0.0b44-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

Details for the file lithopscloud-1.0.0b44.tar.gz.

File metadata

  • Download URL: lithopscloud-1.0.0b44.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3

File hashes

Hashes for lithopscloud-1.0.0b44.tar.gz
Algorithm Hash digest
SHA256 4f9075ffd7b79bc94b2c81b038b03a63292740d3d53710e1f9e0fd086d06cbec
MD5 3dad2f7b830a7878c768f5125f541439
BLAKE2b-256 32e2a03da92cc2c81d356c6b3440bfa4d2d49cc196bf7765d2f7a4a813ce2493

See more details on using hashes here.

File details

Details for the file lithopscloud-1.0.0b44-py3-none-any.whl.

File metadata

  • Download URL: lithopscloud-1.0.0b44-py3-none-any.whl
  • Upload date:
  • Size: 33.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3

File hashes

Hashes for lithopscloud-1.0.0b44-py3-none-any.whl
Algorithm Hash digest
SHA256 6d7f28ccfc1c6debc87f042822ee37e13c99a993adba3b6e0c7f65a1ab6136fb
MD5 f20ef3b915f732d1174bdd8aaa100d0c
BLAKE2b-256 d3d8d8342de91ca5fd38a98ca5751de1adc23dad6722033ea6e24a79ef88f256

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