BSD Ports

devel/py-cachelib 0.17.0 NetBSD

Collection of cache libraries in the same API interface

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
1423d30e88
License
modified-bsd
Categories
devel, python
Package size
50.8 KiB, 333.1 KiB installed

Description

A collection of cache libraries in the same API interface. Extracted from werkzeug.

In the other systems

SystemPortVersion
NetBSDdevel/py-cachelib0.17.0
OpenBSDdevel/py-cachelib0.17.0
DragonFlywww/py-cachelib0.10.2_1

Install

Binary package:

pkgin install py311-cachelib

From pkgsrc:

cd /usr/pkgsrc/devel/py-cachelib && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.17.0
NetBSD 10.1 aarch640.14.0
SmartOS / illumos x86_640.17.0
macOS 15 arm640.17.0

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-cachelib-0.17.0, py313-cachelib-0.17.0, py314-cachelib-0.17.0

Commit history 2

DateCommitCreditsLog message
1423d30e88 adam py-cachelib: updated to 0.17.0
0.17.0 - Timeout now also accepts a ``datetime.timedelta`` in addition to int. :pr:`510` - Float timeouts are deprecated and now rounded up to whole seconds, so backends with integer-second APIs (e.g. memcached) no longer fail with a confusing ``TypeError``. Passing a float will raise a ``TypeError`` in a future release; timeouts of any other unsupported type raise ``TypeError`` immediately. :pr:`510` - Add ``memcache_client_lib`` parameter to ``MemcachedCache`` to select which memcache client library to use (``pylibmc``, ``google``, ``memcache``, or ``libmc``). When not set, the library is auto-detected as before. :pr:`511`
6d05d3b81d adam py-cachelib: updated to 0.15.4
Version 0.15.4 - Fix dumps in ``RedisCache`` to not use pickle for integers, so they remain compatible with the native ``INCRBY``/ ``DECRBY`` operations used by :meth:`inc`/:meth:`dec`. :pr:`496` Version 0.15.3 - Fix ``MemcachedCache`` ``inc`` and ``dec`` methods double normalizing keys. :pr:`495` Version 0.15.2 - Fix ``libmc`` in ``MemcachedCache`` no reserve nor blocking. :pr:`493` Version 0.15.1 - Add ``JSONSerializer`` serializer and use the same base class for DynamoDB serialization. :pr:`490` - Fix ``MemcachedCache`` ``libmc`` client not being created correctly :pr:`491` Version 0.15.0 - Make ``SimpleCache`` thread-safe using a ``threading.RLock``. :issue:`446` - Make ``pylibmc`` and ``libmc`` clients thread-safe by using ``ClientPool``. :pr:`287` …