Releases: cloudwicklabs/cloudwick-notebook-utils
cnu-0.1.8: VSCode proxy bug fix (#14)
VSCode is now fixed , previously On-create vscode has issues running which is now sorted
VSCode Fix
This release fixes VSCode Startup in the Jupyter Server
cnu-0.1.7: Notebook connection fix (#13)
Added timeouts to ensure session remains stable and prevent VSCode from being stopped.
c.NotebookApp.shutdown_no_activity_timeout = 3600:
This setting specifies the amount of time (in seconds) that the Jupyter Notebook server will wait for any activity before shutting down the server. In this case, it's set to 3600 seconds, or 60 minutes. If there is no user activity for an hour, the server will automatically shut down.
c.MappingKernelManager.cull_idle_timeout = 3600:
This parameter defines how long (in seconds) an idle kernel can remain running before it is automatically terminated. Here, it is set to 3600 seconds (60 minutes). If a kernel hasn't been used for an hour, it will be culled (terminated) to free up resources.
c.MappingKernelManager.cull_interval = 300:
This setting determines how frequently (in seconds) the Jupyter server checks for idle kernels that can be culled. In this case, it’s set to 300 seconds, or 5 minutes. The server will perform a check every 5 minutes to see if any kernels have been idle long enough to meet the cull_idle_timeout criteria.
Remove External Dependencies 0.1.6
revert upgrade of VSCode version
Download Icon method updated to use svg image locally and not from remote server
(Deprecated) Cloudwick notebook utils 0.1.5
The release contains the VS Code with version 4.91.1 , previous version was 4.16.1
Timeouts for the code server setup is added
disabling nbserver proxy extension as no longer needed
Cloudwick notebook utils 0.1.4
The release contains the glue session with updated version
Cloudwick notebook utils 0.1.3
System configurations required for CodeServer functionality - watch files limit.
Cloudwick notebook utils 0.1.2
Basic support for multiple versions of Jupyter Lab.
cloudwick-notebook-utils-0.1.1
Support for installing the VSCode modules.
cloudwick-notebook-utils 0.1.0
First release of CodeServer (VSCode) script for setup on Jupiter machines.
> python code-server-setup.py --help
usage: code-server-setup.py [-h] [--code-server-version CODE_SERVER_VERSION] [--jupyter-server-proxy-version JUPYTER_SERVER_PROXY_VERSION] [--shell-executable SHELL_EXECUTABLE]
[--persistent-volume-path PERSISTENT_VOLUME_PATH] [--create-new-conda-env CREATE_NEW_CONDA_ENV] [--verbose-shell VERBOSE_SHELL] [--restart-jupiter RESTART_JUPITER] [--conda-env-python-version CONDA_ENV_PYTHON_VERSION] [--use-custom-python-environment USE_CUSTOM_PYTHON_ENVIRONMENT] [--launcher-entry-title LAUNCHER_ENTRY_TITLE]
[--chown-username CHOWN_USERNAME] [--proxy-path PROXY_PATH] [--install-extensions INSTALL_EXTENSIONS]
Install and configure code-server and Jupyter.
options:
-h, --help show this help message and exit
--code-server-version CODE_SERVER_VERSION
Code Server version. (default: 4.16.1)
--jupyter-server-proxy-version JUPYTER_SERVER_PROXY_VERSION
Jupyter server proxy version. (default: 1.6.0)
--shell-executable SHELL_EXECUTABLE
Shell executable (default: /usr/bin/bash)
--persistent-volume-path PERSISTENT_VOLUME_PATH
Path to the persistent volume. (default: /home/ec2-user/SageMaker)
--create-new-conda-env CREATE_NEW_CONDA_ENV
Create a new conda environment (default: True). Set to False to disable, True to explicitly enable. (default: True)
--verbose-shell VERBOSE_SHELL
Make the shell verbose for debug purposes. Set to False to disable, True to explicitly enable. (default: False)
--restart-jupiter RESTART_JUPITER
Restart the jupiter server at the end of the run. Set to False to disable, True to explicitly enable. (default: False)
--conda-env-python-version CONDA_ENV_PYTHON_VERSION
Python version for the conda environment. (default: 3.11)
--use-custom-python-environment USE_CUSTOM_PYTHON_ENVIRONMENT
Use a custom extension gallery (default: True). Set to False to disable, True to explicitly enable. (default: False)
--launcher-entry-title LAUNCHER_ENTRY_TITLE
Title for the launcher entry. (default: Code Server)
--chown-username CHOWN_USERNAME
User name to own the files (default: ec2-user)
--proxy-path PROXY_PATH
Path for the proxy. (default: codeserver)
--install-extensions INSTALL_EXTENSIONS
List of vscode/code-server extensions to install. (default: ['ms-toolsai.jupyter', 'formulahendry.code-runner', 'ms-python.python', 'ryuta46.multi-command',
'ms-azuretools.vscode-docker', 'mechatroner.rainbow-csv', 'esbenp.prettier-vscode'])