This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.5.4 instead.
Reason given by maintainers: Initial publish only to reserve name
propcache
The module provides a fast implementation of cached properties for Python 3.8+.
Introduction
The API is designed to be nearly identical to the built-in functools.cached_property class, except for the additional under_cached_property class which uses self._cache instead of self.__dict__ to store the cached values and prevents __set__ from being called.
For full documentation please read https://propcache.aio-libs.org.
Installation
$ pip install propcache
The library is Python 3 only!
PyPI contains binary wheels for Linux, Windows and MacOS. If you want to install propcache on another operating system (like Alpine Linux, which is not manylinux-compliant because of the missing glibc and therefore, cannot be used with our wheels) the the tarball will be used to compile the library from the source code. It requires a C compiler and and Python headers installed.
To skip the compilation you must explicitly opt-in by using a PEP 517 configuration setting pure-python, or setting the PROPCACHE_NO_EXTENSIONS environment variable to a non-empty value, e.g.:
$ pip install propcache --config-settings=pure-python=false
Please note that the pure-Python (uncompiled) version is much slower. However, PyPy always uses a pure-Python implementation, and, as such, it is unaffected by this variable.
API documentation
The documentation is located at https://propcache.aio-libs.org.
Source code
The project is hosted on GitHub
Please file an issue on the bug tracker if you have found a bug or have some suggestion in order to improve the library.
Discussion list
aio-libs google group: https://groups.google.com/forum/#!forum/aio-libs
Feel free to post your questions and ideas here.
0.0.0 (2024-01-02)
The first release.
Metadata
Release files for propcache 0.0.0.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| propcache-0.0.0.dev0-cp312-cp312-macosx_14_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 14.0+ ARM64 | Details |
Release files / propcache-0.0.0.dev0-cp312-cp312-macosx_14_0_arm64.whl
| Download URL | propcache-0.0.0.dev0-cp312-cp312-macosx_14_0_arm64.whl |
|---|---|
| Size | 43.2 kB |
| Tags | CPython 3.12 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0fdbd153696f09bbc5e7632aa3e51d9ef6af8a1946100d73f4d4e202ec9502cd
|
|
BLAKE2b-256 checksum How to use checksums |
feda44400f666b46b03cbc2da6e36faed916a74a2681271c7c19326254de7c1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.12.0 keyring/23.13.1 rfc3986/1.5.0 colorama/0.4.6 CPython/3.10.14
|