akernel
An asynchronous Python Jupyter kernel built on AnyIO:
- runs in a separate process or in-process.
- supports top-level
await.
Install
For a standalone, out-of-process kernel, install the subprocess extra:
pip install "akernel[subprocess]"
This will give you a Python 3 (akernel) in JupyterLab.
akernel can also run in-process with Jupyverse.
Install it with:
pip install "fps-akernel-task"
This will give you both Python 3 (akernel) and Python 3 (akernel-thread) kernels
in JupyterLab.
In-process kernels
They run in Jupyverse's process, so running blocking user code in the kernel will also block Jupyverse.
akernel-thread is an in-process kernel that runs user code in a separate thread,
which won't block Jupyverse.
Limitations
- Cell output redirection currently uses the kernel's
printfunction rather than capturing all writes tostdoutandstderr. - In-process kernels cannot be interrupted while running blocking code.
Release files for akernel 0.4.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 | |
|---|---|---|---|
| akernel-0.4.0.tar.gz | 23.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| akernel-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:42.1 kB
Release files / akernel-0.4.0.tar.gz
| Download URL | akernel-0.4.0.tar.gz |
|---|---|
| Size | 23.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3345753e2790fd170407c7824b1eb84cc2e5733d86546065e251b3e0bbf05e96
|
|
BLAKE2b-256 checksum How to use checksums |
4dd2bbaeadb9078cdcff95fb20bde6cd92ed04b0d4050162e35b051e8228327a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.1 {"ci":null,"cpu":"x86_64","distro":{"id":"resolute","libc":{"lib":"glibc","version":"2.43"},"name":"Ubuntu","version":"26.04"},"implementation":{"name":"CPython","version":"3.14.7"},"installer":{"name":"hatch","version":"1.18.1"},"openssl_version":"OpenSSL 3.6.4 25 Aug 2026","python":"3.14.7","system":{"name":"Linux","release":"7.0.0-31-generic"}} HTTPX2/2.13.0
|
Release files / akernel-0.4.0-py3-none-any.whl
| Download URL | akernel-0.4.0-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25948c71b6de7fff5ba1aa7db7162f82c964e4044ac99584f9059f3d495ca773
|
|
BLAKE2b-256 checksum How to use checksums |
c379a6c229dbb2c5bfb87c4963354e825f9541f0e6ae58c0089c9dfd6d0c6da5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.1 {"ci":null,"cpu":"x86_64","distro":{"id":"resolute","libc":{"lib":"glibc","version":"2.43"},"name":"Ubuntu","version":"26.04"},"implementation":{"name":"CPython","version":"3.14.7"},"installer":{"name":"hatch","version":"1.18.1"},"openssl_version":"OpenSSL 3.6.4 25 Aug 2026","python":"3.14.7","system":{"name":"Linux","release":"7.0.0-31-generic"}} HTTPX2/2.13.0
|