skillfed

jupyter-mimetypes

jupyter-mimetypes v0.2.0 94.1K downloads/30d#13,341 on PyPI4
Permissive license BSD 3-Clause License Copyright (c) 2024, Datalayer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) Active released

What it is and what it does

Jupyter MIME Types is a Python library that wraps objects with custom MIME bundle representations for Jupyter environments. It automatically selects the best serialization backend—Apache Arrow for certain data structures, pickle for generic Python objects—and encodes them safely for transport. The package integrates with Jupyter's display system to enable efficient data exchange between kernels and clients.

You use it to serialize Python objects into MIME bundles that Jupyter can display and transmit, then deserialize them back on the other end. It's particularly useful when working with remote Jupyter kernels or when you need to move large objects between processes while preserving type information and structure.

Use it for:

  • Retrieve objects from a remote Jupyter kernel without converting to JSON or CSV
  • Serialize objects for efficient transmission between Jupyter clients and kernels
  • Display objects in Jupyter notebooks with automatic Arrow-based encoding for performance
  • Transfer generic Python objects through Jupyter's MIME system using pickle fallback
  • Build Jupyter-based tools that need to move data between kernel and frontend efficiently

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides enhanced Jupyter representation capabilities through proxy objects, enabling Apache Arrow-based serialization for pandas DataFrames and Series, with pickle fallback for generic Python objects.

Yes, if you work with Jupyter and need efficient serialization of objects. Low install friction, active maintenance, permissive license, and no known vulnerabilities make it a safe choice. The package is young (first release 2025-08-07) and niche (4 GitHub stars), so adoption is limited; verify it fits your specific Jupyter workflow before committing.

Install

jupyter-mimetypes on PyPI

pip

pip install jupyter-mimetypes

uv

uv add jupyter-mimetypes

poetry

poetry add jupyter-mimetypes

Installing jupyter-mimetypes

Before you install

Low friction install with only two runtime dependencies (pyarrow and typing-extensions). Package is actively maintained with recent commits and supports modern Python versions (3.9–3.13).

License in practice

BSD 3-Clause License permits commercial and private use with minimal restrictions; you must retain copyright notice and disclaimer in distributions.

Quickstart

pip install jupyter-mimetypes

from jupyter_mimetypes import serialize_object, deserialize_object

data, metadata = serialize_object(obj)
restored = deserialize_object(data, metadata)

Requires pyarrow as a runtime dependency for Arrow-based serialization.

Verify before relying

  • Whether pandas is an optional or implicit dependency for typical workflows
  • Performance characteristics of Arrow vs. pickle serialization for different object sizes
  • Compatibility with Jupyter environments beyond the kernel-client example shown in description

Package facts

License BSD 3-Clause License Copyright (c) 2024, Datalayer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pyarrow, typing-extensions
Maintenance actively maintained — 369 days since the last release
Last repo commit
First released
Downloads 94,121/month — #13,341 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: jupyter_mimetypes-0.2.0-py3-none-any.whl

Keywords: Jupyter

Framework :: JupyterLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

jupyter mime types serializationdataframe jupyter displayarrow serialization jupyterjupyter mime bundle supportefficient object serialization jupyterjupyter kernel variable transfermime type registry python
jupyter-integrationserialization

More Application Frameworks packages