Skip to main content

A sample Python app

Project description

ichello

This is a 'hello world' Python wrapped C++ app to show a sample packaging approach. It is based on the Reference Nanobind Example but will diverge over time.

It uses:

  • nanobind to do the wrapping, defined in src/binding.cpp,
  • CMake to build the module shared library, defined in CMakeLists.txt
  • scikit-build-core to interface the Python project definition in pyproject.toml and CMake.
  • cibuildwheel to build wheels for various platforms using the CI.

To locally install and use the package you can do:

pip install -e .

from the project directory.

Then you can do:

import ichello
ichello.get_sum([1.0, 2.0, 3.0])
>> 6.0

in a shell. The get_sum function is an instantiation of the template defined in include.hpp for the double type.

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

ichello-0.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ichello-0.0.1-cp312-abi3-musllinux_1_2_x86_64.whl (478.6 kB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

ichello-0.0.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (54.4 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64

ichello-0.0.1-cp311-cp311-musllinux_1_2_x86_64.whl (480.3 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

ichello-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (56.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

ichello-0.0.1-cp310-cp310-musllinux_1_2_x86_64.whl (480.3 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

ichello-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (56.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

ichello-0.0.1-cp310-cp310-macosx_11_0_arm64.whl (32.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

ichello-0.0.1-cp310-cp310-macosx_10_14_x86_64.whl (34.5 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

ichello-0.0.1-cp39-cp39-musllinux_1_2_x86_64.whl (480.3 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

ichello-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (56.3 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file ichello-0.0.1.tar.gz.

File metadata

  • Download URL: ichello-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for ichello-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0f2aab4be22ea1bd90d0899f506f992e658f89c3bb5590e69d664e6f430049a8
MD5 d2c24eb87c7405a607ddf500966e3601
BLAKE2b-256 e6381337f700d2720075e92a6fb232b20b30f74abe3138af068399294ecd688a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1.tar.gz:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2dfa2bc1943e3b9d2f78e95a7954cdb2be5f67a62f827debc27fb0749ef56a01
MD5 75cb0ddbd426e4073f2879709f55449b
BLAKE2b-256 235be2f301b19b4fecdb863aca7603bffc758aa7df373430dafe021d3393b3d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp312-abi3-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c576753e11aff42e85334085f20c8826e394d76acd2bffd600f5aa206a7cab6c
MD5 8c0af0f954712633058a2a9accbf0fea
BLAKE2b-256 0000e97cbb685d56cbd10ccd26cabb430e95bdf79d09990c4b1f67f64a3446c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7ad0e44968873acc4383ffb3268c79f59eee72084619cb68bbe73edf13573def
MD5 948ce97c8f1d5ad50285fa4cdccdc163
BLAKE2b-256 c469e7428b6e6453b45aa37fface3f919b9c0e16b65aed5d21c63d4da77266ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f47ad36a05dd0e4a923b02bc4b0afff665b7a4f19bc5480230c402c42f671bfd
MD5 506b5aa3e28208b82b9e7594f73ea3eb
BLAKE2b-256 f797119c1d7f7cd2ff702d3ba3d64678d76aaf8390b100c1c10dc55156d203a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5c09339c86ce06ef5ee4978065a576ef5bc8f507c7c77b58ce518b22310e217b
MD5 3a893793493afdd171d51cf9e5586cdf
BLAKE2b-256 305900a6debbaae737dec6bbf9b2a2232e97e6d8e5f3d82f03c89d7e1c8c97d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp310-cp310-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d8808958cb1e05b19bd50081c0a604da891b9e9266feb6dea1c9906180a362d1
MD5 dde8a9a32174543b899b43b9aab31c07
BLAKE2b-256 199ee8b0595699a5e750fa317553ee5d6062733dd977b2c0570a0219fa516189

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fde14e607415f1a6151624563ce3c24609c0ef941d5fe55cdd45da4b0baf407c
MD5 d5321a37e95bd4e8e0c11b0ea327eab3
BLAKE2b-256 55cc850ec817d1f9ef84d2a7f75000466226d88e74fd2a93bdb01eb9c525f757

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 db442512632cf155160d185bf56c3304e53009298a9d8783abf128a17c4f616c
MD5 dd1f62171227701de12dae4627680b57
BLAKE2b-256 e6b696c027a3880925c86093d77b361ac9f346fb235ce99eba6e2c11fba09c9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp310-cp310-macosx_10_14_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 86bfac72cc8ebce141209348001fc3ea0654b19cc3782eb23919baabbed34d26
MD5 20868e4a449e65893008f70e9c0871fa
BLAKE2b-256 d9038035e6d65615ddbec43b08681b951d528b1d10834f43b365d4b6ad90d2f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp39-cp39-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ichello-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ichello-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bcc4178600c0c10cee45cc023b55d7654a7b2860d569933e70bf1ce0cc584e7e
MD5 751af9a13a4948374403141c0ff9e250
BLAKE2b-256 176d8798135c93f007a054257fd3ebc7d202e98a3a2af11931698047ecfd6b5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ichello-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build_wheels.yml on jmsgrogan/sample-python-deploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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