Giter Site home page Giter Site logo

omerb01 / pywren-ibm-cloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lithops-cloud/lithops

0.0 1.0 0.0 4.51 MB

PyWren for IBM Cloud Functions and IBM Cloud Object Storage

License: Apache License 2.0

Python 99.43% Dockerfile 0.41% Slim 0.17%

pywren-ibm-cloud's Introduction

Lithops

Lithops framework is a rebranded PyWren-IBM framework. Lithops goals are massively scaling the execution of Python code and its dependencies on serverless computing platforms and monitoring the results. Lithops delivers the user’s code into the serverless platform without requiring knowledge of how functions are invoked and run.

Lithops provides great value for the variety of uses cases, like processing data in object storage, running embarrassingly parallel compute jobs (e.g. Monte-Carlo simulations), enriching data with additional attributes and many more. In extending Lithops to work with object storage, we also added a partition discovery component that allows Lithops to process large amounts of data stored in the object storage. See changelog for more details.

Lithops and IBM Cloud

Lithops is officially supported for IBM Cloud and Red Hat OpenShift. Students or academic stuff are welcome to follow IBM Academic Initiative, a special program that allows free trial of IBM Cloud for Academic institutions. This program is provided for students and faculty staff members, and allow up to 12 months of free usage. You can register your university email and get a free of charge account.

Lithops for broad scope

Lithops provides an extensible backend architecture (compute, storage) that is designed to work with different Cloud providers and on-premise backends (Knative, OpenShift). You can code in Lithops and run it unmodified in IBM Cloud, AWS, Azure, Google or Alibaba. Technical support for clouds different than IBM are delegated to best efforts from the open source community.

Quick Start

  1. Install Lithops from the PyPi repository:

    $ pip install lithops
  2. Follow these instructions to configure your compute and storage backends

  3. Test Lithops by simply running the next command:

     $ lithops test

    or by running the next code:

    import lithops
    
    def hello(name):
        return 'Hello {}!'.format(name)
    
    fexec = lithops.function_executor()
    fexec.call_async(hello, 'World')
    print(fexec.get_result())

Additional information and examples

How to contribute code

Follow guidance how to contribute code to the project

Additional resources

Acknowledgements

image

This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 825184.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.