Port details |
- py-klepto Persistent caching to memory, disk, or database
- 0.2.6 devel =2 0.2.5Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2023-04-18 18:09:20
- Last Update: 2024-10-14 05:25:31
- Commit Hash: 3495f0f
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://klepto.readthedocs.io/en/latest/
- https://github.com/uqfoundation/klepto
- Description:
- klepto extends Python's lru_cache to utilize different keymaps and alternate
caching algorithms, such as lfu_cache and mru_cache. While caching is meant for
fast access to saved results, klepto also has archiving capabilities, for
longer-term storage. klepto uses a simple dictionary-sytle interface for all
caches and archives, and all caches can be applied to any Python function as a
decorator. Keymaps are algorithms for converting a function's input signature to
a unique dictionary, where the function's results are the dictionary value. Thus
for y = f(x), y will be stored in cache[x] (e.g. {x:y}).
klepto provides both standard and "safe" caching, where "safe" caches are slower
but can recover from hashing errors. klepto is intended to be used for
distributed and parallel computing, where several of the keymaps serialize the
stored objects. Caches and archives are intended to be read/write accessible
from different threads and processes. klepto enables a user to decorate a
function, save the results to a file or database archive, close the interpreter,
start a new session, and reload the function and it's cache.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}klepto>0:devel/py-klepto@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-klepto/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-klepto
- pkg install py311-klepto
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-klepto listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-klepto
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1728632362
SHA256 (klepto-0.2.6.tar.gz) = a59b3b36a6a0f0155c373f20326790b0f96eddb981e7cbe2482024f2b94ca75c
SIZE (klepto-0.2.6.tar.gz) = 158595
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=42 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-dill>=0.3.9 : devel/py-dill@py311
- py311-pox>=0.3.5 : devel/py-pox@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-mystic
Configuration Options:
- No options to configure
- Options name:
- devel_py-klepto
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 7
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.2.6 14 Oct 2024 05:25:31 |
Po-Chuan Hsieh (sunpoet) |
devel/py-klepto: Update to 0.2.6
Changes: https://github.com/uqfoundation/klepto/releases |
0.2.5 09 Mar 2024 14:05:50 |
Po-Chuan Hsieh (sunpoet) |
devel/py-klepto: Update version requirement of RUN_DEPENDS |
0.2.5 21 Feb 2024 15:07:25 |
Po-Chuan Hsieh (sunpoet) |
devel/py-klepto: Update to 0.2.5
Changes: https://github.com/uqfoundation/klepto/releases |
0.2.4 16 Aug 2023 18:25:27 |
Po-Chuan Hsieh (sunpoet) |
devel/py-klepto: Update to 0.2.4
- Update WWW
Changes: https://github.com/uqfoundation/klepto/releases |
0.2.3 18 Jul 2023 00:53:09 |
Charlie Li (vishwin) |
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358 |
0.2.3 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.2.3 18 Apr 2023 18:00:40 |
Po-Chuan Hsieh (sunpoet) |
devel/py-klepto: Add py-klepto 0.2.3
klepto extends Python's lru_cache to utilize different keymaps and alternate
caching algorithms, such as lfu_cache and mru_cache. While caching is meant for
fast access to saved results, klepto also has archiving capabilities, for
longer-term storage. klepto uses a simple dictionary-sytle interface for all
caches and archives, and all caches can be applied to any Python function as a
decorator. Keymaps are algorithms for converting a function's input signature to
a unique dictionary, where the function's results are the dictionary value. Thus
for y = f(x), y will be stored in cache[x] (e.g. {x:y}).
klepto provides both standard and "safe" caching, where "safe" caches are slower
but can recover from hashing errors. klepto is intended to be used for
distributed and parallel computing, where several of the keymaps serialize the
stored objects. Caches and archives are intended to be read/write accessible
from different threads and processes. klepto enables a user to decorate a
function, save the results to a file or database archive, close the interpreter,
start a new session, and reload the function and it's cache. |
Number of commits found: 7
|