# uqfoundation/dill

serialize all of Python

Repository: https://github.com/uqfoundation/dill
Canonical: https://ross.abutalabs.com/products/dill
Homepage: http://dill.rtfd.io
Language: Python
License: NOASSERTION
License Family: other
Last push: 2026-08-17T11:01:51+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 34, longevity 100
- inputs: {"age_days": 4814, "days_push": 16, "days_rel": 226, "gap_med": 238.5, "n_releases_24m": 3}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2448, forks 191 (observed 2026-08-28T04:06:52.770191+00:00)

## What it is
Dill is a Python library that extends the standard pickle module to serialize nearly all Python object types, including lambdas, nested functions, classes, and entire interpreter sessions. It provides the same interface as pickle and is part of the pathos heterogeneous computing framework.

## Use cases
- serialize python objects that pickle cannot handle
- save and restore a python interpreter session
- send python objects across the network as a byte stream
- pickle lambdas and nested functions
- extract source code from functions and classes
- diagnose pickling errors

## When to choose
- you need to serialize functions, lambdas, classes, or other objects that standard pickle fails on
- you want to checkpoint and resume an interpreter session
- you need to pass python objects to multiprocessing or distributed workers

## When to avoid
- you need secure deserialization of untrusted data - dill is not safe against maliciously constructed data
- you only need to pickle simple built-in types - standard pickle suffices
- you need to serialize frames, generators, or tracebacks - dill cannot pickle these

## Facets
- artifact type: library
- maturity: active
- function: serialization
- domain: developer-tools, data-science
- platform: python, cross-platform
- tags: pickle, interpreter-session, byte-stream, pathos

## Member repositories
- uqfoundation/dill (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:52.770191+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:30:30.146560+00:00, confidence not recorded.
  - readme: https://github.com/uqfoundation/dill (fetched 2026-08-28T04:06:52.770191+00:00, sha 0353eec10072)
  - registry_pypi: https://pypi.org/pypi/dill/json (fetched 2026-08-29T10:12:21.089030+00:00, sha 3531dafc9c95)
- Data as of 2026-08-30T08:39:29.467469+00:00.
