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
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:
- 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, e.g. image.py:
- 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.0b42.tar.gz
(24.8 kB
view details)
Built Distribution
File details
Details for the file lithopscloud-1.0.0b42.tar.gz
.
File metadata
- Download URL: lithopscloud-1.0.0b42.tar.gz
- Upload date:
- Size: 24.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82d921ecd4e1406f6be14e14b8d6408aa411f3c2ae818d9a5dcc6408744a8c0c |
|
MD5 | 47fb91a8708a2905a652dd2b2281bad4 |
|
BLAKE2b-256 | 56c1820c1f1377c0b5f440c47741ec09c801aad3e1cd5575cb56aa1d514cdcab |
File details
Details for the file lithopscloud-1.0.0b42-py3-none-any.whl
.
File metadata
- Download URL: lithopscloud-1.0.0b42-py3-none-any.whl
- Upload date:
- Size: 33.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f29d2b8aeec78c980e003cec94a96decb414051eaee80b9d0f8bef2725bac0 |
|
MD5 | d831a4df97613a5f777ab9e7299a47a5 |
|
BLAKE2b-256 | b1c81ba4d16d5a7307acb6d0bfe643030744c797af06460ebe442b58d9b9737b |