Module with C functions. No precise purpose yet.
Project description
cpyquickhelper
cpyquickhelper is a template to create a module with C functions in different ways. It implements function measure_time:
from cpyquickhelper.numbers import measure_time from math import cos res = measure_time("cos(x)", context=dict(cos=cos, x=5.)) print(res)
{'average': 3.909366205334663e-06, 'deviation': 6.238702219064397e-07, 'min_exec': 3.635883331298828e-06, 'max_exec': 5.776062607765198e-06, 'repeat': 10, 'number': 50, 'context_size': 240}
On Windows, the following exception might happen:
LINK : fatal error LNK1158: impossible d'exécuter 'rc.exe'
Which might be resolved with the following line before building it:
set PATH=%PATH%;C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64
Links:
History
current - 2019-05-24 - 0.00Mb
13: remove folder src (2019-05-23)
0.2.217 - 2019-05-23 - 0.13Mb
7: add an example with cython (2019-04-04)
12: implements a benchmark to measure a sum of floats with float and double accumulator (2019-03-20)
0.1.187 - 2019-02-26 - 0.17Mb
11: add parameter div_by_number to measure_time (2019-02-26)
10: fix binary location in the setup (2019-02-16)
5: implement a new pandas column type based on a C++ array type (2019-02-02)
9: add benchmark for branching (2019-01-17)
1: [REMOVED] prepare an example with C# (2018-08-05)
6: implements an ExtensionArray from pandas with a C++ type (2018-08-03)
4: implements a series with WeightedDouble (2018-08-03)
3: add an example based on pybind11 (2018-08-02)
2: add history (2018-04-01)
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
File details
Details for the file cpyquickhelper-0.2.226.tar.gz
.
File metadata
- Download URL: cpyquickhelper-0.2.226.tar.gz
- Upload date:
- Size: 147.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 122005c376315cb1f29a6498a0b76dff9564dd4b36a4f621554090c8f17a7abe |
|
MD5 | fa79a01c253711d2364a231405b12e74 |
|
BLAKE2b-256 | 4109648997a715e7cdefc33b286c2492bfac5099c49a03c5257501238500a76a |