Fish Kernel for Jupyter
fish-kernel is a Jupyter kernel implementation for the fish shell.
Requirements
- Python
>=3.10 fishcommand available onPATH- Jupyter frontend (
jupyterlabor notebook) - Supported OS: Linux, macOS, and Windows (WSL)
- Native Windows is not supported (fish shell dependency)
Install
To register a Jupyter kernel, run a concrete install command such as:
fish-kernel add --user
If you want to install into the current Python environment instead, use:
fish-kernel add --sys-prefix
fish-kernel install is an alias of fish-kernel add, so either name works.
PyPI
pip install fish-kernel
conda-forge
Install from the conda-forge channel with conda, mamba, or pixi:
conda install -c conda-forge fish-kernel
mamba install -c conda-forge fish-kernel
pixi add fish-kernel
Register kernel
After installation, register the kernelspec.
fish-kernel add requires one of --user, --sys-prefix, or --prefix.
fish-kernel install is an alias of fish-kernel add.
Install for your user account:
fish-kernel add --user
Or install into the current Python environment:
fish-kernel add --sys-prefix
After installation, verify the kernel is registered:
jupyter kernelspec list
You should see a fish kernel entry.
Remove kernel
To unregister the kernelspec, run:
fish-kernel remove
fish-kernel uninstall is an alias of fish-kernel remove.
Unlike add, a target option is optional. With no options, remove deletes
whichever installed copy it finds first. If you installed the kernel into
more than one scope (for example both --user and --sys-prefix), pass the
matching option to target a specific one:
fish-kernel remove --user
fish-kernel remove --sys-prefix
fish-kernel remove --prefix /path/to/prefix
Development
git clone https://github.com/eunos-1128/fish-kernel.git
cd fish-kernel
uv sync --dev
uv run pytest
uv run fish-kernel install --sys-prefix
uv run jupyter kernelspec list
Documentation
Build docs locally with Sphinx + Furo:
uv sync --dev
uv run sphinx-build -b html docs docs/_build/html
Usage examples
Simple calculation:
set a 7
set b 13
math $a + $b
Acknowledgements
This project was developed with inspiration from:
Metadata
Release files for fish-kernel 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fish_kernel-1.1.0.tar.gz | 44.0 kB | Without provenance | Details for fish_kernel-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fish_kernel-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for fish_kernel-1.1.0-py3-none-any.whl |
Total release size: 86.4 kB
Release files / fish_kernel-1.1.0.tar.gz
| Download URL | fish_kernel-1.1.0.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bf9aa425cb679833a5648eba0539bf73b44fe82798f66d7f776ff8dd3b59051
|
|
BLAKE2b-256 checksum How to use checksums |
956e37edd12f40c94cc80a367de0361b4681518ddc6c5be598a8045065d696b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fish_kernel-1.1.0-py3-none-any.whl
| Download URL | fish_kernel-1.1.0-py3-none-any.whl |
|---|---|
| Size | 42.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c37fc75988502966e022ec6bfc983bd755c0c71fe9ae0ab940affd30cfab607
|
|
BLAKE2b-256 checksum How to use checksums |
7ec49f4991c66f6c46fd5e7b631cccace0ed3783547ba06fd97684026c4ceec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for fish-kernel 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.