Skip to main content

A collection of useful extensions for python implement in C.

Project description

Python:

>= 3.5

Version:
0.1.0
Latest stable:

0.1.0

Python Implementation:

CPython only

Installation

Install and update using pip (python3 only):

pip install -U ctools

Documents

Latest develop document at api.md.

See wiki for stable release document.

Benchmark

$ make benchmark
  int8_to_datetime,       63.481 ns ± 4.179 nseach (10 runs, 1,000,000 loops)
  jump_consistent_hash,   156.082 ns ± 6.489 nseach (10 runs, 1,000,000 loops)
  strhash,                139.542 ns ± 4.268 nseach (10 runs, 1,000,000 loops)

How To Test

pytest needed. Simple use make test. If package is installed, you can run ctools.test() for testing.

More

What’s important is free.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctools-0.1.0.tar.gz (21.3 kB view hashes)

Uploaded Source

Built Distributions

ctools-0.1.0-cp37-cp37m-win_amd64.whl (50.2 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

ctools-0.1.0-cp37-cp37m-manylinux2010_x86_64.whl (88.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

ctools-0.1.0-cp37-cp37m-manylinux1_x86_64.whl (88.0 kB view hashes)

Uploaded CPython 3.7m

ctools-0.1.0-cp37-cp37m-manylinux1_i686.whl (67.2 kB view hashes)

Uploaded CPython 3.7m

ctools-0.1.0-cp36-cp36m-win_amd64.whl (50.2 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

ctools-0.1.0-cp36-cp36m-manylinux2010_x86_64.whl (85.2 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

ctools-0.1.0-cp36-cp36m-manylinux1_x86_64.whl (85.2 kB view hashes)

Uploaded CPython 3.6m

ctools-0.1.0-cp36-cp36m-manylinux1_i686.whl (67.2 kB view hashes)

Uploaded CPython 3.6m

ctools-0.1.0-cp35-cp35m-win_amd64.whl (34.5 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

ctools-0.1.0-cp35-cp35m-manylinux2010_x86_64.whl (84.4 kB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

ctools-0.1.0-cp35-cp35m-manylinux1_x86_64.whl (84.4 kB view hashes)

Uploaded CPython 3.5m

ctools-0.1.0-cp35-cp35m-manylinux1_i686.whl (67.1 kB view hashes)

Uploaded CPython 3.5m

ctools-0.1.0-cp34-cp34m-manylinux2010_x86_64.whl (83.6 kB view hashes)

Uploaded CPython 3.4m manylinux: glibc 2.12+ x86-64

ctools-0.1.0-cp34-cp34m-manylinux1_x86_64.whl (83.6 kB view hashes)

Uploaded CPython 3.4m

ctools-0.1.0-cp34-cp34m-manylinux1_i686.whl (66.6 kB view hashes)

Uploaded CPython 3.4m

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page