Skip to main content

Interactive tool for lithops configuration lithops

Project description

lithopscloud provides convinient way to generate configuration files

Use of python virtual environment, e.g. virtualenv is greatly encouraged, to avoid installing Python packages globally which could break system tools or other projects

Install from pip pip install lithopscloud

Generate API KEY

Run example

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

Current version supports basic lithops and ray gen2 provider confguration.

.
├── LICENSE
├── README.md
└── src
    └── lithopscloud
        ├── __init__.py
        ├── __config_builder.py__
        ├── main.py
        └── modules
            ├── __init__.py
            ├── endpoint.py
            ├── image.py
            ├── ssh_key.py
            ├── utils.py
            ├── vpc.py
            ├── lithops
            │   ├── __init__.py
            │   ├── endpoint.py
            │   ├── image.py
            │   ├── defaults.yaml
            │   ├── ssh_key.py
            │   └── vpc.py
            └── ray
                ├── __init__.py
                ├── endpoint.py
                ├── floating_ip.py
                ├── image.py
                ├── defaults.yaml
                ├── ssh_key.py
                ├── vpc.py
                └── workers.py

Need to add new unsupported sections to config file?

If the new configuration is provider uniqueue, e.g. floating_ip.py:

  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, e.g. image.py:

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

Uploaded Source

Built Distribution

lithopscloud-1.0.0b43-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lithopscloud-1.0.0b43.tar.gz
  • Upload date:
  • Size: 24.9 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.0b43.tar.gz
Algorithm Hash digest
SHA256 eefa397f56e24b08b06d97ce4be9c02a3f65fa631cb8bf22768e2dc4680fea80
MD5 f26fecabefd3043e47887d6b52190953
BLAKE2b-256 3cfcbcece10add76532222e493afc4ea78f5a1ac7c02a64b4027bfd9aa9b8706

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lithopscloud-1.0.0b43-py3-none-any.whl
  • Upload date:
  • Size: 34.0 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.0b43-py3-none-any.whl
Algorithm Hash digest
SHA256 93466bea14d73bf1acae89a7476382ee888684ec8594fc2aa8bd01c2fb686576
MD5 1f6d6d34451a7b29fdc00ffa8fe8892c
BLAKE2b-256 3edf8fa9749cb62af6f3b2874d713381297e431cfbf3f5e371e2d550f5ea3ea6

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