Skip to main content

CPython extension for GaussJacobiQuad (ISO_C_BINDING C ABI, Stable ABI / abi3)

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+)
  • Multi-phase module init (PEP 489)
  • Heap exception type via PyErr_NewException (dynamic type)
  • Wheel embeds the Fortran/C kernels (meson-python + gfortran)

Free-threaded CPython (3.13t) is a different ABI and does not load abi3 wheels; use a from-source build there if needed.

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.2.tar.gz (119.3 kB view details)

Uploaded Source

Built Distribution

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

gauss_jacobi_quad-0.2.2-cp39-abi3-manylinux_2_28_x86_64.whl (12.1 MB view details)

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

File details

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

File metadata

  • Download URL: gauss_jacobi_quad-0.2.2.tar.gz
  • Upload date:
  • Size: 119.3 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.2.tar.gz
Algorithm Hash digest
SHA256 5176bea2b6fd8d4da7270a7344a5b765b1da4ead9ee30d2aa753bc2f412a1ac8
MD5 7239e9465210bf4ca18e8db16961162d
BLAKE2b-256 74aaf9b326cc51f7348f49ebad72f1956ae22c42b77854cfbb5a0de9ab19278d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.2-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1929e3c49ccdf1e51b70be6bca5c50c329452000fc694bf116abd885f224d9b7
MD5 c7babcc233929c445ee49ff0d752c6ee
BLAKE2b-256 46c99aa05e42aa7ba4203c6a00fc97726ea21cc059e702e1b459eaa270eaf893

See more details on using hashes here.

Provenance

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