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.

Release files for akernel 0.4.1

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.1
File Size Uploaded
akernel-0.4.1.tar.gz 29.2 kB Details

Built distribution (wheel)

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

Total release size:49.5 kB

Release files / akernel-0.4.1.tar.gz

Download URL akernel-0.4.1.tar.gz
Size 29.2 kB
Tags Source
SHA-256 checksum
How to use checksums
56da4bb4ed6962d88395b89fc51ecc120022bf90a7d8e710981c3aa927503359
BLAKE2b-256 checksum
How to use checksums
d31ce8c93cc18030c3f86ee3c542d42c58644b04087dc601a6c934839c379f9c
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.1-py3-none-any.whl

Download URL akernel-0.4.1-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c730981abb037c03e0c87ea9cd7ff29869b88568c4772ac81044f66ed043e3ca
BLAKE2b-256 checksum
How to use checksums
da5c2ea7b7007006a4b21b569013e0a84c5ae48b345817c427d46161746253a5
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 history Release notifications | RSS feed

This release

0.4.1 This release

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