8000 GitHub - hanke0/python-ctools at 0.2.0.dev0
[go: up one dir, main page]

Skip to content

hanke0/python-ctools

Repository files navigation

Ctools build status on Travis CI license version implementation python version wheel

CTools is a collection of useful data structures and functions written in C for Python.

Install:

Install and update using pip: pip install -U ctools

It provides:

  • Jump consistent hash. Find description here .
  • fnv1a, fnv1, djb2, and murmur string hash method.
  • A LFU (least frequently used) cache mapping class.
  • A TTL cache mapping class that all key expire after specific seconds.
  • A channel class support sending and receiving objects.
  • A SortedMap class based on red-black tree .

How To Test:

Simple, type make test and take a sip of coffee. Also can use make benchmark to run the benchmark test.

More:

What's important is free.
0