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 builds)
  • Free-threaded wheels (cp313t, 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.4.tar.gz (121.4 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.4-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.4-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.4.tar.gz.

File metadata

  • Download URL: gauss_jacobi_quad-0.2.4.tar.gz
  • Upload date:
  • Size: 121.4 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.4.tar.gz
Algorithm Hash digest
SHA256 97d719ed7987d0a7f7ca8172d8c6292180999151a4a7bc1a9a1e13ad82046093
MD5 a087be4f5357b3f6c512c1aeee376692
BLAKE2b-256 8b1172f516f600ea2a911e8d290465a9c2238ca250a5a2818255cc8349e683b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.4.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.4-cp313-cp313t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.4-cp313-cp313t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 94eaaf0a940b078f71d1f34fbf5d647afc5e42d4e2dc3114b495585b5739834b
MD5 73d2532c80e407db03470fe373dbe68f
BLAKE2b-256 e4c9c846d7e293228c284f92f9aead91b049b4eb432469aaae09974459641a2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.4-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.4-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.4-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 26f8dcefd9dccd74f4649ac751fa56e7097c52f12412b25c42ebf7bd48785a2a
MD5 1106de8d4c8891ce6b560838e27f275f
BLAKE2b-256 aeaa510001c32a9dbceeaba47f6f581002fe6c2b2f0ed3aa9c8987515319cf8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gauss_jacobi_quad-0.2.4-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