Skip to content

Commit

Permalink
Merge pull request #5 from pyviz/pyviz_comms
Browse files Browse the repository at this point in the history
Renamed to pyviz_comms and added Python package
  • Loading branch information
philippjfr authored May 22, 2018
2 parents 03077a7 + 508a343 commit 0d9faa5
Show file tree
Hide file tree
Showing 5 changed files with 523 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
lib/
node_modules/
*.egg-info/
__pycache__
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
# jupyterlab_pyviz
# pyviz_comms

A JupyterLab extension for rendering PyViz content
Offers a simple bidirectional communication architecture for PyViz tools
including support for Jupyter comms in both the classic notebook and
Jupyterlab.

## Prerequisites
There are two installable components in this repository: a Python
component used by various PyViz tools and an extension to enable
Jupyterlab support.

* JupyterLab
## Installing the Jupyterlab extension

## Installation
Jupyterlab users will need to install the Jupyterlab pyviz extension:

```bash
jupyter labextension install @pyviz/jupyterlab_pyviz
```

## Development
## Developing the Jupyterlab extension

For a development install (requires npm version 4 or later), do the following in the repository directory:

Expand All @@ -27,3 +31,8 @@ To rebuild the package and the JupyterLab app:
npm run build
jupyter lab build
```

## The ``pyviz_comms`` Python package

The ``pyviz_comms`` Python package is used by pyviz projects and can be
pip and conda installed.
30 changes: 30 additions & 0 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{% set sdata = load_setup_py_data() %}

package:
name: pyviz_comms
version: {{ sdata['version'] }}

source:
path: ..

build:
noarch: python
number: 1
script: python setup.py --quiet install --single-version-externally-managed --record record.txt


requirements:
build:
- python
- setuptools
run:
- python

test:
imports:
- pyviz_comms

about:
home: www.pyviz.org
summary: Bidirectional communication for PyViz
license: BSD 3-Clause
Loading

0 comments on commit 0d9faa5

Please sign in to comment.