Back to Explore

aio-libs/propcache

GitHub
2 updates · last 90 days1 watchersOpen source

Last release: 3 weeks ago

propcache is a Python 3 library that provides a fast implementation of cached properties for Python 3.10+. It is designed to be nearly identical to functools.cached_property, with an additional under_cached_property option that caches using self._cache. Useful for speeding up computed properties in Python applications, including optional pure Python or compiled installs.

Project status

  • Actively maintained, with the latest upstream push on 2026-05-18 and two consecutive update tags in early May 2026 (v0.5.1 then v0.5.2), suggesting ongoing development rather than maintenance mode.
  • Update cadence appears moderate, with several releases in 2025 (v0.4.0 and v0.4.1 in October 2025, v0.3.1 through v0.3.2 from March to June 2025) and another burst in May 2026 (v0.5.1 and v0.5.2).

AI summary generated 2 weeks ago

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v0.5.2

    3 weeks ago

    The v0.5.2 release primarily bumps the package version to 0.5.2. The code diff for this tag is minimal, consisting of a version string update in src/propcache/__init__.py and a changelog entry stating there are no significant changes.

  • v0.5.1

    3 weeks ago

    Release v0.5.1 has release notes that state no significant changes. However, the code diff shows multiple functional packaging and build-backend modifications, plus changes to supported Python versions and CI build matrices.

    Features
  • v0.4.1

    7 months ago

    v0.4.1 focuses on fixing a reference leak in the C extension implementations of cached_property and under_cached_property. It also updates the reusable-build-wheel workflow default OS to ubuntu-latest.

  • v0.4.0

    8 months ago

    v0.4.0 primarily introduces a performance optimization in the Cython implementation of cached properties by changing how the cache is checked and how Python C-API dict access is performed. It also expands CI and release build coverage for additional platforms, including arm64 Windows wheels and CPython 3.14 testing, and updates changelog/metadata.

    Features
  • v0.3.2

    11 months ago

    Release v0.3.2 focuses on build and documentation improvements. The main documented change is moving Cython usage to 3.1 across the build path, and making Cython line tracing opt-in via the with-cython-tracing build config (or PROPCACHE_CYTHON_TRACING).

  • v0.3.1

    3/26/2025

    Release v0.3.1 is described as a typing-focused bug fix, aimed at improving type robustness. The code diff mostly matches that claim, but it also includes a few runtime-relevant and build-backend-adjacent modifications that are not mentioned in the release notes.

  • v0.3.0

    2/20/2025

    v0.3.0 adds support for building and testing CPython 3.13 free-threaded (cp313t) artifacts, including C extension compilation tweaks and CI configuration. The release notes also mention CI pip dependency caching changes via `re-actors/cache-python-deps`. The code diff contains additional packaging and dependency-constraint changes that are not explicitly described in the release notes.

    Features
  • v0.2.1

    12/1/2024

    Release v0.2.1 focuses on small bug fixes around the Cython implementations of the cached property decorators, plus dropping Python 3.8 support. It also includes CI and packaging build-system adjustments (ex: Cython pre-release handling) that primarily affect how wheels/sdists are produced.

    Breaking
  • v0.2.0

    10/7/2024

    Release 0.2.0 focuses on improved typing and documentation for the cached_property and under_cached_property decorators. It also introduces a new recommended import path (propcache.api) and switches the project to a src layout.

    Features
  • v0.1.0

    10/3/2024

    v0.1.0 primarily documents adding armv7l wheels to the release artifacts. The code diff also shows multiple build/CI related adjustments, plus a packaging backend change that renames a Cython-tracing opt-out environment variable.

    Features