Skip to main content

Interactive tool for generation of lithops configuration

Project description

Tool to generate Lithops configuration file

Lithopscloud is a CLI tool that greatly simplifies user experience by generating Lithops and Ray configuration files.

Setup

Install lithopscloud from pip repository

    pip install lithopscloud

Usage

Use the configuration tool as follows

    lithopscloud [--iam-api-key IAM_API_KEY] [-i INPUT_FILE] [-o OUTPUT_PATH] [--verify_config CONFIG_FILE_PATH] [--version]

Get a short description of the available flags via lithopscloud --help

Flags Detailed Description

[//]: <> ( is used in the following table to create spacing)

Key Default Mandatory Additional info
iam-api-key yes IBM Cloud API key. To generate a new API Key, adhere to the following guide
input-file <compute_backend>/defaults.py no Existing config file to be used as a template in the configuration process
output-path A randomly generated path to a randomly named yaml file no A custom location the config file will be written to
verify-config no Verifies the integrity of an existing config file, by using it to execute a test function. Akin to running lithops test -c CONFIG_FILE_PATH
version no Returns lithopscloud's package version

Supported backends:

Standalone Compute Backends

Serverless Compute Backends

Storage Backends

  • Gen2/Lithops
  • Gen2/Ray
  • Local Host
  • IBM Cloud Functions
  • IBM Code Engine
  • IBM Cloud Object Storage

##For Contributors

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.0b62.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

lithopscloud-1.0.0b62-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lithopscloud-1.0.0b62.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 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.0b62.tar.gz
Algorithm Hash digest
SHA256 440b7c78c11dde7ee7fea85c878aae58bf1d7445ab6ad02f858db910476cb9d9
MD5 2b991f2ec6582a17058027f0b7cce84b
BLAKE2b-256 8f1ecf8ecb157f5a119d6eabf5455ececb8cf50d47132cee263f2e79372d9169

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lithopscloud-1.0.0b62-py3-none-any.whl
  • Upload date:
  • Size: 45.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 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.0b62-py3-none-any.whl
Algorithm Hash digest
SHA256 ca96cdee84232f56813636825f0fc4240fdd3aa2e776b337556b8e97871c2a9d
MD5 ce1677717be74b3f98a6617f382ed2cd
BLAKE2b-256 234886a12bb18504a2ffae087f7778c59fd1e1f41a7a96951795364839a7897d

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