Skip to main content

xdol

Extended Data Object Layers - dol-based tools

To install: pip install xdol

Documentation

Persistent memoizer (record/replay)

Wrap a costly function (a paid API, a slow render) so the first run records its result to disk and every later run replays it:

from xdol import memoize_calls


@memoize_calls(
    store="tests/cassettes", mode="record"
)  # default mode is replay-only: a miss raises
def slow_square(x):
    return {"result": x * x}

Stable keys (xdol.keys), text / JSON / binary / paired .json+.bin codecs, any MutableMapping as the store (a folder, S3), spend-safe replay by default. See misc/docs/persistent_memoizer.md.

Metadata

Release files for xdol 0.1.42

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

Source distribution (sdist)

Source distribution for xdol 0.1.42
File Size Uploaded Provenance Actions
xdol-0.1.42.tar.gz 94.9 kB Without provenance Details for xdol-0.1.42.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xdol 0.1.42
File Interpreter ABI Platform Actions
xdol-0.1.42-py3-none-any.whl Python 3 none any Details for xdol-0.1.42-py3-none-any.whl

Total release size: 164.1 kB

Release files / xdol-0.1.42.tar.gz

Download URL xdol-0.1.42.tar.gz
Size 94.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cc1fea4755ba7e12dca28c15af98ff009f8b7f3b21d7c03f20d00e5819420bad
BLAKE2b-256 checksum
How to use checksums
2c3007165ad303925fcf1248556f3da9804b8389f1dd07f6bec1a5de5f14fb10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xdol-0.1.42-py3-none-any.whl

Download URL xdol-0.1.42-py3-none-any.whl
Size 69.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c03ec918e21a9bbb7895ae3adde2ae4239e051ad750924eaf0fc3126a5f0747f
BLAKE2b-256 checksum
How to use checksums
3c65aa74d252000eb62c7756aebea9f01d9c1927ecc961f7adc4ea94e33e7d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for xdol 0.1.42

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.42 This release

2 release files No provenance

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