Skip to main content

Build Status

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-task) and Python 3 (akernel-thread) kernels in JupyterLab.

Kernelspec Execution in Jupyverse Interrupt mode
akernel Separate process Signal
akernel-task In-process, on the server event loop Message
akernel-thread In-process, in a worker thread Message

To refresh the kernelspecs in an existing installation, run:

akernel install --mode process
akernel install --mode task
akernel install --mode thread

The default mode is process.

In-process kernels

akernel-task runs 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 print function rather than capturing all writes to stdout and stderr.
  • In-process kernels cannot be interrupted while running blocking code.

Metadata

Release files for akernel 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akernel 0.4.2
File Size Uploaded
akernel-0.4.2.tar.gz 30.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for akernel 0.4.2
File Interpreter ABI Platform
akernel-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 49.9 kB

Release files / akernel-0.4.2.tar.gz

Download URL akernel-0.4.2.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
03b6575479e2c954108d81881f17e6c191e20e52b1f894e7083a1239cd12d4d7
BLAKE2b-256 checksum
How to use checksums
531cde9b64e539fb4a06dccc1165445e039210a23734ffd16590c98742cade4d
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.15.0"},"installer":{"name":"hatch","version":"1.18.1"},"openssl_version":"OpenSSL 3.6.5 29 Sep 2026","python":"3.15.0","system":{"name":"Linux","release":"7.0.0-38-generic"}} HTTPX2/2.13.1

Release files / akernel-0.4.2-py3-none-any.whl

Download URL akernel-0.4.2-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5798694f8126281cc7a68df6f5239e6c9a55bc463dd378ea68fc206717d6f67
BLAKE2b-256 checksum
How to use checksums
7f8599b26a6e6fa215b303775dfb9ca7b9930c5f8552a3256b8178d06ce61ed5
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.15.0"},"installer":{"name":"hatch","version":"1.18.1"},"openssl_version":"OpenSSL 3.6.5 29 Sep 2026","python":"3.15.0","system":{"name":"Linux","release":"7.0.0-38-generic"}} HTTPX2/2.13.1

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page