Local Orion CLI launcher for notebooks and Jupyter
Project description
orion-notebook
Python launcher for Orion. Installs the orion command on PyPI.
Orion also publishes orion-ui on PyPI — the Python library for notebook UI components (import orion_ui as ui). You do not install it separately when using Orion's managed Jupyter runtime; Orion syncs orion-ui==<version> into ~/.orion/runtime/venv automatically.
Install
pip install orion-notebook
orion
What happens on first run
The PyPI wheel is intentionally small. When you run orion for the first time, the CLI may:
- Download the Orion app bundle into
~/.orion/app/<version>from a GitHub release - Download portable Node.js 20+ into
~/.orion/runtime/node/<version>if Node is not installed - Create an Orion-managed Jupyter venv under
~/.orion/runtime/venvif no compatible Jupyter is found (includes Jupyter, ipykernel, andorion-ui)
Each step prompts for consent unless you pass --yes:
orion --yes
Managed Jupyter is installed only inside Orion's venv, not into your global Python.
After the first successful setup, later runs start Jupyter, launch Orion, and open your browser much faster.
Requirements
- Python 3.8+
- Node.js 20+ (downloaded automatically into
~/.orion/runtime/nodewhen missing)
Flags
orion --yes # auto-approve setup prompts
orion --no-browser # start services without opening a browser
orion uninstall # remove cached app bundle for this version (~/.orion/app/<version>)
orion uninstall --all --yes # remove entire ~/.orion directory
Uninstall
pip uninstall orion-notebook removes the Python launcher only. It does not delete the app bundle downloaded into ~/.orion/app/<version>/. Run this first:
orion uninstall --yes
pip uninstall orion-notebook
To remove all Orion-managed data (Jupyter venv, portable Node, every cached app version):
orion uninstall --all --yes
Environment variables
| Variable | Purpose |
|---|---|
ORION_HOME_DIR |
Override Orion data root (default: ~/.orion) |
ORION_APP_BUNDLE_URL |
Override app bundle download URL |
ORION_PORT |
Orion app port (default: 3001) |
Default app bundle URL:
https://github.com/nicolasakf/Orion-app/releases/download/v<version>/orion-app-<version>.tar.gz
npm install (recommended)
Both npm and PyPI publish under the name orion-notebook. If you already have Node.js 20+, npm is simpler because it ships the app bundle directly:
npm install -g orion-notebook
orion
See the main README and Contributing for publishing and development details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orion_notebook-0.6.3.tar.gz.
File metadata
- Download URL: orion_notebook-0.6.3.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55c5e2a5afe9d84bfb27992cce1cb78244bd3fc3fce921ec439b2ea613d51571
|
|
| MD5 |
050c269f1c669cd61cb40ff321d26081
|
|
| BLAKE2b-256 |
2199cf1ddd786ad03add915e203ca5a4298064a64dc86207b51dcc45d3ab45ce
|
File details
Details for the file orion_notebook-0.6.3-py3-none-any.whl.
File metadata
- Download URL: orion_notebook-0.6.3-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3feb774bf1c08e27215a87f08ef895d4b31450a64643b47114a3a703253b3d88
|
|
| MD5 |
6f9b3190a7469408658d9db3f9667374
|
|
| BLAKE2b-256 |
0c14937042667b92351eb2897d3aa628ebcb8c6acc6dfe1cd800f7bdcf589bc6
|