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,xpush/retr/xenv) over one abstractreplymethod supplied by the transport.
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupywire-0.1.0.tar.gz.
File metadata
- Download URL: jupywire-0.1.0.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dd7ca62044709b4b3e408abccd4f109913a662a59cd62618e74f85513afd335
|
|
| MD5 |
7a3891c233c408fca250babb8363f3b8
|
|
| BLAKE2b-256 |
aebdbeeb511fb03981dca6624bddab552295313c60ddc3b17beb9c189567d93a
|
File details
Details for the file jupywire-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jupywire-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5a7a4c8be16ad4b471590abe6e6b47a7f07992ec37e1cc2856308ba535a1909
|
|
| MD5 |
988f37169d8652e86bb95c4f1a62606e
|
|
| BLAKE2b-256 |
5020b8fd90d757675f4bba698c2f086157cef8eff55b0488959f50c98a44ce44
|