Skip to main content

Run the Jupyter notebook server as a little app in the system tray

Project description

Jupyter Tray App

Run the Jupyter notebook server as a little app in the system tray.

That way you don't have to keep a separate command window open just for the server.

This app is made for Windows.

It should be portable to Mac/Linux with only minor modifications to the source code and the below usage instructions, as:

  1. The tray icon is made with the cross-platform 'Qt' GUI framework.
  1. The source code is quite simple, and hence easy to modify.

Installation

Make sure PyQt5 is installed:

conda install pyqt

Then run:

pip install jupytray

This will get you the latest version on PyPI

Usage

Bring up the run.exe command launcher, and run:

pythonw -m jupytray

(Note the extra w after python. It stands for "windowless").

This should start the tray app and the notebook server.

Auto-run at boot

To have the tray server start automatically at system boot:

  1. Find your windowless Python executable:
    • Type pythonw.exe in the start menu and choose "Open File Location".
  2. Open your Startup folder:
    • Open run.exe and run shell:startup.
  3. Make a shortcut to your pythonw.exe in this Startup folder.
  4. In the shortcut's Properties, in the "Target" field, append -m jupytray
    • So the total Target will read e.g. C:\conda\pythonw.exe -m jupytray
  5. In the "Start in" field, type the path you want the notebook server's root to be.
  6. Rename your shortcut to something like "Start Jupyter tray app"

The tray app and notebook server will now auto-run after system restarts.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupytray-0.3.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

jupytray-0.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file jupytray-0.3.tar.gz.

File metadata

  • Download URL: jupytray-0.3.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for jupytray-0.3.tar.gz
Algorithm Hash digest
SHA256 a9d4306f692a2ba81a6c3439b85e7f66ee0650954304e84b68967b90719365c3
MD5 fe132dc6cdb019bb10e920a4d65f3d63
BLAKE2b-256 7ceb2fac747b7ba6b5f63f47e2c7fa140accbb0957cb28dec9be16e2a18d36cc

See more details on using hashes here.

File details

Details for the file jupytray-0.3-py3-none-any.whl.

File metadata

  • Download URL: jupytray-0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for jupytray-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 70232315c9c4362a288e378784bbe32565be8de241ee059c551fed042f9b5531
MD5 4264cac57352e1f2b9881f154ada8cca
BLAKE2b-256 9189070710039371dcde8d3a4d6ad71ff9803d50d62ed86e78174e6d4c35d84c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page