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
- implement config_builder.py interface
- add your implementation under provider package
- add reference to your implementation in the list of exported modules, e.g. lithops modules
If the new configuration is common for multiple providers
- implement config_builder.py interface to hold common logic
- add your implementation to modules package
- 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.0b47.tar.gz
(24.8 kB
view details)
Built Distribution
File details
Details for the file lithopscloud-1.0.0b47.tar.gz
.
File metadata
- Download URL: lithopscloud-1.0.0b47.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.7.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14e12463d5696a9b359e9348ddb0d352e3adb0eaf9389e6424bde514156781be |
|
MD5 | c437d0ffc38a108ef71648176f56980b |
|
BLAKE2b-256 | 3b5c57331ce1d4d8812f1584d5757a8cdcf2ff3440e204ab626c7bc42c9a514a |
File details
Details for the file lithopscloud-1.0.0b47-py3-none-any.whl
.
File metadata
- Download URL: lithopscloud-1.0.0b47-py3-none-any.whl
- Upload date:
- Size: 37.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.7.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66f8cfa3a32312675a3b2f407ba1b796afd4b828263766e8a809525d31d80fb |
|
MD5 | 273ea09450eae8d226e8035ed67578e0 |
|
BLAKE2b-256 | a8bf170ce250ac550e6e5b3199bf25420324d3c1731fa8582316e066e368d630 |