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
File details
Details for the file ctools-0.2.0.tar.gz
.
File metadata
- Download URL: ctools-0.2.0.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6822fccd6c37387ccdaf2ae0a6ba7c974927dec28d3970e1f8c5703ec511afc7 |
|
MD5 | cab34494147db06419dd2635b823c4b1 |
|
BLAKE2b-256 | a3e0a2217d64c8900d6b647af5ea265e12bf5150406df5095b6119aeca99f6c0 |
File details
Details for the file ctools-0.2.0-cp39-cp39-manylinux2010_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp39-cp39-manylinux2010_x86_64.whl
- Upload date:
- Size: 118.0 kB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97e6778e9168238db220e9cb49c8a74bb4e373101c21a93c84ee3e45aa6c904c |
|
MD5 | 72e1bd2db36bcfe91046941dc4c82eb1 |
|
BLAKE2b-256 | 7836628a5ef31aea3938f83575223fbaca20fee199e4a506e9bf11b99c6c8c82 |
File details
Details for the file ctools-0.2.0-cp39-cp39-manylinux1_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp39-cp39-manylinux1_x86_64.whl
- Upload date:
- Size: 118.0 kB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4da8106bf27e7d88fd8c283d304592a66a0a84a5837257efa7f477776c97943 |
|
MD5 | a31922537f8bec58948938288bb0fac3 |
|
BLAKE2b-256 | 4d3e52fe1c221fc6853b4fe50717a83a620f813c98b3be02ab64c033dfc43a5f |
File details
Details for the file ctools-0.2.0-cp39-cp39-manylinux1_i686.whl
.
File metadata
- Download URL: ctools-0.2.0-cp39-cp39-manylinux1_i686.whl
- Upload date:
- Size: 97.2 kB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53b9c0cffcd1e9dc921045db2148f619bd7d3375d546250a39d1b3c8ce2d100 |
|
MD5 | 5761ba47a4290ff0855f7756af059270 |
|
BLAKE2b-256 | 305b73629ab0964b25b24eb7e3a16325d6135557909a8c624725cf5b9997ac7f |
File details
Details for the file ctools-0.2.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 31.9 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61ac4385e63f3bc96422a2aad8b7e13e51bf079e1056ce4df0f1be57b0b20c11 |
|
MD5 | cb274b05a85a07a50e3a2fb64d89ebb2 |
|
BLAKE2b-256 | 9313d6dc043a9bea7b159a4fdcd2f9a987f072e47eb97b4ac18bfcb0a2428d49 |
File details
Details for the file ctools-0.2.0-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 124.5 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c6cb8a2e1449a3cf24d841fd6442c825cc97f9e083bc07cecbd639336991fd3 |
|
MD5 | d3cc64ff0bce73f9418d6c939aa66dc1 |
|
BLAKE2b-256 | b3902099f51e76a73f58178d58cff2fe29033bae63282bb4a5f9503e8535d065 |
File details
Details for the file ctools-0.2.0-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 124.5 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6308df4209fc86f23ddfa866f0820da88abcd8d064c873a1fb6735d9932eaf3 |
|
MD5 | 3b1b5be32c8b6b1f81e396cc1b7b48bc |
|
BLAKE2b-256 | c39de200047ec96feae6d17e0684fbfa64565a310f5d9a8b4f4586a006bb3a75 |
File details
Details for the file ctools-0.2.0-cp38-cp38-manylinux1_i686.whl
.
File metadata
- Download URL: ctools-0.2.0-cp38-cp38-manylinux1_i686.whl
- Upload date:
- Size: 100.2 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a4a5507ec4c1bd264f9c88aa33243e14ffcb9b80a8972d734f64a205e2eb69e |
|
MD5 | 282ebffe9e90d06cd09c59035ae5e743 |
|
BLAKE2b-256 | d412f7f6ec04e5cbe1a13cc79999fa9dd3937010c1225ba6d6e8ffd14c389d06 |
File details
Details for the file ctools-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.6 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652f95b3304ccfd973313361ab928d657ceef84244490bbb8cbe84d6f45941c2 |
|
MD5 | ef575ce671c5827150d369f11b569924 |
|
BLAKE2b-256 | 8408c932b7b37c5391776d5284d97f6009f0ed7f2a82a22fed6db06efd735f9c |
File details
Details for the file ctools-0.2.0-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 31.6 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba49dd79c1e0e9329acbdf1859e77f73f8b3b1f262b81d04aba4afbc9820641c |
|
MD5 | 4d88aa291c365b8935495e5d047563fe |
|
BLAKE2b-256 | cc20036d2fa72b474cd5eeb48db895ddb40e6cdb0a8c66d79f54c2352f59aa34 |
File details
Details for the file ctools-0.2.0-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 111.8 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65a12faba79ee526f40099dfb53e3f994aeca0751708d3c91071180219b14b80 |
|
MD5 | 4d12001251154f6ce2d73bf9fd1256bf |
|
BLAKE2b-256 | f86c227df57d18d165f0280d03993beaf993fa2f5aa1308cb4fdf5eee07a28fe |
File details
Details for the file ctools-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 111.8 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e52f8681b45c1e96377440b3f88184148e6145c06c023531bb98d79415ea4fca |
|
MD5 | dd8328f5af538012891555300168e6ba |
|
BLAKE2b-256 | 0b667cc0df3685cea1c631126b25f112740059bb80ced625f4f9440a07578883 |
File details
Details for the file ctools-0.2.0-cp37-cp37m-manylinux1_i686.whl
.
File metadata
- Download URL: ctools-0.2.0-cp37-cp37m-manylinux1_i686.whl
- Upload date:
- Size: 93.6 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe3a1e1fdea963850614bae8817e9a0d18b4b0a6943160c8de2b505cc9fecf6 |
|
MD5 | 1c8db4b29ba71e3183ae30fb0979b220 |
|
BLAKE2b-256 | 7aeb93d4672a038e865bb3c74431ad0de98939246745eccf066b1da2cc17c78e |
File details
Details for the file ctools-0.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.5 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe0a794fd7e75212637e1ebf81b8dd095290cac18ff382085cb9d947e785a61 |
|
MD5 | 4d3825759e12cc42d0a7742e3d38fec9 |
|
BLAKE2b-256 | 046fcdec483fe8a1140f5e94952c95f7a6d2f0787f2e136e01f8c173a84c7967 |
File details
Details for the file ctools-0.2.0-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 31.6 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21dcd4e8a5d674268964a75a8f3ab7105b56331dc390593469eff5ceaf615efb |
|
MD5 | d27c59ddee6cc66a76766229ae613f85 |
|
BLAKE2b-256 | 5bfd5230ec3a34ea99ed4bdb084319e3e42445abe6c23f71b7bc0f8df2ce3c5b |
File details
Details for the file ctools-0.2.0-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 112.4 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eb58ee355b4c778e325b5f705977f8ef91fd38e830d847be6e9a70683a6d85b |
|
MD5 | 303681d7ecde43bfe05885f735857e6d |
|
BLAKE2b-256 | 4666ea89b8add959ed028b869a407a0edc4654147ae373a2c67a531ab9a4b2d4 |
File details
Details for the file ctools-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 112.4 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84e1bf95512b1c2758c9c280c2a333a5f13e8bfed52aa3124d011a4401ce39ca |
|
MD5 | 3b999a3e42e2e6d1c81b85e94f7c5891 |
|
BLAKE2b-256 | 569c9a914d7df7503cbd67573161f48f9ad90bc24592c1bfe013e473a93f12ba |
File details
Details for the file ctools-0.2.0-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: ctools-0.2.0-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 91.4 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ca3c513c17d42cdf0b6accf974033499f3c254bf37cb42697b1a85b9efdac31 |
|
MD5 | 800cbd67d6b65e3eb3eae207e93ec668 |
|
BLAKE2b-256 | 2b1223e96074f9aaa4b8381713c61b49bff051198f313efd5baba85c81ae51d7 |
File details
Details for the file ctools-0.2.0-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.5 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578546296d8c3fcc5fabe58eec18998bd84ad701f512df4f8e868cdd5b25e1e8 |
|
MD5 | 3862e86d4cdb8c2f5883dd580d690317 |
|
BLAKE2b-256 | 7691515e6cb4bbbd977e503f7d701af42a064f04e96b9f8e895e08f46f784e16 |
File details
Details for the file ctools-0.2.0-cp35-cp35m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp35-cp35m-manylinux2010_x86_64.whl
- Upload date:
- Size: 111.7 kB
- Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23ac4d1ea47e889419c321580f9036cb8922c6fc256c7a4cdc43ee07915f503f |
|
MD5 | 6e19e0b2f93ce63ba5601579655bb1ef |
|
BLAKE2b-256 | d7bced069e3520134ea642ac4a3d190e6647fef44ea3b84b3d436f09fc2c11a7 |
File details
Details for the file ctools-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 111.7 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c0b06fb52234ec2ba959d6fa4a869c67bcd13861c97e6e6390fc638d93dcb20 |
|
MD5 | 778882e364dfe1ec83a0845db4f54077 |
|
BLAKE2b-256 | 774869dca1f0785e3607fbaccdc482094fb96cdf2b9ecd452777d041c816873a |
File details
Details for the file ctools-0.2.0-cp35-cp35m-manylinux1_i686.whl
.
File metadata
- Download URL: ctools-0.2.0-cp35-cp35m-manylinux1_i686.whl
- Upload date:
- Size: 91.2 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e5d8ff83d7149b76f7cabf77f5e621bff0a7cd2698c2f81fbfd7ca93d7f23ee |
|
MD5 | 57b8b2f5a08cc3b556dc52c75e7cfaec |
|
BLAKE2b-256 | 76f9a6edd459c9e68749a7a488c0850ebc0efeb79f2662929ea4464fe2740f5f |
File details
Details for the file ctools-0.2.0-cp35-cp35m-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: ctools-0.2.0-cp35-cp35m-macosx_10_6_x86_64.whl
- Upload date:
- Size: 28.3 kB
- Tags: CPython 3.5m, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da572b3207b0dd28ccb87656664bb7dab1b280b3730995388f4e754b1174b0e |
|
MD5 | 0138fdf656aaefd80539646c2027fb57 |
|
BLAKE2b-256 | fd0fa0757ed0615d65a798e43bdab2fe16d068174799ddc735a72bf4a9546aa3 |