Module with C functions. No precise purpose yet.
Project description
cpyquickhelper: python + C++ in different ways
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 - 2021-01-01 - 0.00Mb
21: Fixes setup.py when dependencies are not installed. (2021-01-01)
0.2.330 - 2020-09-02 - 0.45Mb
20: Fixes build on ubuntu 16.04 (2020-09-02)
19: PandasDtype fails with numpy 1.19 (2020-08-07)
0.2.303 - 2020-05-16 - 0.43Mb
18: Returns the results as well when capturing the standard output (2020-05-16)
0.2.299 - 2020-05-08 - 0.45Mb
17: Add a simple C++ implementation for gemm. (2020-01-17)
15: enable openmp on mac (2020-01-17)
16: Add an example of an agnostic container (no data in python containers) (2019-08-29)
14: link with openmp, implement dot product with it (2019-07-21)
0.2.229 - 2019-06-04 - 0.14Mb
0.2.226 - 2019-05-28 - 0.14Mb
13: remove folder src (2019-05-23)
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
Built Distributions
File details
Details for the file cpyquickhelper-0.3.353.tar.gz
.
File metadata
- Download URL: cpyquickhelper-0.3.353.tar.gz
- Upload date:
- Size: 145.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45ccc8965074de46e88f1ba6d493e47249b05d4dc41a86527154042a6c7585b5 |
|
MD5 | e8b43fbe046ccf7286dfa9ea168b7309 |
|
BLAKE2b-256 | 0295f3d6edc60afba011fdd0f9d956050d6775d0743a2d05eba385032b14235a |
File details
Details for the file cpyquickhelper-0.3.353-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: cpyquickhelper-0.3.353-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 458.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d446bcab6db866bd7e9a5b275d843d2b6d9042000d044d6be70cbcc1fe60905 |
|
MD5 | 4c4303b17f10a46b106d0ea7e27bdbaf |
|
BLAKE2b-256 | 67fd0a143e88f0ba80203709ae552bc53e5258b77ff31424a11d32693cccb992 |
File details
Details for the file cpyquickhelper-0.3.353-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: cpyquickhelper-0.3.353-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 764.5 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 253946dc5d235816c1b5ba5a33c0462419bd8a1358e49f9b3147212ddf64c5b3 |
|
MD5 | cefa2a425ae9cef301f8f9217c672f00 |
|
BLAKE2b-256 | f04c09469b652d6cd2c7cc598f7bda91bef442b28711678eb4975f7bb82611b2 |
File details
Details for the file cpyquickhelper-0.3.353-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: cpyquickhelper-0.3.353-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 458.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfd49dff2d1fa488c0161c9211b2ce46c9fb70d7af1e1d99dce47ee31df35908 |
|
MD5 | c351a43b7f2b7b5ad67ea11fd71130a8 |
|
BLAKE2b-256 | 953b550535b41044d04056e4834d05beabb7840ab8ba82c274fe874ea65eb142 |
File details
Details for the file cpyquickhelper-0.3.353-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: cpyquickhelper-0.3.353-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31110f15c7e199c334e5c7373801a1feb24094a961e1554a6510aa7e83311aa7 |
|
MD5 | ba7c64e18264298f2f9d1bd5eaf9b704 |
|
BLAKE2b-256 | b15fa36aba03932751f167af56814aad02c9b7e5ad31c2efbf09fbc7942e7782 |
File details
Details for the file cpyquickhelper-0.3.353-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: cpyquickhelper-0.3.353-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 761.1 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 653a8ee2c7a16439335701dece11b01a7fcb5e2042d350819453dd5e558c0e6e |
|
MD5 | 11f43e98530544791064d81ad3a74ac1 |
|
BLAKE2b-256 | ed37ff989989c2b80a5078f2c440c24a0076aab2ef86f279d4cf4b95b480d9fc |
File details
Details for the file cpyquickhelper-0.3.353-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: cpyquickhelper-0.3.353-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5cf73cdd884ad76e18bc696089b27ad1a0f61150b55eb12fd20c07662b4413c |
|
MD5 | 6f1eb7254f1d542f8f6b5d770bc1676e |
|
BLAKE2b-256 | e9764335af59f955b1fa4da77f877aebe543d2f5859c25d7540f06371ef0c511 |
File details
Details for the file cpyquickhelper-0.3.353-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: cpyquickhelper-0.3.353-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 754.9 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba8b2e4d74ede6f772c93c3492620fcacc7c9b1b43d9e109ec71c65440e0a1de |
|
MD5 | cdf878a61ffa3fd667ac990363f38926 |
|
BLAKE2b-256 | 13e09c8ebf9cf7b5101195e6392630736ab6f6ec1c03c5de610541adef908ec6 |