Skip to main content

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) and validate_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, the ipyfuncs service methods, xpush/retr/xenv) over one abstract reply method 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

jupywire-0.1.1.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupywire-0.1.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file jupywire-0.1.1.tar.gz.

File metadata

  • Download URL: jupywire-0.1.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for jupywire-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c71e0108b38592bc60cadbb5963a6664c0972f51d2115c2a82f96cb297dab3e0
MD5 46e295d0a8b68b8fb2f1a71b64d6557b
BLAKE2b-256 74fce8a02224953122dc48e888cbc866bd8d56c680bdfd950e2e6f1e735d5679

See more details on using hashes here.

File details

Details for the file jupywire-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jupywire-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for jupywire-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88faeb83597674b578cd2b383c73e6eb9e42c06aac0f3bd0fb91d019abf8df7d
MD5 18ec612465582e40bd640e1a5492bf86
BLAKE2b-256 0f95a8929176e7a88a44e4a90e2771694bd57e5abd6efa0968978baf1b49ead1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page