Skip to content

Add project: atomic-lru-cache#275

Open
ElromEvedElElyon wants to merge 1 commit intolukasmasuch:mainfrom
ElromEvedElElyon:add-atomic-lru-cache
Open

Add project: atomic-lru-cache#275
ElromEvedElElyon wants to merge 1 commit intolukasmasuch:mainfrom
ElromEvedElElyon:add-atomic-lru-cache

Conversation

@ElromEvedElElyon
Copy link
Copy Markdown

@ElromEvedElElyon ElromEvedElElyon commented Apr 14, 2026

What kind of change does this PR introduce?

  • Add a project

Description:

Adds atomic-lru-cache to the caching category.

atomic-lru-cache is a persistent LRU cache with atomic writes and portable file locking. It is a drop-in replacement for functools.lru_cache that survives process restarts, without requiring SQLite or any external dependencies (pure stdlib). Uses os.replace for atomic writes and msvcrt/fcntl for portable, fork-safe file locking, making it suitable for multi-process workloads where existing options (cachetools, cachier, cached-property) are either in-memory only or carry heavier dependencies.

Repo: https://github.com/ElromEvedElElyon/atomic-lru-cache

Checklist:

  • I have read the CONTRIBUTING guidelines.
  • I have not modified the README.md file (only projects.yaml).

Summary by cubic

Added atomic-lru-cache to the caching category. This surfaces a persistent, atomic-write LRU cache for Python that works across processes without external dependencies.

Written for commit 19f64fe. Summary will update on new commits.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants