Overview

Overview

This is a Python package for developing applications that can run code in the cloud using the API of sourceLair.

Reading the Docs

Don't forget to read the docs before using the SDK!

Using the SDK

The Python SDK of sourceLair is fast and intuitive, but it needs a couple of steps to be done, before it is used.

Creating a sourceLair App

The first thing to be done is creating an account at http://dev.sourcelair.com and then create an App. By creating an App you can will get the API key that you will use.

sl.py

The next thing to be done is put the file sl.py into the directory of your project. Now you are ready to go.

Example

import sl
MyApp = sl.App( "MyAPIKey" )
result = MyApp.run( "puts 'Hello'" , "ruby" )