Giter Site home page Giter Site logo

jfach / beakerx_demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leetz/beakerx_demo

0.0 2.0 0.0 39.53 MB

License: Apache License 2.0

Python 2.87% CSS 0.74% JavaScript 21.86% HTML 0.17% Shell 0.10% Java 71.60% ANTLR 1.42% C++ 0.30% Scala 0.95%

beakerx_demo's Introduction

BeakerX: Beaker extensions for Jupyter

Build Status Gitter chat Release NPM version PyPI Version

BeakerX is a collection of JVM kernels with widgets, plotting, tables, autotranslation, and other extensions to the Jupyter Notebook and Jupyter Lab. BeakerX is in alpha, with major features still under development, including incompatible changes without notice.

The documentation consists of tutorial notebooks on GitHub.

BeakerX is the successor to the Beaker Notebook (source code archive).

Install

Using pip:

pip install beakerx
beakerx-install

Developer Install

Dependencies:

Install

conda create -y -n beakerx python=3.5 jupyter openjdk nodejs pandas
source activate beakerx
(cd beakerx; pip install -e . --verbose)
beakerx-install

Update after Java change

The kernels are installed to run out of the repo, so just a local build should suffice:

(cd kernel; ./gradlew build)

Update after JS change

The notebook extensions are installed to run out of the repo, so just a local build should suffice:

(cd beakerx/js; yarn install)

Beaker Notebooks Converter

You can convert classic Beaker Notebook files (with file suffix ".bkr") to Jupyter Notebooks (with file suffix ".ipynb") as follows:

python -m beakerx.bkr2ipynb *.bkr

Groovy with Interactive Plotting and Tables:

screen shot

Autotranslation from Python to JavaScript

screen shot

Running with Docker

From project root:

(cd kernel; gradle clean)

To build beakerx base image execute

docker build -t beakerx-base -f docker/base/Dockerfile .

To build beakerx image execute

docker build -t beakerx -f docker/Dockerfile .

Now if you would like to start BeakerX execute

docker run -p 8888:8888 beakerx

Contributing

We welcome developers to extend and improve BeakerX in ways that can benefit everyone. In order for us to accept your code or pull request, we need for you to fill out and email back to us a scan of a signed copy of the Contributor License Agreement.

BeakerX uses Google Java style, and all Java code needs unit tests. For JavaScript we use Google JS style with require instead of goog.

Attribution

Beaker contains and depends on many projects including:

The kernel is originally derived from lappsgrid, but has been rewritten in Java and refactored and expanded.

The Java support uses Adrian Witas' org.abstractmeta.toolbox.

ANTLR Copyright (c) 2012 Terence Parr and Sam Harwell

d3 Copyright (c) 2010-2015, Michael Bostock

IPython Copyright (c) 2008-2014, IPython Development Team Copyright (c) 2001-2007, Fernando Perez Copyright (c) 2001, Janko Hauser Copyright (c) 2001, Nathaniel Gray

Julia Copyright (c) 2009-2015: Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors

Scala Copyright (c) 2002-2015 EPFL Copyright (c) 2011-2015 Typesafe, Inc.

H2 database engine This software contains unmodified binary redistributions for H2 database engine (http://www.h2database.com/), which is dual licensed and available under the MPL 2.0 (Mozilla Public License) or under the EPL 1.0 (Eclipse Public License). An original copy of the license agreement can be found at: http://www.h2database.com/html/license.html

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.