Skip to main content

Module with C functions. No precise purpose yet.

Project description

https://github.com/sdpython/cpyquickhelper/blob/master/_doc/sphinxdoc/source/phdoc_static/project_ico.png?raw=true

cpyquickhelper: python + C++ in different ways

Build status Build Status Windows https://circleci.com/gh/sdpython/cpyquickhelper/tree/master.svg?style=svg https://dev.azure.com/xavierdupre3/cpyquickhelper/_apis/build/status/sdpython.cpyquickhelper https://badge.fury.io/py/cpyquickhelper.svg MIT License Requirements Status https://codecov.io/github/sdpython/cpyquickhelper/coverage.svg?branch=master GitHub Issues Notebook Coverage size

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:

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

cpyquickhelper-0.3.369.tar.gz (146.1 kB view details)

Uploaded Source

Built Distributions

cpyquickhelper-0.3.369-cp39-cp39-win_amd64.whl (541.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

cpyquickhelper-0.3.369-cp39-cp39-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

cpyquickhelper-0.3.369-cp38-cp38-win_amd64.whl (545.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

cpyquickhelper-0.3.369-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

cpyquickhelper-0.3.369-cp38-cp38-macosx_10_9_x86_64.whl (894.5 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

cpyquickhelper-0.3.369-cp37-cp37m-win_amd64.whl (547.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

cpyquickhelper-0.3.369-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

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

cpyquickhelper-0.3.369-cp37-cp37m-macosx_10_9_x86_64.whl (887.7 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file cpyquickhelper-0.3.369.tar.gz.

File metadata

  • Download URL: cpyquickhelper-0.3.369.tar.gz
  • Upload date:
  • Size: 146.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for cpyquickhelper-0.3.369.tar.gz
Algorithm Hash digest
SHA256 ee6a6ae8a7949d95335c3af4237ef422749b837c7db725949a71849269f5478f
MD5 84c65e5de5acd83e5608becf0a277476
BLAKE2b-256 df267c2eb97113dd5fa900d14c4c56333aab76a5c95d3583f96e9db2f9c4c89c

See more details on using hashes here.

File details

Details for the file cpyquickhelper-0.3.369-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: cpyquickhelper-0.3.369-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 541.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for cpyquickhelper-0.3.369-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bfc18f6d12e583f1b6479ebb72a28d0af7313b2c06356935e6ff513bcce82e4f
MD5 f0a9ce2f939747854d84c5b2b5ff34ca
BLAKE2b-256 18125500bf966dffd9e77f0333657ae84bc23608332518e8f33ee6acaeef3bb5

See more details on using hashes here.

File details

Details for the file cpyquickhelper-0.3.369-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: cpyquickhelper-0.3.369-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for cpyquickhelper-0.3.369-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d90ccfe30a3cd47447a621edea7d10f185c1a302e913853538d1f5b4b5482a90
MD5 d0f02cc29a2e130ed3dc8e6f11bfeae0
BLAKE2b-256 58dd5d2e8c86de3124e4336fdb5865822a34a5da08adb658f5485b00859b8921

See more details on using hashes here.

File details

Details for the file cpyquickhelper-0.3.369-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: cpyquickhelper-0.3.369-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 545.6 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for cpyquickhelper-0.3.369-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 31a4d70d1643a25f4459d2f3082ce7b95a4459fa71719224616a98b5f46f9961
MD5 7f97477a0bf5bda7c1e47825975002c3
BLAKE2b-256 9c938be6ed8b4c5d5f0c32006dcfebea1e0b2e7f6453bf167e35dc60644bab64

See more details on using hashes here.

File details

Details for the file cpyquickhelper-0.3.369-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpyquickhelper-0.3.369-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d90326d46e8029313ea4ef87ee6ba6abea506ef7b50fafb10a8512850e41b897
MD5 625c6301df982e64038e9762cd47f418
BLAKE2b-256 14e445ab3c1da017e59109f037fa23a74a984bdf9e5b2604c87c3e1ed6f3b89c

See more details on using hashes here.

File details

Details for the file cpyquickhelper-0.3.369-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: cpyquickhelper-0.3.369-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 894.5 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for cpyquickhelper-0.3.369-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4c2f0812bd05a6d276b7daac98c543dc4e9279b1368f840df705055f94c44977
MD5 5b48a20a7f825915a0f44a8badf5f09f
BLAKE2b-256 aec638a96eb6619148d1eb0798b5fef2914b0697f1d6e7b6f9bbea77121d3957

See more details on using hashes here.

File details

Details for the file cpyquickhelper-0.3.369-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: cpyquickhelper-0.3.369-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 547.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for cpyquickhelper-0.3.369-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9bed01b311fcd207b02a99e9b39460847cbf186f344a65bb726becb16ce93030
MD5 75d0295253a27405e98598ce4552097c
BLAKE2b-256 c29fe26d214dba293c2cc52c8318b8599a4c76f6abc7344431ba093c0c8d5f3c

See more details on using hashes here.

File details

Details for the file cpyquickhelper-0.3.369-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpyquickhelper-0.3.369-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a9b42860279433d5d28ea1f89efb4f17be641fdde7147c3b5ba17339306e2d3
MD5 bc03a636cfdc79c59cad28e72c2caab9
BLAKE2b-256 be2e62d62067144d1ba54ba9099fd1e60d263d7fd80f51b95959e9b686a3c971

See more details on using hashes here.

File details

Details for the file cpyquickhelper-0.3.369-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: cpyquickhelper-0.3.369-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 887.7 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for cpyquickhelper-0.3.369-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c67a0b60fbd6abb550d95c0d7ad140ddc50a4341980b9540794910de33597912
MD5 f456aef25c8e9721c2ad30809f0a37cc
BLAKE2b-256 f30512126cdcf5d0eade7fc72455c51342b256fa67f54a85f363434e05a3e911

See more details on using hashes here.

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