Releases: uqfoundation/klepto
0.2.6
0.2.6 Release Notes
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.
Klepto installs with pip:
$ pip install klepto
Klepto requires:
- python or pypy, >=3.8
- dill, >=0.3.9
- pox, >=0.3.5
Optional requirements:
- sqlalchemy, >=1.4.0
(install with $ pip install klepto[archives]
)
- h5py, >=2.8.0
(install with $ pip install klepto[archives]
)
- pandas, >=0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
What's Changed
- Bump idna from 3.4 to 3.7 in /docs by @dependabot in #127
- Bump jinja2 from 3.1.3 to 3.1.4 in /docs by @dependabot in #128
- Bump requests from 2.31.0 to 2.32.0 in /docs by @dependabot in #129
- Bump tornado from 6.3.3 to 6.4.1 in /docs by @dependabot in #130
- update docs requirements to rtfd 10.27.0 by @mmckerns in #132
- Bump certifi from 2024.2.2 to 2024.7.4 in /docs by @dependabot in #133
- type check with Integral not int by @mmckerns in #134
- add formal support for python 3.13 by @mmckerns in #135
Full Changelog: 0.2.5...0.2.6
0.2.5
0.2.5 Release Notes
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.
Klepto installs with pip:
$ pip install klepto
Klepto requires:
- python or pypy, >=3.8
- dill, >=0.3.8
- pox, >=0.3.4
Optional requirements:
- sqlalchemy, >=1.4.0
(install with $ pip install klepto[archives]
)
- h5py, >=2.8.0
(install with $ pip install klepto[archives]
)
- pandas, >=0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
What's Changed
- get hash algorithms via
hashlib.algorithms_available
by @IvanaGyro in #113 - replace negative with underscore in fname by @mmckerns in #114
- drop formal support for python 3.7 by @mmckerns in #115
- if archive is missing, use null_archive by @mmckerns in #116
- define html_theme as rtd workaround by @mmckerns in #117
- update install doc in tests by @mmckerns in #119
- formal support for python 3.12, initial for 3.13 by @mmckerns in #120
- add build to rtfd config by @mmckerns in #121
- updated copyright for 2024 by @mmckerns in #122
- Bump jinja2 from 3.1.1 to 3.1.3 in /docs by @dependabot in #123
- update sphinx to 6.2.1 by @mmckerns in #124
- Bump readthedocs-sphinx-search from 0.3.1 to 0.3.2 in /docs by @dependabot in #125
New Contributors
- @IvanaGyro made their first contribution in #113
Full Changelog: klepto-0.2.4...0.2.5
klepto-0.2.4
klepto 0.2.4 Release Notes
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.
Klepto installs with pip:
$ pip install klepto
Klepto requires:
- python or pypy, >=3.7
- dill, >=0.3.7
- pox, >=0.3.3
Optional requirements:
- sqlalchemy, >=1.4.0
(install with $ pip install klepto[archives]
)
- h5py, >=2.8.0
(install with $ pip install klepto[archives]
)
- pandas, >=0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
What's Changed
- Bump requests from 2.27.1 to 2.31.0 in /docs by @dependabot in #110
- Bump pygments from 2.11.2 to 2.15.0 in /docs by @dependabot in #111
New Contributors
- @dependabot made their first contribution in #110
Full Changelog: klepto-0.2.3...klepto-0.2.4
klepto-0.2.3
klepto 0.2.3 Release Notes
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.
Klepto installs with pip:
$ pip install klepto
Klepto requires:
- python or pypy, >=3.7
- dill, >=0.3.6
- pox, >=0.3.2
Optional requirements:
- sqlalchemy, >=0.8.4
(install with $ pip install klepto[archives]
)
- h5py, >=2.8.0
(install with $ pip install klepto[archives]
)
- pandas, >=0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
Full Changelog: klepto-0.2.2...klepto-0.2.3
klepto-0.2.2
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.
Klepto installs with pip:
$ pip install klepto
Klepto requires:
- python or pypy, ==2.7 or >=3.7
- dill, >=0.3.5.1
- pox, >=0.3.1
Optional requirements:
- sqlalchemy, >=0.8.4
(install with $ pip install klepto[archives]
)
- h5py, >=2.8.0
(install with $ pip install klepto[archives]
)
- pandas, >=0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
klepto-0.2.1
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.
Klepto installs with easy_install or pip:
$ pip install klepto
Klepto requires:
- python, version == 2.7 *or* version >= 3.6 *or* pypy
- dill, version >= 0.3.4
- pox, version >= 0.3.0
Optional requirements:
- sqlalchemy, version >= 0.8.4
(install with $ pip install klepto[archives]
)
- h5py, version >= 2.8.0
(install with $ pip install klepto[archives]
)
- pandas, version >= 0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
klepto-0.2.0
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.
Klepto installs with easy_install or pip:
$ pip install klepto
Klepto requires:
- python, version == 2.7 *or* version >= 3.5 *or* pypy
- dill, version >= 0.3.3
- pox, version >= 0.2.9
Optional requirements:
- sqlalchemy, version >= 0.8.4
(install with $ pip install klepto[archives]
)
- h5py, version >= 2.8.0
(install with $ pip install klepto[archives]
)
- pandas, version >= 0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
klepto-0.1.9
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.
Klepto installs with easy_install or pip:
$ pip install klepto
Klepto requires:
- python, version == 2.7 *or* version >= 3.5 *or* pypy
- dill, version >= 0.3.2
- pox, version >= 0.2.8
Optional requirements:
- sqlalchemy, version >= 0.8.4
(install with $ pip install klepto[archives]
)
- h5py, version >= 2.8.0
(install with $ pip install klepto[archives]
)
- pandas, version >= 0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
klepto-0.1.8
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.
Klepto installs with easy_install or pip:
$ pip install klepto
Klepto requires:
- python, version >=2.5 *or* version >= 3.1 *or* pypy
- dill, version >=0.3.1
- pox, version >=0.2.7
Optional requirements:
- sqlalchemy, version >= 0.8.4
(install with $ pip install klepto[archives]
)
- h5py, version >= 2.8.0
(install with $ pip install klepto[archives]
)
- pandas, version >= 0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())
klepto-0.1.7
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.
Klepto installs with easy_install or pip:
$ pip install klepto
Klepto requires:
- python, version >=2.5 *or* version >= 3.1 *or* pypy
- dill, version >=0.3.0
- pox, version >=0.2.6
Optional requirements:
- sqlalchemy, version >= 0.8.4
(install with $ pip install klepto[archives]
)
- h5py, version >= 2.8.0
(install with $ pip install klepto[archives]
)
- pandas, version >= 0.17.0
(install with $ pip install klepto[archives]
)
Klepto is licensed under 3-clause BSD:
>>> import klepto
>>> print (klepto.license())
To cite klepto:
>>> import klepto
>>> print (klepto.citation())