-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add binder; Jupyter lab extensions; general cleanup. (#71)
* restructure kernel to include errors and txt. * update .gitignore * bump dependencies in setup * remove HTML output for logs * remove pygments and fix logic error in log test. * adjust log colors to better match * bump version; remove pygments dependency * remove pygemnts dependency. * update regex to fix issues Tom found * bump ver metakernel and package; push main branch * move log caching to fix issue * Update readme to be more current * add binder info * add binder svg * clean up install and versioning * modify postBuild to include Jlab extensions * add sas_log_viewer to binder * add server extension install to postBuild * bump version; add jlab ext option; update readme * http sascfg test * set sascfg http time out to 30 seconds. * bump version 2.4.1; handel connection errors. * clean up pep issues * update doc and binder use ['jlab_ext'] * clean up postBuild * temp url while waiting for final location * Delete testing This file doesn't have value in the binder setup or SAS configuration
- Loading branch information
Showing
10 changed files
with
270 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ MANIFEST | |
**/*checkpoint.ipynb | ||
**/*.ipynb | ||
**/*.sas7bcat | ||
sascfg_personal.py | ||
**/*.ipynb_checkpoints/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: sas-compute-env | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python | ||
- pip | ||
- jupyterlab=3 | ||
- pip: | ||
- saspy | ||
- sas_kernel['jlab_ext'] | ||
- pandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# Copyright SAS Institute | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the License); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
# copy sascfg_personal.py to default location | ||
mkdir -p ~/.config/saspy/ | ||
cp ./binder/sascfg_personal.py ~/.config/saspy/ | ||
|
||
#set -ex | ||
jupyter kernelspec list | ||
jupyter nbextension list | ||
|
||
|
||
jupyter nbextension install --py sas_kernel.showSASLog --user | ||
jupyter nbextension enable sas_kernel.showSASLog --py | ||
|
||
jupyter nbextension install --py sas_kernel.theme --user | ||
jupyter nbextension enable sas_kernel.theme --py | ||
|
||
jupyter nbextension list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SAS_config_names = ['viya4'] | ||
|
||
viya4 = { | ||
'url':'https://temp.url.com:443', | ||
'verify': False, | ||
'timeout': 30, | ||
'context':'SAS Job Execution compute context' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,3 @@ | |
|
||
|
||
"""SAS Kernel Juypter Implementation""" | ||
from sas_kernel.version import __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,5 @@ | |
# limitations under the License. | ||
# | ||
|
||
__version__ = '2.4.1' | ||
|
||
__version__ = '2.3.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.