Skip to main content

Sorna meta-package

Project description

Sorna (“Software on Remote Networking Appliances”) is a distributed back-end computation service with highly abstracted API. Unlike AWS Lambda, it provides a preset of kernel images representing various programming environments and allows users to execute their code snippets without a cumbersome packaging process. All sub-projects are licensed under LGPLv3+.

Server-side Components

Sorna Manager / API Gateway

It routes external API requests from front-end services to agent instances by checking the instance registry.

Sorna Agent

It manages individual EC2 instances and launches/destroyes Docker containers where REPL daemons (kernels) run. Each agent on a new EC2 instance self-registers itself to the instance registry via heartbeats.

Sorna REPL

A set of small ZMQ-based REPL daemons in various programming languages and configurations. It also includes a sandbox implemented using ptrace-based sytem call filtering written in Go.

Sorna Common

A collection of utility modules commonly shared throughout Sorna projects, such as logging and messaging protocols.

Client-side Components

Sorna Client

A client library to access the Sorna API servers with ease.

Sorna Jupyter Kernel

Jupyter kernel integration of the Sorna Cloud API.

Sorna Media

The front-end support libraries to handle multi-media outputs (e.g., SVG plots, animated vector graphics)

  • The Python package (sorna) is installed inside kernel containers.
  • To interpret and display media generated by the Python package, you need to load the Javascript part in the front-end.


The Sorna project uses latest features in Python 3.5+ and docker. We highly recommend to use pyenv to use an isolated setup with custom Python versions that might not be supported by your

First, install Docker on your system. We have tested Sorna on Linux/Ubuntu and macOS (“Docker for Mac”).

For a single PC setup, just run pip install sorna. It will automatically install all above sub-projects as well as their dependencies.


git flow

The sorna repositories use git flow to streamline branching during development and deployment. We use the default configuration (master -> preparation for release, develop -> main development, feature/ -> features, etc.) as-is.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sorna, version 0.9.0
Filename, size File type Python version Upload date Hashes
Filename, size sorna-0.9.0-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sorna-0.9.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page