Skip to main content

treekle🌳

PyPI version CI Python 3.12+ License: Apache-2.0 Discord

tree + pickle: pickle's semantics, written as a plain tree of dicts, lists, and scalars instead of opaque bytes.

Quick Start

# Mac:
#   # Required for quick install.
#   brew install uv

# Ubuntu/Debian:
#   # Required for quick install.
#   sudo apt-get install -y curl
#   curl -LsSf https://astral.sh/uv/install.sh | sh

uv add treekle

# Alternatively: python -m pip install treekle

to_plain turns a value into plain data any JSON, TOML, or YAML writer can store. from_plain turns it back into the type you ask for. Neither touches text, so the wire format is yours.

Example

from __future__ import annotations

from collections.abc import Callable
from dataclasses import dataclass
from pathlib import Path
from types import MappingProxyType

import json
import math

from treekle import ABSENT, ReadError, from_plain, to_plain


def by_name(user: User) -> str:
    return user.name


@dataclass
class User:
    name: str


@dataclass
class Job:
    owner: User
    reviewer: User
    fallback: object
    sort_key: Callable[[User], str]
    output: type
    root: Path
    timeout: float
    env: MappingProxyType[str, str]


ada = User("ada")
job = Job(
    owner=ada,
    reviewer=ada,  # the same object
    fallback=ABSENT,  # a singleton
    sort_key=by_name,  # a function
    output=dict,  # a class
    root=Path("/srv"),
    timeout=math.inf,  # JSON has no inf
    env=MappingProxyType({"LANG": "C"}),
)

back = from_plain(json.loads(json.dumps(to_plain(job))), Job, allow_imports=True)
assert back.owner is back.reviewer
assert back.fallback is ABSENT
assert back.sort_key is by_name
assert back.output is dict
assert back.root == Path("/srv")
assert back.timeout == math.inf
assert isinstance(back.env, MappingProxyType)

Every other library fails on the same job:

  • pickle

    TypeError: cannot pickle 'mappingproxy' object
    
  • jsonpickle

    AttributeError: 'Absent' object attribute '_instance' is read-only
    
  • pydantic

    PydanticSchemaGenerationError: Unable to generate pydantic-core schema for mappingproxy[str, str]. Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it.
    
  • msgspec

    TypeError: Encoding objects of type Absent is unsupported
    
  • cattrs

    TypeError: Object of type Absent is not JSON serializable
    
  • mashumaro

    UnserializableField: Field "fallback" of type object in Job is not serializable
    

Additionally, treekle reads bad inputs all the way through:

@dataclass
class Team:
    a: User
    b: User
    c: User


bad = '{"a": {"name": "ada"}, "b": {"name": 7}, "c": {"name": 8}}'
try:
    from_plain(json.loads(bad), Team)
except ReadError as error:
    error.partial
    # Team(a=User(name='ada'),
    #      b=User(name=Invalid(raw=7, reason='cannot read 7 as str')),
    #      c=User(name=Invalid(raw=8, reason='cannot read 8 as str')))

Every other library on the same bad:

  • jsonpickle

    {'a': {'name': 'ada'}, 'b': {'name': 7}, 'c': {'name': 8}}
    
  • pydantic

    ValidationError: 2 validation errors for Team
    b.name
      Input should be a valid string [type=string_type, input_value=7, input_type=int]
    c.name
      Input should be a valid string [type=string_type, input_value=8, input_type=int]
    
  • msgspec

    ValidationError: Expected `str`, got `int` - at `$.b.name`
    
  • cattrs

    Team(a=User(name='ada'), b=User(name='7'), c=User(name='8'))
    
  • mashumaro

    Team(a=User(name='ada'), b=User(name='7'), c=User(name='8'))
    

Captured with jsonpickle 4.1.3, pydantic 2.13.5, msgspec 0.22.0, cattrs 26.2.1, and mashumaro 3.23.

A lambda has no import path, so it is refused when written, not when read:

to_plain(lambda x: x)
# TypeError: Cannot serialize <function <lambda> ...>: import path
# '__main__.<lambda>' does not resolve to the same object.

Features

Tags for what JSON lacks

Anything a wire format cannot carry natively becomes a py/* tag, spelled as jsonpickle spells it where one exists:

Value Tag
class instance, class, function py/object, py/type, py/function
tuple, set, frozenset, mappingproxy py/tuple, py/set, py/frozenset, py/mappingproxy
dict, list where default_concrete_types reads another py/dict, py/list
non-finite float, complex, bytes py/float, py/complex, py/b64
Path, UUID, datetime py/path, py/uuid, py/datetime
anything else picklable py/reduce
a type you register with hooks= py/hook
a repeat of an earlier object py/ref
a non-string or tag-like dict key json://...

Shared objects and cycles

A repeat is written as py/ref, the path to its first occurrence, so model.encoder is model.decoder survives the round trip. Cycles terminate the same way. Older py/id back-references still read.

The type decides, unless a tag does

from_plain(data, T) reads data as T: a JSON array as a tuple[int, int], "red" as Color.RED, a dict as a dataclass. Where the data carries a tag, the tag decides, so a field typed object or a Protocol reads back as whatever class the payload names. Only the root's tag must fit T. Importing a class by name is gated behind allow_imports=True.

A parent's type implies its children's

A value is written untagged wherever its declared type implies its class and the value fits that type; anything else keeps its tag. A record's py/object tag names its class, so its fields' annotations declare their values: a tuple in a tuple[int, ...] field is a plain array, and reads back a tuple, with or without a target, while a 3-tuple in a tuple[int, str] field stays py/tuple. An untagged record reads back as a tagged one does: its state is restored, and __init__ does not run. The full rules, with one example that exercises each, are in the package docstring.

Only a root that is not a record declares nothing by itself. to_plain(obj, target=T) declares it, for from_plain(tree, T): to_plain([(1,)], target=list[tuple[int]]) writes [[1]]. The default target, object, declares nothing, so the tree reads with no target.

Under an abstract declared type, untagged data reads as the baseline {Mapping: dict, MutableMapping: dict, Sequence: list, MutableSequence: list, Set: frozenset, MutableSet: set}. default_concrete_types overrides entries, so a record holding read-only JSON stores it untagged:

from collections.abc import Mapping, Sequence
from types import MappingProxyType

from treekle import PlainTree, immutable

frozen = {Mapping: MappingProxyType, Sequence: tuple}


@dataclass(frozen=True)
class Event:
    payload: Mapping[str, PlainTree]


event = Event(payload=immutable({"tags": ["a"]}))
tree = to_plain(event, default_concrete_types=frozen)
assert tree["payload"] == {"tags": ["a"]}
back = from_plain(tree, Event, default_concrete_types=frozen)
assert isinstance(back.payload["tags"], tuple)

A dict or list in such a field is written as py/dict or py/list, so it reads back as itself.

Best-effort decoding

A bad part does not stop the read. ReadError.partial is the value with an Invalid in place of each bad part; ReadError.bad maps each bad part's path to its Invalid.

Wire-invariant

The core never parses or prints text. treekle.json_loads is the one reader: json_loads(text, T) parses and reads as T in one call. This is its whole body, minus overloads and docstring:

import json


def json_loads(
    text: str | bytes,
    target: object = ABSENT,
    *,
    hooks: Hooks = MappingProxyType({}),
    allow_imports: bool = False,
    strict: bool = True,
) -> object:
    tree = cast("MutablePlainTree", json.loads(text))
    if target is ABSENT:
        return tree
    return from_plain(
        tree,
        target,
        hooks=hooks,
        allow_imports=allow_imports,
        strict=strict,
    )

Why not another serializer

tl;dr: The pickle-style libraries have a nearly orthogonal feature set to the JSON-style libraries. The group either is forgiving about types (like callables) and forgoes type-strictness or cannot tolerate types to achieve safety. jsonpickle is arguably the most similar to treekle (and was our default choice until making treekle).

treekle pickle jsonpickle pydantic msgspec cattrs mashumaro
C/Rust ✅ ✅ ❌ ✅ ✅ ❌ ❌
stdlib ✅ ✅ ✅ ❌ ❌ ❌ ❌
plain ✅ ❌ ✅ ✅ ✅ ✅ ✅
typed result ✅ ❌ ❌ ✅ ✅ ✅ ✅
typed contents ✅ ❌ ❌ ✅ ✅ ✅ ✅
untagged input ✅ ❌ ❌ ✅ ✅ ✅ ✅
class from data ✅ ❌ ❌ ❌ ❌ ❌ ❌
callables ✅ ✅ ✅ ❌ ❌ ❌ ❌
shared refs ✅ ✅ ✅ ❌ ❌ ❌ ❌
best-effort ✅ ❌ ❌ ❌ ❌ ❌ ❌
GitHub stars -- stdlib 1.3k 29.0k 4.2k 1.1k 940

✅ = yes, ❌ = no. Star counts checked 2026-10-11. Corrections welcome -- open a PR.

  • C/Rust: the core is a compiled extension, not pure Python.
  • stdlib: part of the standard library, or importing nothing outside it.
  • plain: encodes to plain dicts, lists, and scalars, so any writer stores it: JSON, YAML, TOML.
  • typed result: a type checker infers T from decode(data, T), not Any.
  • typed contents: every nested field and element is checked against its annotation, e.g. list[Layer]. An isinstance check on jsonpickle's result would fix typed result, not this.
  • untagged input: data with no py/* tags reads as the declared type, so hand-written config works.
  • class from data: decode builds the class the payload names by import path (a subclass, a Protocol implementation, or any class) and rejects one that does not fit the field's annotation.
  • callables: a function round-trips by import path, with no special field type.
  • shared refs: an object referenced twice decodes as one object; cycles too.
  • best-effort: bad input yields the partial value and every bad part's location.

Details: each cell is what a probe of jsonpickle 4.1, pydantic 2.13, msgspec 0.22, cattrs 26.2, and mashumaro 3.23 returned:

treekle pickle jsonpickle pydantic msgspec cattrs mashumaro
plain to_plain bytes only Pickler().flatten dump_python to_builtins unstructure encode
typed result Layer Any dict | list | ... Layer Layer Layer Layer
typed contents raises at layers[0].width no target type dict holding 'x' raises at layers[0].width raises at layers[0].width raises at layers[0].width raises at layers
untagged input Net raises: bytes only dict Net Net Net Net
class from data: subclass subclass subclass subclass base class, subclass fields dropped base class, subclass fields dropped base class, subclass fields dropped base class, subclass fields dropped
class from data: Protocol implementing class implementing class implementing class raises: no Protocol schema raises: no Protocol schema raises: no Protocol schema raises: no Protocol schema
class from data: object named class named class named class dict dict raises raises
class from data: misfit raises misfit accepted misfit accepted raises raises raises raises
callables same function same function same function raises raises raises raises
shared refs one object one object one object two copies two copies two copies two copies
best-effort partial value, all errors first error no error, returns dict all errors, no value first error all errors, no value first error
  • plain: the call that encodes to plain data.
  • typed result: what basedpyright infers for decoding a dataclass Layer.
  • typed contents: Net with layers: list[Layer], given layers[0].width = "x". jsonpickle with a top-level isinstance(obj, Net) check returned Net(layers=[{'width': 'x'}]).
  • untagged input: a valid Net payload with no py/* tags.
  • class from data: a payload naming a class, read into a base-class field, a Protocol field, and an object field. cattrs keeps the subclass with include_subclasses; pydantic and msgspec need a closed tagged union. "misfit": a payload naming a class that is neither a subclass of the base-class field nor an implementation of the Protocol field.
  • callables: a field holding a module-level function.
  • shared refs: one object in two fields.
  • best-effort: two bad fields.

One cycle shape fails to read: one through a dataclass decoded as its declared type.

Speed

Times are totals over the exp000 config of each of 53 priml baselines, with each library's time as a multiple of msgspec-struct's under ×.

  • warm: repeat calls on classes each library has already seen.
  • cold: the first call on classes no library has seen.
library warm encode (ms) × warm decode (ms) × cold encode (ms) × cold decode (ms) ×
msgspec-struct (reference) 1.16 1.0 0.35 1.0 1.50 1.0 12.65 1.0
msgspec-dataclass 1.17 1.0 ❌ 1.50 1.0 ❌
treekle-rust 1.26 1.1 0.32 0.9 2.51 1.7 13.92 1.1
pickle 5.01 4.3 1.97 5.6 5.73 3.8 3.15 0.2
treekle-python 18.43 15.9 26.81 76.4 40.93 27.2 31.47 2.5
jsonpickle 44.46 38.4 23.86 68.0 28.90 19.2 27.16 2.1
  • encode: each library on the config itself. msgspec is given enc_hook=repr, its only way past the callables a config holds, and writes no class names or shared references, so it writes less than treekle. Both msgspec rows encode alike.
  • decode: msgspec cannot decode the configs: its unions may not mix a class with anything but None. So decode times the closest thing every library reads: each config rebuilt as dataclasses holding only plain values. msgspec-struct reads it into tagged msgspec.Struct twins; msgspec-dataclass into the dataclasses themselves, which fails (❌) on 19 configs whose unions hold two dataclasses it cannot tell apart.
  • treekle-rust, treekle-python: the compiled core, built profile-guided as the release wheels are, and the Python fallback a platform without a wheel gets.

Python 3.14, one core of an Intel Core Ultra 7 255H. Reproduce with scripts/bench_configs.py.

Metadata

Release files for treekle 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for treekle 0.4.0
File Size Uploaded Provenance Actions
treekle-0.4.0.tar.gz 375.7 kB With provenance Details for treekle-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for treekle 0.4.0
File Actions
treekle-0.4.0-py3-none-any.whl Python 3 none any Details for treekle-0.4.0-py3-none-any.whl
treekle-0.4.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for treekle-0.4.0-cp314-cp314-win_amd64.whl
treekle-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for treekle-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
treekle-0.4.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64 Details for treekle-0.4.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
treekle-0.4.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for treekle-0.4.0-cp314-cp314-macosx_11_0_arm64.whl
treekle-0.4.0-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details for treekle-0.4.0-cp314-cp314-macosx_10_12_x86_64.whl
treekle-0.4.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for treekle-0.4.0-cp313-cp313-win_amd64.whl
treekle-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for treekle-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
treekle-0.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for treekle-0.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
treekle-0.4.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for treekle-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
treekle-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details for treekle-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl
treekle-0.4.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for treekle-0.4.0-cp312-cp312-win_amd64.whl
treekle-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for treekle-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
treekle-0.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for treekle-0.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
treekle-0.4.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for treekle-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
treekle-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details for treekle-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl

Total release size: 15.0 MB

Release files / treekle-0.4.0.tar.gz

Download URL treekle-0.4.0.tar.gz
Size 375.7 kB
Tags Source
SHA-256 checksum
How to use checksums
38c0e8df4ea638bc4edcf100e0025c8eda16d77c2a17f16324f91f9778d72086
BLAKE2b-256 checksum
How to use checksums
0c0bf7125898d88fec0ea1fa1bd54889c9db16cccd8881bdafb28401fd97f589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-py3-none-any.whl

Download URL treekle-0.4.0-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0677b657504e5b414bf4bb43740cce6fb1b71a322089aec841b72cc0f2b7b4a5
BLAKE2b-256 checksum
How to use checksums
5bca50699a0edf1df567fd26a723dbc7d5d541bb5e7e77c5e4e5a8119510931f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp314-cp314-win_amd64.whl

Download URL treekle-0.4.0-cp314-cp314-win_amd64.whl
Size 979.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
9733576c026da56548e1ef7a3e1318d6a6dcd000aea065d976973715b381a5fd
BLAKE2b-256 checksum
How to use checksums
4822d6080dc552a88d8867f9163a0addabdf50afd70a0b31c7176bd65ecf84da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL treekle-0.4.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 992.9 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b59b0d9981eede279c5db3e462bb4747a4c2e6c327c5c0aa117e15daf3e4c65a
BLAKE2b-256 checksum
How to use checksums
f6d8e15d2f2121be26bf399b17d37957ad461e15dd188670a903b6c009408618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL treekle-0.4.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 947.1 kB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
e735c92d57dd81d056c07b9ab3fcb075c08870f9fb13ce1ee6d4f01ece004634
BLAKE2b-256 checksum
How to use checksums
481f7b3f73499e4f94730709c36e7742ebf1a34602fca00be80d27f9b5433d65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL treekle-0.4.0-cp314-cp314-macosx_11_0_arm64.whl
Size 940.0 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d5e32313aeef814587b5e93e119f1e5ccbb2fc4698479287d35362bd69d09907
BLAKE2b-256 checksum
How to use checksums
a7920a97c998d9d7cafa98110e10798cb2a52903a158fe0b6bba639ad1684118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp314-cp314-macosx_10_12_x86_64.whl

Download URL treekle-0.4.0-cp314-cp314-macosx_10_12_x86_64.whl
Size 991.7 kB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
bbe5113ee1002b8fcf8d0f6f65539fb28210bbc196eb781613bd47ca889b007a
BLAKE2b-256 checksum
How to use checksums
e1436bb19819dfa50136deeaba84518c172f4e9131c62df706b6322e68075828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp313-cp313-win_amd64.whl

Download URL treekle-0.4.0-cp313-cp313-win_amd64.whl
Size 1.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
64b2675185fc9a1ecd1d76c028751e82ebbd932e662b7f05105a363a1c2a10d8
BLAKE2b-256 checksum
How to use checksums
d8c39b35606374814398edd456f2e36422081f3ad889aad49317c278a7d12be5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL treekle-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.0 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6824a24105f06d6121fe058bf93d0b38f33d8e722d17d56ef76c67c968521990
BLAKE2b-256 checksum
How to use checksums
4fb73fd0771a1a7a7b0b09a3ad94f03c9c6f42cf4f8c8967930d86f671d7bda5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL treekle-0.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 977.1 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
9e9b05061d4bc28d33a10689b4f8995d972c33bbaaef58226aa1d9c9fac9d4c5
BLAKE2b-256 checksum
How to use checksums
e6318fba5df69cf41bcaef101fad19a2f268a734b3ee6b653dc4939b86223f70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL treekle-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Size 967.3 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a071e147fef026a9f2a8799959cde74da9fdbc3bf8626b032c79a6542a8b1f17
BLAKE2b-256 checksum
How to use checksums
fab140175cdb66f96f9536896d5cafe3de505fb2201664095e29e494f921285c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl

Download URL treekle-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl
Size 1.0 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
5c7e9450b5f45c82d94ce8ad590944c6d440ac26d5aea255676ded3241e42f56
BLAKE2b-256 checksum
How to use checksums
2d20a0a7dd74872fc6418139011a65d3dc0dbf34b57f9f4e9f93733504da3f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp312-cp312-win_amd64.whl

Download URL treekle-0.4.0-cp312-cp312-win_amd64.whl
Size 944.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
2196efaa448ede6fa75ac36214a4d697d12e8dbf7335fb819c6beaea7abfa3d2
BLAKE2b-256 checksum
How to use checksums
3dbe10a4fc13a8e584b540a7b2dd9bed2137197999721a899ab5a739494ed3a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL treekle-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 978.3 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
69d9ad13a0cdc399293a6fda86b84607aeddba0a072aae8d96518a7da36a7662
BLAKE2b-256 checksum
How to use checksums
0fda95deff1dfa628fb6ffe3e1946c6bdc17f81f53078724bf81eb2d85696085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL treekle-0.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 927.9 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
c57405cb3c49db43ab019797a15bffa07bf746564b8e66dee816e648b0f6dcf2
BLAKE2b-256 checksum
How to use checksums
63ef47c870254221ed943e949b4ea59e3c011bb98dba2f0eae8eadf565cd22e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL treekle-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Size 920.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9ba2a0614c7dbe2e799836faea594281ce86364dab01de7048ea435a7f539f91
BLAKE2b-256 checksum
How to use checksums
09aa2050f0b24c4b269e84e3158b315364985378eeb9b25e1784cd76438efa12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / treekle-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl

Download URL treekle-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl
Size 985.2 kB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3a744eff1bae46a5d39eb35475c1c9861773699d21821813cc604a19a164fcbd
BLAKE2b-256 checksum
How to use checksums
dc835d8beb882495925c0811367760f8c0893da1a017110746ba97897fe54f38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for treekle 0.4.0

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.

Full provenance

All 17 files in this release have been uploaded with provenance metadata.

Select from 17 files

Attestation for treekle-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page