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.6.tar.gz (123.9 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.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

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

File details

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

File metadata

  • Download URL: gauss_jacobi_quad-0.2.6.tar.gz
  • Upload date:
  • Size: 123.9 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.6.tar.gz
Algorithm Hash digest
SHA256 9ec4d74f5523e184d69ab4ceca4c1e4e4d781ce85ef5009397bbeca169459300
MD5 f5e57bb50bd9f7bc71f5730a0a5d7bc8
BLAKE2b-256 f8083d977ba71b1e2ac70b6d1dc6a37d6daf84d4e0b3c1ebbfc8ce4eb4b3e5de

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.6.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.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2e2f6abeb331b51e51de93a9da167f0ba434aa7ffbad4ea9d0314fc4384af86
MD5 73347b8ce33840db43bad719968956b3
BLAKE2b-256 c0c8935ea1ee1a265b63b65312c36f33536548f657bfd2c78d12bfb695c32887

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.6-cp314-cp314t-manylinux_2_27_x86_64.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.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 77774fb339d105d0855903ce8940adf2a1e51237c22539b45530c587a2908fad
MD5 aafd78da3163bb618d4c46d0a689a2af
BLAKE2b-256 a79470ab7f14d136d0e63d8d40c096c2f6c6d17274e191cff696f62b79436c38

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.6-cp313-cp313t-manylinux_2_27_x86_64.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.6-cp39-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.6-cp39-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a8010bb404105a755719953db0aea9d30dbac42f4e88cc5346c5eeaddab05c90
MD5 351e19c73015a24b6de2a767e3b36fba
BLAKE2b-256 67562080d199ed548c3fa1fbdb429dfb5f579d3ced0784db6fc7908318c05af4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.6-cp39-abi3-manylinux_2_27_x86_64.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