A collection of useful extensions for python implement in C.
Project description
CTools is a collection of useful data structures and functions written in C for Python.
Author: ko-han
Documents: https://python-ctools.readthedocs.io
Install:
Install and update using pip: pip install -U ctools
It provides:
Jump consistent hash. Find description here .
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for ctools-0.2.0.dev0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ff75a6ec4bac6f212f3a70948cdb6796057668ae2eec5f4c09607fa081117a |
|
MD5 | d9d853421f2ead3af3fff283dafde371 |
|
BLAKE2b-256 | 98893b4825810c28e925a53c56ba7a69913a6059b75d149469c733b1f7480913 |
Hashes for ctools-0.2.0.dev0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4769cb8ed9e441599979dc92bedfe3ce7c65b9ba57cc6cc0fa19ac3d051df6b3 |
|
MD5 | 93a9a7a0a34cb3648d2ac91898c9b79c |
|
BLAKE2b-256 | 2cddfcbb5666c3c9d9df5d02c655db53194fdc2275946058056e9d3c44233243 |
Hashes for ctools-0.2.0.dev0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c9f5608ce5571943745e54832675f19aa65dbb813760d70423b276e56856f73 |
|
MD5 | 4772d4eb4a2db5565cac568c2fc26ff9 |
|
BLAKE2b-256 | 651223caed800d0724b7b4ff89439ba644bcedd6451940f1627dbf49703faa86 |