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.6

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.6
File Size Uploaded Provenance Actions
treekle-0.4.6.tar.gz 382.4 kB With provenance Details for treekle-0.4.6.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for treekle 0.4.6
File Actions
treekle-0.4.6-py3-none-any.whl Python 3 none any Details for treekle-0.4.6-py3-none-any.whl
treekle-0.4.6-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for treekle-0.4.6-cp314-cp314-win_amd64.whl
treekle-0.4.6-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.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
treekle-0.4.6-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.6-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
treekle-0.4.6-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for treekle-0.4.6-cp314-cp314-macosx_11_0_arm64.whl
treekle-0.4.6-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details for treekle-0.4.6-cp314-cp314-macosx_10_12_x86_64.whl
treekle-0.4.6-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for treekle-0.4.6-cp313-cp313-win_amd64.whl
treekle-0.4.6-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.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
treekle-0.4.6-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.6-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
treekle-0.4.6-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for treekle-0.4.6-cp313-cp313-macosx_11_0_arm64.whl
treekle-0.4.6-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details for treekle-0.4.6-cp313-cp313-macosx_10_12_x86_64.whl
treekle-0.4.6-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for treekle-0.4.6-cp312-cp312-win_amd64.whl
treekle-0.4.6-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.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
treekle-0.4.6-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.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
treekle-0.4.6-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for treekle-0.4.6-cp312-cp312-macosx_11_0_arm64.whl
treekle-0.4.6-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details for treekle-0.4.6-cp312-cp312-macosx_10_12_x86_64.whl

Total release size: 15.3 MB

Release files / treekle-0.4.6.tar.gz

Download URL treekle-0.4.6.tar.gz
Size 382.4 kB
Tags Source
SHA-256 checksum
How to use checksums
38ea4d71cf3d4bddeb29a8c9ccc5d2ecbaf8cb2018c50661ccbf54ed198d042c
BLAKE2b-256 checksum
How to use checksums
8a5e8f6fc63eca00bfad25373b21719384e45830e994bcfaa13ffc8f14ac7bbd
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-py3-none-any.whl
Size 75.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b300fdcb4be1f64c91967122fdfedb8d020688d9f341f39f18ad1c90ef6b8d79
BLAKE2b-256 checksum
How to use checksums
873bbe499adcc12362d6258780950857bf73d79e5a4ed4b4cde96b08fae0fdea
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-cp314-cp314-win_amd64.whl
Size 812.5 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
cb7332ce054ee22629a9e6d8a22abb3945e749c8843948f1db53a969692ff189
BLAKE2b-256 checksum
How to use checksums
c5051858174ea2e1a565435c1a870f207a17a1b8759f9a48b653417914204b29
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 860.1 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
51e00ebd58890c1b6d2ad5de108a7e2647190a05ae6fd4e9603bd33c3691355f
BLAKE2b-256 checksum
How to use checksums
70821e81c8f5c3e200e2279a59a68066ae1feea37a082baca11d52326f389987
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 824.9 kB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b308db939539d07dd6e7db8129b39d47d8f517f221d5c6ce6abfaf530faa7381
BLAKE2b-256 checksum
How to use checksums
ae4794a0d7c6add9b744ce7962a190ea9b7404a6445019f1a90c4fb061b45e3e
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-cp314-cp314-macosx_11_0_arm64.whl
Size 810.4 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d9c74f444bb14118bbafd7bb6a7bf075da8921257ca5d24bbca5e2f618e7d826
BLAKE2b-256 checksum
How to use checksums
815ba5142b883d600014364b5a2abe5476ccaa040ed30ede5f68244620870c1e
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-cp314-cp314-macosx_10_12_x86_64.whl
Size 853.1 kB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
9c2ba769b9fbe8e3acd9226ecd080e5261bbc369411c67f4258396b659f092dd
BLAKE2b-256 checksum
How to use checksums
74e40ebc4a41e8ec2d4337ac6ba8cf24d0a75162d57f23072ac9acd5a91e6717
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-cp313-cp313-win_amd64.whl
Size 1.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
c5f37c1b9908dfddf3f940c93389e303f080fd22c38b6e5af50e8f7319baa9db
BLAKE2b-256 checksum
How to use checksums
0660c60aa7b9bbb04d8c7730263f5e8e73cfd01725bec9efc9c47a0486dbaf5d
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-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
c3061777e91a205c317289b45dcf61933b1a6a4b9396af7f6794f178c2568104
BLAKE2b-256 checksum
How to use checksums
e8c180192a200d052243870cdf16fd182edfb50f02f0318019059fbe61f1bb7b
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-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
e92d0ec60ebdfce4dc9c5633ba769ee5d3f3312be167c2dd7935b88bbe064f2b
BLAKE2b-256 checksum
How to use checksums
06497a97416739b694963d105a2da607da0f685d2709d76847fb30a710119085
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-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
9fc2d898a8baf83e434a4dbbd34bcb0e995783a2f67d0bf448d192873590e64b
BLAKE2b-256 checksum
How to use checksums
e80c6935df8023daed4efb9a38459a666db1234b0f283a56d759cd948423f453
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-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
656ae2a3d90940fea9e38494b67320375636621b8b283fa55b66ff1add132c05
BLAKE2b-256 checksum
How to use checksums
b724eaeb515dee8ee8ff42a8893fe0b4ab0c583006960d3b9f29ec3024b76933
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-cp312-cp312-win_amd64.whl
Size 1.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
357e741b446995d4ce6321a62e294d242cc770a609576f4c4e15a9df093d435d
BLAKE2b-256 checksum
How to use checksums
a0c2fe96b8881773261bf20fa2f80d7e7912ed8c90eb0367f2e8a03eebea4dfb
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-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
7545229afa87945b0435bf0d878b94b6b070887e022f19f998cc9c4c44cb430f
BLAKE2b-256 checksum
How to use checksums
7316bdb503d95207c28660d4179e2e88b7c75bb59cfc0fe62ebc134d4bdc2aeb
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-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
8208de001d1968a9cf85695770fdeb38ca5e3b2664db00f800fab1a226599bd0
BLAKE2b-256 checksum
How to use checksums
4d853ad451401056ed8907ea23f1c6eab9b8190bfe0cf7d5b0e79ca281d0f886
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-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
ac5679565004146d4e7dbeb07925bdf4d811b876a893aeb70b350b8fce597b47
BLAKE2b-256 checksum
How to use checksums
358eb7f379a218821250f48c4940e6f6f03e6b37eb80fa63db76bf9f7ff66062
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 19, 2026.

Transparency log

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

Download URL treekle-0.4.6-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
6858ef277c35090ef9d84c897a89cc7206f07d772ae5fed127f9db6eed4b0c53
BLAKE2b-256 checksum
How to use checksums
45b538e4e873beacb8cac17fa6578783664e0ce6d6c2c4e9670c9966acb3e148
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 19, 2026.

Transparency log

Security for treekle 0.4.6

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.6.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 19, 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