This release is a pre-release and may not be stable for production use.
dx
Efficient display and blob-store uploads for Python kernels running under nteract.
dx lets a Python kernel push bytes directly to the nteract daemon's blob store via a dedicated Jupyter comm, bypassing the IOPub "raw bytes" anti-pattern. Display bundles carry a tiny reference MIME (application/vnd.nteract.blob-ref+json) instead of megabytes of parquet/image/video data.
Usage
import dx
dx.install()
import pandas as pd
df = pd.read_parquet("big.parquet")
df # rendered via the sift parquet renderer from a blob reference
Low-level:
ref = dx.put(open("image.png", "rb").read(), content_type="image/png")
dx.display_blob_ref(ref, content_type="image/png")
See docs/superpowers/specs/2026-04-13-nteract-dx-design.md for the protocol.
In vanilla Jupyter or plain python
dx.install() is a no-op when no nteract runtime agent is reachable. dx.display(df) falls back to raw-bytes display, and dx.put(...) raises DxNoAgentError. The library is safe to import anywhere.
Release files for dx 2.0.1a202604151349
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dx-2.0.1a202604151349.tar.gz | 15.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dx-2.0.1a202604151349-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.1 kB
Release files / dx-2.0.1a202604151349.tar.gz
| Download URL | dx-2.0.1a202604151349.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f7c9952d5b297af914784367b9d0c47f0d81615cdf810d5eb619d2b9aefbc95
|
|
BLAKE2b-256 checksum How to use checksums |
14ba1aa8b649cee6dc77cc7a61e40f60b2120e9c583c4c9a592a61cc8e1e9f6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / dx-2.0.1a202604151349-py3-none-any.whl
| Download URL | dx-2.0.1a202604151349-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88bf69c41473e716df7f7d0ab8499affc569f28b0fc7fdc3d1bd6a39e8d98e31
|
|
BLAKE2b-256 checksum How to use checksums |
3cffd6c61c7151ecbc16db94f5dc47793ee37707ffbf2c5c018ad758ab495255
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|