python-cachebox
Port variant v14
Summary Memoizing and caching library (3.14)
Package version 6.2.11
Homepage https://github.com/awolverp/cachebox
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v15
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 27 NOV 2026, 01:15:48 UTC
Port created 16 MAY 2026, 11:47:46 UTC
Subpackage Descriptions
single
# Cachebox *The fastest caching Python library written in Rust* [**Releases**] | [**Benchmarks**] | [**Issues**] [License] [Release] [Python Versions] [Downloads]
------- ### What does it do? You can easily perform powerful caching operations in Python as fast as possible. This can make your application a lot faster and it can be a good choice in complex applications. **Ideal for optimizing large-scale applications** with efficient, low-overhead caching. **Key Features:** - ๐Ÿš€ Extremely fast (10-50x faster than other caching libraries -- [*benchmarks*]) - ๐Ÿ“Š Minimal memory footprint (50% of standard dictionary memory usage) - ๐Ÿ”ฅ Full-featured and user-friendly - ๐Ÿงถ Completely thread-safe - ๐Ÿ”ง Tested and correct - **\[R\]** written in Rust for maximum performance - ๐Ÿค Compatible with Python 3.9+ (PyPy and CPython) - ๐Ÿ“ฆ Supports 7 advanced caching algorithms ### Page Contents - โ“ [**When do I need caching and `cachebox`?**] - ๐ŸŒŸ [**Why `cachebox`?**] - ๐Ÿ”ง [**Installation**] - ๐Ÿ’ก [**Preview**] - ๐ŸŽ“ [**Getting started**] - โœ๏ธ [**Incompatible changes**] - ๐Ÿ“Œ [**Tips & Notes**] ### When do I need caching and `cachebox`? - ๐Ÿ“ˆ **Frequent Data Access** \ If you need to access the same data multiple times, caching can help reduce the number of database queries or API calls, improving performance. - ๐Ÿ’Ž **Expensive Operations** \ If you have operations that are computationally expensive, caching can help reduce the number of times these operations need to be performed. - ๐Ÿš— **High Traffic Scenarios** \ If your application handles high traffic, caching can help reduce the load on your server by reducing the number of requests that need to be processed. - #๏ธโƒฃ **Web Page Rendering** \ If you are rendering web pages, caching can help reduce the time it takes to generate the page by caching the results of expensive rendering operations. Caching HTML pages can speed up the delivery of static content. - ๐Ÿšง **Rate Limiting** \ If you have a rate limiting system in place, caching can help reduce the number of requests that need to be processed by the rate limiter. Also, caching can help you to manage rate limits imposed by third-party APIs by reducing the number of requests sent. - ๐Ÿค– **Machine Learning Models** \ If your application frequently makes predictions using the same input data, caching the results can save computation time. ### Why `cachebox`? - **โšก Rust** \ It uses the *Rust* language for high-performance. - **๐Ÿงฎ SwissTable** \ It uses Google's high-performance SwissTable hash map. Credit to [hashbrown]. - **โœจ Low memory usage** \ It has very low memory usage. - **โญ Zero Dependency** \ As we said, `cachebox` is written in Rust so you don't have to install any other dependecies. - **๐Ÿงถ Thread safe** \ It's completely thread-safe and uses locks to prevent problems. - **๐Ÿ‘Œ Easy To Use** \ You only need to import it and choose a cache implementation to use. It will behave like a dictionary. - **๐Ÿšซ Avoids Cache Stampede** \ It avoids [cache stampede] by using a distributed lock system.
Configuration Switches (platform-specific settings discarded)
PY314 ON Build using Python 3.14 PY315 OFF Build using Python 3.15
Package Dependencies by Type
Build (only) python-maturin:single:v14
rust:single:std
python314:dev:std
python-pip:single:v14
python-setuptools:single:v14
python-wheel:single:v14
python-build:single:v14
python-installer:single:v14
autoselect-python:single:std
Build and Runtime python314:primary:std
Runtime (only) ravensys-gcc:libs:std (single subpackage)
Download groups
main mirror://PYPI/c/cachebox
cr01 mirror://CRATES/allocator-api2:0.4.0
cr02 mirror://CRATES/android_system_properties:0.1.6
cr03 mirror://CRATES/autocfg:1.5.1
cr04 mirror://CRATES/bitflags:2.13.2
cr05 mirror://CRATES/bumpalo:3.20.4
cr06 mirror://CRATES/cc:1.11.2
cr07 mirror://CRATES/cfg-if:1.0.5
cr08 mirror://CRATES/chrono:0.4.45
cr09 mirror://CRATES/core-foundation-sys:0.8.7
cr10 mirror://CRATES/fastrand:2.5.0
cr11 mirror://CRATES/find-msvc-tools:0.1.15
cr12 mirror://CRATES/futures-core:0.3.34
cr13 mirror://CRATES/futures-task:0.3.34
cr14 mirror://CRATES/futures-util:0.3.34
cr15 mirror://CRATES/heck:0.5.0
cr16 mirror://CRATES/iana-time-zone:0.1.65
cr17 mirror://CRATES/iana-time-zone-haiku:0.1.2
cr18 mirror://CRATES/js-sys:0.3.107
cr19 mirror://CRATES/libc:0.2.191
cr20 mirror://CRATES/lock_api:0.4.14
cr21 mirror://CRATES/log:0.4.35
cr22 mirror://CRATES/num-traits:0.2.19
cr23 mirror://CRATES/once_cell:1.21.4
cr24 mirror://CRATES/parking_lot:0.12.5
cr25 mirror://CRATES/parking_lot_core:0.9.12
cr26 mirror://CRATES/pin-project-lite:0.2.17
cr27 mirror://CRATES/portable-atomic:1.15.0
cr28 mirror://CRATES/proc-macro2:1.0.107
cr29 mirror://CRATES/pyo3:0.30.1
cr30 mirror://CRATES/pyo3-build-config:0.30.1
cr31 mirror://CRATES/pyo3-ffi:0.30.1
cr32 mirror://CRATES/pyo3-macros:0.30.1
cr33 mirror://CRATES/pyo3-macros-backend:0.30.1
cr34 mirror://CRATES/quote:1.0.47
cr35 mirror://CRATES/redox_syscall:0.5.18
cr36 mirror://CRATES/rustversion:1.0.23
cr37 mirror://CRATES/scopeguard:1.2.0
cr38 mirror://CRATES/shlex:2.0.1
cr39 mirror://CRATES/slab:0.4.12
cr40 mirror://CRATES/smallvec:1.16.6
cr41 mirror://CRATES/syn:2.0.119
cr42 mirror://CRATES/syn:3.0.10
cr43 mirror://CRATES/target-lexicon:0.13.6
cr44 mirror://CRATES/unicode-ident:1.0.27
cr45 mirror://CRATES/wasm-bindgen:0.2.130
cr46 mirror://CRATES/wasm-bindgen-macro:0.2.130
cr47 mirror://CRATES/wasm-bindgen-macro-support:0.2.130
cr48 mirror://CRATES/wasm-bindgen-shared:0.2.130
cr49 mirror://CRATES/windows-core:0.62.2
cr50 mirror://CRATES/windows-implement:0.60.2
cr51 mirror://CRATES/windows-interface:0.59.3
cr52 mirror://CRATES/windows-link:0.2.1
cr53 mirror://CRATES/windows-result:0.4.1
cr54 mirror://CRATES/windows-strings:0.5.1
Distribution File Information
1117259f379e173d5cb21817630427d78190e8a5f2363bfe11859ab7a30c6eb6 287918 rust/crates/cachebox-6.2.11.tar.gz c880a97d28a3681c0267bd29cff89621202715b065127cd445fa0f0fe0aa2880 66926 rust/crates/allocator-api2-0.4.0.tar.gz ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc 5625 rust/crates/android_system_properties-0.1.6.tar.gz f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53 18911 rust/crates/autocfg-1.5.1.tar.gz 3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06 51678 rust/crates/bitflags-2.13.2.tar.gz 87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db 99233 rust/crates/bumpalo-3.20.4.tar.gz 33ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45 150699 rust/crates/cc-1.11.2.tar.gz 4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600 9578 rust/crates/cfg-if-1.0.5.tar.gz 1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327 240866 rust/crates/chrono-0.4.45.tar.gz 773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b 37712 rust/crates/core-foundation-sys-0.8.7.tar.gz da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223 20782 rust/crates/fastrand-2.5.0.tar.gz 1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48 31634 rust/crates/find-msvc-tools-0.1.15.tar.gz 92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e 14692 rust/crates/futures-core-0.3.34.tar.gz cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd 11376 rust/crates/futures-task-0.3.34.tar.gz 0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc 169782 rust/crates/futures-util-0.3.34.tar.gz 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea 11517 rust/crates/heck-0.5.0.tar.gz e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470 34079 rust/crates/iana-time-zone-0.1.65.tar.gz f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f 7185 rust/crates/iana-time-zone-haiku-0.1.2.tar.gz 8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a 136092 rust/crates/js-sys-0.3.107.tar.gz 65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a 855401 rust/crates/libc-0.2.191.tar.gz 224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965 29249 rust/crates/lock_api-0.4.14.tar.gz 5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c 54093 rust/crates/log-0.4.35.tar.gz 071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841 51631 rust/crates/num-traits-0.2.19.tar.gz 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 35010 rust/crates/once_cell-1.21.4.tar.gz 93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a 46735 rust/crates/parking_lot-0.12.5.tar.gz 2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1 34110 rust/crates/parking_lot_core-0.9.12.tar.gz a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd 31034 rust/crates/pin-project-lite-0.2.17.tar.gz 05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85 202705 rust/crates/portable-atomic-1.15.0.tar.gz 985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9 59588 rust/crates/proc-macro2-1.0.107.tar.gz 229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4 1345706 rust/crates/pyo3-0.30.1.tar.gz 70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700 42996 rust/crates/pyo3-build-config-0.30.1.tar.gz 5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4 93717 rust/crates/pyo3-ffi-0.30.1.tar.gz c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60 9055 rust/crates/pyo3-macros-0.30.1.tar.gz 38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b 97593 rust/crates/pyo3-macros-backend-0.30.1.tar.gz 1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001 31622 rust/crates/quote-1.0.47.tar.gz ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d 30747 rust/crates/redox_syscall-0.5.18.tar.gz cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f 21013 rust/crates/rustversion-1.0.23.tar.gz 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49 11619 rust/crates/scopeguard-1.2.0.tar.gz f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba 19332 rust/crates/shlex-2.0.1.tar.gz 0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5 19080 rust/crates/slab-0.4.12.tar.gz 3244542535d5de959d90ec55d1b5ff0fd2bb7b1310223907d5f11932847f7b59 34956 rust/crates/smallvec-1.16.6.tar.gz 872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297 307407 rust/crates/syn-2.0.119.tar.gz 4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79 314214 rust/crates/syn-3.0.10.tar.gz 8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da 27375 rust/crates/target-lexicon-0.13.6.tar.gz a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563 48807 rust/crates/unicode-ident-1.0.27.tar.gz a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c 81643 rust/crates/wasm-bindgen-0.2.130.tar.gz 6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9 9626 rust/crates/wasm-bindgen-macro-0.2.130.tar.gz 2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a 128711 rust/crates/wasm-bindgen-macro-support-0.2.130.tar.gz 3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e 13698 rust/crates/wasm-bindgen-shared-0.2.130.tar.gz b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb 36932 rust/crates/windows-core-0.62.2.tar.gz 053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf 15325 rust/crates/windows-implement-0.60.2.tar.gz 3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358 11809 rust/crates/windows-interface-0.59.3.tar.gz f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5 6133 rust/crates/windows-link-0.2.1.tar.gz 7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5 13381 rust/crates/windows-result-0.4.1.tar.gz 7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091 13966 rust/crates/windows-strings-0.5.1.tar.gz
Ports that require python-cachebox:v14
python-deepdiff:v14 Deep difference and search of any object (3.14)