jupywire
Minimal Jupyter protocol commons: wire-format sessions (message construction, HMAC signing, frame serialize/deserialize) and kernel-client call conventions, shared by kernmini, jupygate, jupyasyncclient, and conkernelclient.
What's here
jupywire.session:Session— Jupyter protocol messages: construction, HMAC signing, frame (de)serialization, replay protection — plus the websocket JSON/binary frame helpers (dumps/loads,serialize_binary_message/deserialize_binary_message) andvalidate_string_dict.jupywire.connect:write_connection_file— kernel connection files with random free-port selection, written 0600.jupywire.ops:EvalOps— a mixin giving any kernel client the calling conventions (eval,ipy, theipyfuncsservice methods,retr, and the sync fire-and-forgetxpush/xenv) over two abstract methods supplied by the transport:reply, which awaits the shell reply, andexecute, which sends without awaiting one.
Install
pip install jupywire
Credits
jupywire.session and jupywire.connect are adapted from jupyter_client (jupyter_client.session, jupyter_client.connect, jupyter_client.client), Copyright (c) Jupyter Development Team, distributed under the terms of the Modified BSD License (BSD-3-Clause); see that project's COPYING.md.
The adaptations are trimmed, traitlets-free mirrors that stay wire-compatible. Divergences are noted in each module's docstring.
Release files for jupywire 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupywire-0.1.2.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupywire-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.9 kB
Release files / jupywire-0.1.2.tar.gz
| Download URL | jupywire-0.1.2.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96cc8468fe81bd21bf43b11b26490fbedd8a0f1606fad7f0a99d002ceac1f011
|
|
BLAKE2b-256 checksum How to use checksums |
e9687ffb01e25030a1eca0adf8538eadc0a84b4312e9e551b0c641b2207aa974
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|
Release files / jupywire-0.1.2-py3-none-any.whl
| Download URL | jupywire-0.1.2-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b5f6aa3867e3cd93b5d3dd8bef1c3ba20bc1475aa5d886aa8eb0929c4bd2516
|
|
BLAKE2b-256 checksum How to use checksums |
6e4385c0dfc4e6057a6be041df2891a99d39c840e1446de6ba2735982d4f5781
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|