Skip to main content

Least-fixpoint cached-property infrastructure for mutual recursion

Project description

fixpoints

Least-fixpoint cached-property infrastructure for mutual recursion.

fixpoints provides fixpoint_cached_property and fixpoint_dependent, drop-in replacements for functools.cached_property that resolve mutually recursive computations by least-fixpoint iteration. When reentry (a cycle) is detected, the outermost caller drives a digest loop that re-evaluates participants until their values stabilize, starting from a configurable bottom value.

This package depends only on the Python standard library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fixpoints-0.4.0.post85.dev0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fixpoints-0.4.0.post85.dev0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file fixpoints-0.4.0.post85.dev0.tar.gz.

File metadata

  • Download URL: fixpoints-0.4.0.post85.dev0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fixpoints-0.4.0.post85.dev0.tar.gz
Algorithm Hash digest
SHA256 0d18c1debefb6a2d0695d6ec15fac8e4c2edbc3d3aee04a62437d47bbba15d1d
MD5 40c4eef18bb0b3c43a6a9883a361b13d
BLAKE2b-256 6a8a3c9641f1e3e0e8e5fc3908aabadaee90d92e49ae0133865b66c4137c543f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fixpoints-0.4.0.post85.dev0.tar.gz:

Publisher: ci.yml on Atry/MIXINv2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fixpoints-0.4.0.post85.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for fixpoints-0.4.0.post85.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 84ee64d587bd6e10b3fa19a3cbac82d61b8e60e3e2ff123e72dfacd4634343e6
MD5 0829fafb911ecdc0c69613ad3e0a5efa
BLAKE2b-256 d2593f94996cedab561b75ea219f0453735004aae67412ae7e2c41e341b7cb09

See more details on using hashes here.

Provenance

The following attestation bundles were made for fixpoints-0.4.0.post85.dev0-py3-none-any.whl:

Publisher: ci.yml on Atry/MIXINv2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page