Yet another URL library
Reason this release was yanked:
Initial publish only to reserve name
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for propcache-0.0.0.dev0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fdbd153696f09bbc5e7632aa3e51d9ef6af8a1946100d73f4d4e202ec9502cd |
|
MD5 | ceba06a486d7588dde4f708ebf1643b2 |
|
BLAKE2b-256 | feda44400f666b46b03cbc2da6e36faed916a74a2681271c7c19326254de7c1a |