Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

threefoldtecharchive/jumpscale9_core

 
 

Repository files navigation

Build Status codecov

Jumpscale

Jumpscale is a cloud automation product and a branch from what used to be Pylabs. About 9 years ago Pylabs was the basis of a cloud automation product which was acquired by SUN Microsystems from Q-Layer. In the mean time we are 4 versions further and we have rebranded it to Jumpscale.

REMARK: lots of changes have recently being done see changes.md

About Jumpscale Core

The core module provides the bare framework into which other modules of Jumpscale plug into.

Of these provided tools are, most notably:

  • Config Manager The config manager is a secure way to manage configuration instances. Anything saved to the file system is NACL encrypted and only decrypted on the fly when accessed.
  • Executors Jumpscale comes with its own executors that abstract working locally or remotely. Of these executors:

    • SSH Executor (for remote execution)
    • Local Executor (for local execution)
    • Docker Executor (for executing on dockers)

Installing Jumpscale Core (NEW, need to test!!!)

tested on osx, ubuntu 16.04, ubuntu 17.04 (will upgrade brew as part of the process on OSX)

install

curl https://raw.githubusercontent.com/threefoldtech/jumpscale_core/development/install.sh?$RANDOM > /tmp/install_jumpscale.sh;bash /tmp/install_jumpscale.sh
#to define branch:
export JUMPSCALEBRANCH="development"
curl https://raw.githubusercontent.com/threefoldtech/jumpscale_core/$JUMPSCALEBRANCH/install.sh?$RANDOM > /tmp/install_jumpscale.sh;bash /tmp/install_jumpscale.sh

to follow the install

tail -f /tmp/jumpscale_install.log

to test that it worked:

js_shell

Install using pip3

mkdir -p /opt/code/github/threefoldtech/jumpscale_core
pip3 install -e git+https://github.com/threefoldtech/jumpscale_core@development#egg=core --src /opt/code/github/threefoldtech/jumpscale_core

Usage

  • The jsshell in your terminal, type js_shell
  • In Python

    python3 -c 'from jumpscale import j;print(j.application.getMemoryUsage())'

    the default mem usage < 23 MB and lazy loading of the modules.

Tutorials

How to run a sandbox of jumpscale and python Check Documentation

Repository Owners:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.8%
  • Lua 2.5%
  • Shell 1.1%
  • Cap'n Proto 0.6%