A multi-cloud framework for big data analytics and embarrassingly parallel jobs, that provides an universal API for building parallel applications in the cloud ☁️🚀
Lithops is a Python multi-cloud distributed computing framework. It allows you to run unmodified local python code at massive scale in the main
serverless computing platforms. Lithops delivers the user’s code into the cloud without requiring knowledge of how it is deployed and run. Moreover, its multicloud-agnostic architecture ensures portability across cloud providers.
Lithops is specially suited for highly-parallel programs with little or no need for communication between processes, but it also supports parallel applications that need to share state among processes. Examples of applications that run with Lithops include Monte Carlo simulations, deep learning and machine learning processes, metabolomics computations, and geospatial analytics, to name a few.
Install Lithops from the PyPi repository:
pip install lithops
Execute a Hello World function:
lithops hello
Lithops provides an extensible backend architecture (compute, storage) that is designed to work with different Cloud providers and on-premise backends. In this sense, you can code in python and run it unmodified in IBM Cloud, AWS, Azure, Google Cloud, Aliyun and Kubernetes or OpenShift.
Follow these instructions to configure your compute and storage backends
Lithops is shipped with 2 different high-level Compute APIs, and 2 high-level Storage APIs
|
|
|
|
You can find more usage examples in the examples folder.
Lithops is shipped with 3 different modes of execution. The execution mode allows you to decide where and how the functions are executed.
This mode allows you to execute functions on the local machine using processes, providing a convenient way to leverage Lithops’ distributed computing capabilities without relying on cloud resources. This mode is particularly useful for development, testing, and debugging purposes. This is the default mode of execution if no configuration is provided.
This mode allows you to execute functions on popular serverless compute services, leveraging the scalability, isolation, and automatic resource provisioning provided by these platforms. With serverless mode, you can easily parallelize task execution, harness the elastic nature of serverless environments, and simplify the development and deployment of scalable data processing workloads and parallel applications.
This mode provides the capability to execute functions on one or multiple virtual machines (VMs) simultaneously, in a serverless-like fashion, without requiring manual provisioning as everything is automatically created. This mode can be used in a private cluster or in the cloud, where functions within each VM are executed using parallel processes.
For documentation on using Lithops, see latest release documentation or current github docs.
If you are interested in contributing, see CONTRIBUTING.md.
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 825184 (CloudButton).