lericson / pylibmc

A Python wrapper around the libmemcached interface from TangentOrg.
http://sendapatch.se/projects/pylibmc/
BSD 3-Clause "New" or "Revised" License
479 stars 137 forks source link

number of keys #281

Closed eljeffeg closed 1 year ago

eljeffeg commented 1 year ago

I use memcached to maintain web sessions. I'd like to know how many sessions I have though. Is there any way to get the key count? I know I can get and multi_get, but what about something like len(client.get_all()), client.size(), client.length?