Skip to content

Commit

Permalink
add bsd 3 license
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Dec 18, 2019
1 parent a8a71cd commit b27fe2e
Show file tree
Hide file tree
Showing 14 changed files with 131 additions and 0 deletions.
28 changes: 28 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright (c) 2016, Wolf Vollprecht
Copyright (c) 2016, QuantStack
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,9 @@ import jupyros

If you got the following error when you run a cell ```failed to display Jupyter Widget of type VBox```,
you can solve it by running the following command ```jupyter nbextension enable --py --sys-prefix widgetsnbextension```

## License

We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.

This software is licensed under the BSD-3-Clause license. See the LICENSE file for details.
9 changes: 9 additions & 0 deletions js/lib/embed.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Wolf Vollprecht, QuantStack //
// //
// Distributed under the terms of the BSD 3-Clause License. //
// //
// The full license is in the file LICENSE, distributed with this software. //
///////////////////////////////////////////////////////////////////////////////


// Entry point for the unpkg bundle containing custom model definitions.
//
// It differs from the notebook bundle in that it does not need to define a
Expand Down
8 changes: 8 additions & 0 deletions js/lib/extension.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Wolf Vollprecht, QuantStack //
// //
// Distributed under the terms of the BSD 3-Clause License. //
// //
// The full license is in the file LICENSE, distributed with this software. //
///////////////////////////////////////////////////////////////////////////////

// This file contains the javascript that is run when the notebook is loaded.
// It contains some requirejs configuration and the `load_ipython_extension`
// which is required for any notebook extension.
Expand Down
8 changes: 8 additions & 0 deletions js/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Wolf Vollprecht, QuantStack //
// //
// Distributed under the terms of the BSD 3-Clause License. //
// //
// The full license is in the file LICENSE, distributed with this software. //
///////////////////////////////////////////////////////////////////////////////

// Export widget models and views, and the npm package version number.
module.exports = require('./jupyter-ros.js');
module.exports['version'] = require('../package.json').version;
8 changes: 8 additions & 0 deletions js/lib/jupyter-ros.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Wolf Vollprecht, QuantStack //
// //
// Distributed under the terms of the BSD 3-Clause License. //
// //
// The full license is in the file LICENSE, distributed with this software. //
///////////////////////////////////////////////////////////////////////////////

window.ws = window.WebSocket;
var widgets = require('@jupyter-widgets/base');
var _ = require('lodash');
Expand Down
8 changes: 8 additions & 0 deletions js/lib/labplugin.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Wolf Vollprecht, QuantStack //
// //
// Distributed under the terms of the BSD 3-Clause License. //
// //
// The full license is in the file LICENSE, distributed with this software. //
///////////////////////////////////////////////////////////////////////////////

var index_module = require('./index.js');
var base = require('@jupyter-widgets/base');

Expand Down
8 changes: 8 additions & 0 deletions jupyros/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#############################################################################
# Copyright (c) Wolf Vollprecht, QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
#############################################################################

from ._version import version_info, __version__

from .ros_widgets import *
Expand Down
8 changes: 8 additions & 0 deletions jupyros/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#############################################################################
# Copyright (c) Wolf Vollprecht, QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
#############################################################################

version_info = (0, 2, 2, 'final', 0)

_specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''}
Expand Down
8 changes: 8 additions & 0 deletions jupyros/ipy.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#############################################################################
# Copyright (c) Wolf Vollprecht, QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
#############################################################################

from IPython import get_ipython
from IPython.core.magic import register_line_magic, register_cell_magic, register_line_cell_magic
from threading import Thread
Expand Down
8 changes: 8 additions & 0 deletions jupyros/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#############################################################################
# Copyright (c) Wolf Vollprecht, QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
#############################################################################

from __future__ import print_function

import threading
Expand Down
8 changes: 8 additions & 0 deletions jupyros/ros3d.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#############################################################################
# Copyright (c) Wolf Vollprecht, QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
#############################################################################

import os

import ipywidgets as widgets
Expand Down
8 changes: 8 additions & 0 deletions jupyros/ros_widgets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#############################################################################
# Copyright (c) Wolf Vollprecht, QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
#############################################################################

try:
import rospy
except:
Expand Down
8 changes: 8 additions & 0 deletions jupyros/server_extension.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#############################################################################
# Copyright (c) Wolf Vollprecht, QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
#############################################################################

from notebook.utils import url_path_join
from notebook.base.handlers import IPythonHandler
from jupyros import _version
Expand Down

0 comments on commit b27fe2e

Please sign in to comment.