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

uv add treekle

See Install for additional details.

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,
    )

Install

uv add treekle

If you're missing uv,

  • Mac
    brew install uv
    
  • Linux
    sudo apt install -y curl
    curl -LsSf https://astral.sh/uv/install.sh | sh
    

Or with pip,

python -m pip install treekle

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.6 1.0 0.50 1.0 1.9 1.0 16 1.0
msgspec-dataclass 1.6 1.0 ❌ 1.9 0.99 ❌
treekle-rust 1.4 0.85 0.47 0.93 3.4 1.8 15 0.90
pickle 8.3 5.2 2.6 5.2 7.3 3.8 3.9 0.24
treekle-python 37 23 37 74 60 31 44 2.7
jsonpickle 59 36 30 60 38 20 35 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 20 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.2

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.2
File Size Uploaded Provenance Actions
treekle-0.4.2.tar.gz 381.7 kB With provenance Details for treekle-0.4.2.tar.gz

Built distributions (wheels)

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

Total release size: 15.2 MB

Release files / treekle-0.4.2.tar.gz

Download URL treekle-0.4.2.tar.gz
Size 381.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6f234c21776ef899da4274e04d2e01ef06fb945d46d6e6151409d950d0052b3e
BLAKE2b-256 checksum
How to use checksums
4d66d9974dc2957722323b79247bc7907589b3c13fac497916bcee6fb7f32c8e
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-py3-none-any.whl
Size 72.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3dff3462d276c57092445d68c8fc5c16f9de418280b72860c84d5f96fda6733d
BLAKE2b-256 checksum
How to use checksums
e0a25338b432bac20c063e5fd27914ad80f7db12ed316d23f622489bcf6a749f
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp314-cp314-win_amd64.whl
Size 810.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
750dedad231398af2f8942e617bf0d48e7c32087b21aeeec030dd62c4a1fb977
BLAKE2b-256 checksum
How to use checksums
ad8508fc3e039331415ad74ac6fa41523e1668abedf1a61fea03cb1ad26d18da
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 856.7 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
03dc415f36f6427386b0c98e22c86f9bcb201ba421ff485384e27894a63f1021
BLAKE2b-256 checksum
How to use checksums
78b67259d895f3d358967ac565c2adc2406c99bdb34d2edb00b78b538008e206
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 822.5 kB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
0d9ffffb4ee83e9f2926532c61272fe2ca11c784f52352cb20e95e19d2952018
BLAKE2b-256 checksum
How to use checksums
e17984a6ef01d5fc4d93a986d7f889f76f7a80195d387b66980246a25bfbf271
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp314-cp314-macosx_11_0_arm64.whl
Size 807.8 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0803b1f3646fad4eb0cddfef024eaa4da194119491b31a347de5c4ee90be70bc
BLAKE2b-256 checksum
How to use checksums
97688b6e52c4628220547eed4aa0039b18546975189cd58e9cba7370251de777
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp314-cp314-macosx_10_12_x86_64.whl
Size 850.5 kB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
2d6756b8a1ac798dc3b5068d7daaebfcf0aa06fe8b91481e0c04adcd07d86c19
BLAKE2b-256 checksum
How to use checksums
6946863bf0ac7d92d7da99007e2c2d65f230baa97852b99d57600925f75a6180
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp313-cp313-win_amd64.whl
Size 1.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
bbf20f12bfffe439c2b6f1cf21a486e5bf321bfae7c760b0fb900957860af77a
BLAKE2b-256 checksum
How to use checksums
fbc6f8b9395a0072383120fc8354ec58651b188602e238709813a5f15d264044
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9254b062956136b03fbce1926ca0a5414e4735012051f19b7963bd9a528e26ad
BLAKE2b-256 checksum
How to use checksums
029b2cacefac4c3e0027b71e4cb6017ddb97b1fd76700281087b5d5f4b64527f
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.0 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
d57b4b6a6fb377d433278d050ba4a88a0a4bef1ed78386a0e20613f03e6573af
BLAKE2b-256 checksum
How to use checksums
f6151dc3dbfd6aab189fb08347b211c79bf51ef5f739f3e45325f3d008fbbade
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp313-cp313-macosx_11_0_arm64.whl
Size 1.0 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
41d23d55cab6841c131e51ab1c9c37244aa3f5d1793f7fd0e91ff33298b455dc
BLAKE2b-256 checksum
How to use checksums
6c7a02ead03eef80946f602958d781d309f3bae44c74381a0ca3abc70b7db875
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp313-cp313-macosx_10_12_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
9ac3c37d71a91933f17238405f8da722e2aa843a4274d9a10fab7403028c155e
BLAKE2b-256 checksum
How to use checksums
96e17a69f7790562f04c3d539671773def3d1c1c74edcbe17a97a0407a764162
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp312-cp312-win_amd64.whl
Size 1.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a9a6899ecae4025c140cf1e2fa6f65d914d6f60ac07b84c6c7786faf864b4ea6
BLAKE2b-256 checksum
How to use checksums
f03789fa652ca07f6849e2cc8add4cdcf7aed0b476561c00ff4f8d606f4ac20c
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9880a9215f5eb45e8fd083f4a2df4c4c36e6293b3fd42a55653f0bce623a4b57
BLAKE2b-256 checksum
How to use checksums
967f0f5084d4a7f39a8ac1d7e933516014f727138d8debd9ad8a51aa10c38ea1
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.0 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
04c8b446c5b0af00b27c28b68da0e24ebf662b756950f1b4f6880df74e98eed1
BLAKE2b-256 checksum
How to use checksums
ea2a9359ddbf75cf1be336dd1ae0b2aeb14e15bf4fdde2f17d6982f6b6dbbbaa
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp312-cp312-macosx_11_0_arm64.whl
Size 1.0 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1df4d225ed94db71118536d3e75f1e60594aa8709ea69d6cba638cb75b682c96
BLAKE2b-256 checksum
How to use checksums
d2f079f68c2791cfec29cf47f9174b7e638c302ae635ebe020a63b3e5e61ebdc
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 Nov 5, 2026.

Transparency log

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

Download URL treekle-0.4.2-cp312-cp312-macosx_10_12_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
5ffb0707c37166973054bb555b26f0d4f93f8a61115e2f21a78029feb4c0c29d
BLAKE2b-256 checksum
How to use checksums
985bc7efa3f49bcd9706b7d7e4d03336d2be6f7307e0f2a50fd5fd31b1d3483a
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 Nov 5, 2026.

Transparency log

Security for treekle 0.4.2

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.2.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 Nov 5, 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