Skip to main content

CPython extension for GaussJacobiQuad (ISO_C_BINDING; Stable ABI + free-threaded wheels)

Project description

gauss-jacobi-quad

CPython extension for GaussJacobiQuad.

  • Calls ISO_C_BINDING entry gauss_jacobi_rule_c (same ABI as the C library)
  • Stable ABI (Py_LIMITED_API 3.9 → one cp39-abi3 manylinux wheel for 3.9+ GIL, including 3.14)
  • Free-threaded wheels (cp313t, cp314t, full C API + Py_MOD_GIL_NOT_USED) — separate ABI, cannot share abi3
  • Multi-phase module init (PEP 489)
  • Heap exception type via PyErr_NewException (dynamic type)
  • Wheel embeds the Fortran/C kernels (meson-python + gfortran)

Install

pip install gauss-jacobi-quad

Building from source requires gfortran, openblas/lapack, meson, ninja.

Usage

from gauss_jacobi_quad import gauss_jacobi, GaussJacobiError

x, w = gauss_jacobi(32, 0.0, 0.0)                 # auto
x, w = gauss_jacobi(40, 0.5, 0.5, method="glr")

No GJP_CINTERP needed for the extension wheel.

License

MIT

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

gauss_jacobi_quad-0.2.5.tar.gz (121.7 kB view details)

Uploaded Source

Built Distributions

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

gauss_jacobi_quad-0.2.5-cp313-cp313t-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ x86-64

gauss_jacobi_quad-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ x86-64

File details

Details for the file gauss_jacobi_quad-0.2.5.tar.gz.

File metadata

  • Download URL: gauss_jacobi_quad-0.2.5.tar.gz
  • Upload date:
  • Size: 121.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gauss_jacobi_quad-0.2.5.tar.gz
Algorithm Hash digest
SHA256 6d754e9bb2690f822a0dd46734a567c4f7f692ddbcf6d5c243322486b466b813
MD5 55e8e531029995614cec76c52cf5be5d
BLAKE2b-256 bc11410cd913a537483381684a88478d9592b42a03257aca649b747b84e10441

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.5.tar.gz:

Publisher: publish-pypi.yml on HaoZeke/GaussJacobiQuad

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

File details

Details for the file gauss_jacobi_quad-0.2.5-cp313-cp313t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.5-cp313-cp313t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c4b0b5e37827d72c9d1f2c9ab8fdb03b20d5a9d02b5f2dd0dae5e6e84794100c
MD5 e6b4a7e511e4cdb743e1484c141eea78
BLAKE2b-256 5a1544dc3d0826647300fa01b3b0a3a0945da5f7f67add59a54a357a390ab687

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.5-cp313-cp313t-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on HaoZeke/GaussJacobiQuad

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

File details

Details for the file gauss_jacobi_quad-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 393a9a0a814bbcfa3c61e88120e04e66f51bf658838a63ea8c5160647563e364
MD5 bbdc13abd55d4e5d64a7b56d0fcf766f
BLAKE2b-256 db711017848d6dac79542d402c7a435ffb23f2f0a0a8c830c550fc8c097c21fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.5-cp39-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on HaoZeke/GaussJacobiQuad

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