Skip to main content

plato-temporal-validity

Temporal validity — Valid, Grace, Expired lifecycle with refresh and decay.

Part of the PLATO framework — deterministic AI knowledge management through tile-based architecture.

Installation

pip install plato-temporal-validity

Usage

from plato_temporal_validity import TemporalValidity

tv = TemporalValidity.fresh(ttl_days=7)

print(tv.state)          # TemporalState.VALID
print(tv.decay_factor)   # 1.0 (full score)
print(tv.is_valid())     # True

# After 8 days:
print(tv.state)          # TemporalState.GRACE
print(tv.decay_factor)   # 0.5-1.0 (degraded)

# Refresh
tv.refresh()  # resets the window
print(tv.state)  # TemporalState.VALID again

Lifecycle

VALID (1.0x score) → GRACE (0.5-1.0x decay) → EXPIRED (0.0x)
        ↑                                         
    refresh() ← max 3 extensions

Zero external dependencies. Compatible with Python 3.8+.

GitHub

Metadata

Release files for plato-temporal-validity 0.1.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 plato-temporal-validity 0.1.0
File Size Uploaded Provenance Actions
plato_temporal_validity-0.1.0.tar.gz 3.0 kB Without provenance Details for plato_temporal_validity-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plato-temporal-validity 0.1.0
File Interpreter ABI Platform Actions
plato_temporal_validity-0.1.0-py3-none-any.whl Python 3 none any Details for plato_temporal_validity-0.1.0-py3-none-any.whl

Total release size: 6.6 kB

Release files / plato_temporal_validity-0.1.0.tar.gz

Download URL plato_temporal_validity-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c9045d87ffc271a69072127b71ba6c584ff9f3152d3ed648584c77c319b27a0e
BLAKE2b-256 checksum
How to use checksums
bdd93ef7dff0080c5e99c39860879ef28588603bd6efb02d8d144b16a7708506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / plato_temporal_validity-0.1.0-py3-none-any.whl

Download URL plato_temporal_validity-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
619aaaa0b02957da6b00003c57497bda113f486aa387fb837da749228fa1529e
BLAKE2b-256 checksum
How to use checksums
275a8875af956d76d11c2aca9ed0cc3fab4e07a2ab6a05f6f3a7aece82e39e11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for plato-temporal-validity 0.1.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.

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