Skip to content
Snippets Groups Projects
Commit d4d06a25 authored by alice grosch's avatar alice grosch
Browse files

Update copyright

parent c87bc301
No related branches found
No related tags found
No related merge requests found
Showing with 221 additions and 48 deletions
# Ipython Notebook
.ipynb_checkpoints/
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
pvlink/__pycache__/ __pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distibution / packaging # Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/ dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
# Flask instance folder
instance/
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/
docs/_build/
docs/source/_static/embed-bundle.js
docs/source/_static/embed-bundle.js.map
# PyBuilder
target/
# IPython Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# dotenv
.env
# virtualenv
venv/
ENV/
# Spyder project settings
.spyderproject
# Rope project settings
.ropeproject
# =========================
# Operating System Files
# =========================
# OSX
# =========================
.DS_Store
.AppleDouble
.LSOverride
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# Windows
# =========================
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
# NPM # NPM
node_modules/ # ----
static/
yarn.lock **/node_modules/
pvlink/nbextension/static/index.*
pvlink/labextension/*.tgz
# Coverage data
# -------------
**/coverage/
# Packed lab extensions
pvlink/labextension
.DS_Store
node_modules/
tests/
.jshintrc
# Ignore any build output from python:
dist/*.tar.gz
dist/*.wheel
Copyright (c) 2019 Alice Grosch Copyright (c) 2019 Juelich Supercomputing Centre (JSC)
All rights reserved. All rights reserved.
Alice Grosch <a.grosch@fz-juelich.de>
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met: modification, are permitted provided that the following conditions are met:
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
ParaView-Web RemoteRenderer in Jupyter ParaView-Web RemoteRenderer in Jupyter
## Installation ## Installation
You can install using `pip`: You can install using `pip`:
......
...@@ -55,8 +55,8 @@ master_doc = 'index' ...@@ -55,8 +55,8 @@ master_doc = 'index'
# General information about the project. # General information about the project.
project = 'pvlink' project = 'pvlink'
copyright = '2019, Alice Grosch' copyright = '2019, Juelich Supercomputing Centre (JSC)'
author = 'Alice Grosch' author = 'Juelich Supercomputing Centre (JSC)'
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
...@@ -144,7 +144,7 @@ latex_elements = { ...@@ -144,7 +144,7 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]). # author, documentclass [howto, manual, or own class]).
latex_documents = [ latex_documents = [
(master_doc, 'pvlink.tex', 'pvlink Documentation', (master_doc, 'pvlink.tex', 'pvlink Documentation',
'Alice Grosch', 'manual'), 'Juelich Supercomputing Centre (JSC)', 'manual'),
] ]
...@@ -171,7 +171,7 @@ texinfo_documents = [ ...@@ -171,7 +171,7 @@ texinfo_documents = [
'pvlink Documentation', 'pvlink Documentation',
author, author,
'pvlink', 'pvlink',
'A Custom Jupyter Widget Library', 'ParaView-Web RemoteRenderer in Jupyter',
'Miscellaneous'), 'Miscellaneous'),
] ]
......
...@@ -2,17 +2,6 @@ ...@@ -2,17 +2,6 @@
Introduction Introduction
============= =============
Create a ParaView-Web RemoteRenderer Widget in the output area below a cell in a Jupyter Notebook. This requires a VTK-Web or ParaView-Web server, see https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html#RemoteRenderer. .. todo::
Example add prose explaining project purpose and usage here
-------
Start a ParaView-Web server with
$ pvpython pv_server.py --port 8080 --authKey wslink-secret
In the notebook, display the RemoteRenderer Widget with
display(pvlink.RemoteRenderer(
sessionURL='ws://localhost:8080/ws',
authKey='wslink-secret'))
%% Cell type:markdown id: tags: %% Cell type:markdown id: tags:
# Introduction # Introduction
%% Cell type:code id: tags: %% Cell type:code id: tags:
``` python ``` python
import pvlink import pvlink
``` ```
%% Cell type:markdown id: tags: %% Cell type:markdown id: tags:
Start a ParaView-Web server (see the [ParaView example](https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html#Using-ParaView-as-server)) Start a ParaView-Web server (see the [ParaView example](https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html#Using-ParaView-as-server))
```bash ```bash
pvpython pv_server.py --port 8080 --authKey wslink-secret pvpython pv_server.py --port 8080 --authKey wslink-secret
``` ```
%% Cell type:code id: tags: %% Cell type:code id: tags:
``` python ``` python
w = pvlink.RemoteRenderer(sessionURL='ws://localhost:8080/ws', authKey='wslink-secret') w = pvlink.RemoteRenderer(sessionURL='ws://localhost:8080/ws', authKey='wslink-secret')
w ```
%% Cell type:code id: tags:
``` python
display(w)
``` ```
%% Output %% Output
%% Cell type:code id: tags:
``` python
```
......
{ {
"name": "pvlink", "name": "pvlink",
"version": "0.1.0", "version": "0.1.0",
"description": "ParaViewWeb RemoteRenderer in Jupyter", "description": "ParaView-Web RemoteRenderer in Jupyter",
"keywords": [ "keywords": [
"jupyter", "jupyter",
"jupyterlab", "jupyterlab",
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
"dist/*.js", "dist/*.js",
"css/*.css" "css/*.css"
], ],
"homepage": "https://github.com//pvlink", "homepage": "https://gitlab.version.fz-juelich.de/jupyter4jsc/j4j_extras/pvlink",
"bugs": { "bugs": {
"url": "https://github.com//pvlink/issues" "url": "https://gitlab.version.fz-juelich.de/jupyter4jsc/j4j_extras/pvlink/issues"
}, },
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"author": { "author": {
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com//pvlink" "url": "https://gitlab.version.fz-juelich.de/jupyter4jsc/j4j_extras/pvlink"
}, },
"scripts": { "scripts": {
"build": "npm run build:lib && npm run build:nbextension", "build": "npm run build:lib && npm run build:nbextension",
......
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8 # coding: utf-8
# Copyright (c) Alice Grosch. # Copyright (c) Juelich Supercomputing Centre (JSC).
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
from .remoterenderer import RemoteRenderer from .remoterenderer import RemoteRenderer
......
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8 # coding: utf-8
# Copyright (c) Alice Grosch. # Copyright (c) Juelich Supercomputing Centre (JSC).
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
""" """
......
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8 # coding: utf-8
# Copyright (c) Alice Grosch. # Copyright (c) Juelich Supercomputing Centre (JSC).
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
version_info = (0, 1, 0, 'dev') version_info = (0, 1, 0, 'dev')
......
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8 # coding: utf-8
# Copyright (c) Alice Grosch # Copyright (c) Juelich Supercomputing Centre (JSC)
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
def _jupyter_nbextension_paths(): def _jupyter_nbextension_paths():
......
// Entry point for the notebook bundle containing custom model definitions.
//
define(function() {
"use strict";
window['requirejs'].config({
map: {
'*': {
'pvlink': 'nbextensions/pvlink/index',
},
}
});
// Export the required load_ipython_extension function
return {
load_ipython_extension : function() {}
};
});
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8 # coding: utf-8
# Copyright (c) Alice Grosch. # Copyright (c) Juelich Supercomputing Centre (JSC).
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
""" """
......
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8 # coding: utf-8
# Copyright (c) Alice Grosch. # Copyright (c) Juelich Supercomputing Centre (JSC).
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
import pytest import pytest
......
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8 # coding: utf-8
# Copyright (c) Alice Grosch. # Copyright (c) Juelich Supercomputing Centre (JSC).
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
import pytest import pytest
......
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8 # coding: utf-8
# Copyright (c) Alice Grosch. # Copyright (c) Juelich Supercomputing Centre (JSC).
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
......
...@@ -61,12 +61,12 @@ cmdclass['jsdeps'] = combine_commands( ...@@ -61,12 +61,12 @@ cmdclass['jsdeps'] = combine_commands(
setup_args = dict( setup_args = dict(
name = name, name = name,
description = 'A Custom Jupyter Widget Library', description = 'ParaView-Web RemoteRenderer in Jupyter',
version = version, version = version,
scripts = glob(pjoin('scripts', '*')), scripts = glob(pjoin('scripts', '*')),
cmdclass = cmdclass, cmdclass = cmdclass,
packages = find_packages(), packages = find_packages(),
author = 'Alice Grosch', author = 'Juelich Supercomputing Centre (JSC)',
author_email = 'a.grosch@fz-juelich.de', author_email = 'a.grosch@fz-juelich.de',
url = 'https://github.com//pvlink', url = 'https://github.com//pvlink',
license = 'BSD', license = 'BSD',
......
// Copyright (c) Alice Grosch // Copyright (c) Juelich Supercomputing Centre (JSC)
// Distributed under the terms of the Modified BSD License. // Distributed under the terms of the Modified BSD License.
export * from './version'; export * from './version';
......
// Copyright (c) Alice Grosch // Copyright (c) Juelich Supercomputing Centre (JSC)
// Distributed under the terms of the Modified BSD License. // Distributed under the terms of the Modified BSD License.
import { import {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment