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.
Metadata
Release files for dx 2.0.1a202604151705
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dx-2.0.1a202604151705.tar.gz | 21.7 kB | Without provenance | Details for dx-2.0.1a202604151705.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dx-2.0.1a202604151705-py3-none-any.whl | Python 3 | none | any | Details for dx-2.0.1a202604151705-py3-none-any.whl |
Total release size: 37.2 kB
Release files / dx-2.0.1a202604151705.tar.gz
| Download URL | dx-2.0.1a202604151705.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce11aab91fafdc7dfad92624f81ea41ca6c96b6d478c994bacd502bc4e3d6cea
|
|
BLAKE2b-256 checksum How to use checksums |
9092d7754049919c1052ca0a272f7a53a20dd0cf52306c90b6a80c2ed253c8b1
|
| 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.1a202604151705-py3-none-any.whl
| Download URL | dx-2.0.1a202604151705-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2e67f4c5223bcf0abb5f37751d7077f6cd41aa312713fd43057ae243dccaa26
|
|
BLAKE2b-256 checksum How to use checksums |
a14387d84971fbee68e629ca71d801cdeecc326ac6d81dff9f20ad67c0b23ac9
|
| 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}
|
Security for dx 2.0.1a202604151705
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.