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" )
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.