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.3.tar.gz (120.0 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.3-cp313-cp313t-manylinux_2_28_x86_64.whl (12.1 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ x86-64

gauss_jacobi_quad-0.2.3-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.3.tar.gz.

File metadata

  • Download URL: gauss_jacobi_quad-0.2.3.tar.gz
  • Upload date:
  • Size: 120.0 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.3.tar.gz
Algorithm Hash digest
SHA256 fa6c1601f7937714b124ca92666da4133a33a94d4458f4d7dff56a533f377a83
MD5 5b9013bbb9ce949f444658ed85d227db
BLAKE2b-256 2ad69373d236c250800efc604427bddba70436cfd476c5af862239634f5fb327

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.3-cp313-cp313t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1241ca79f92ced11337842df52fbd1cdccc59c04690b894cc7de8fd7ac55ff24
MD5 cf58f302d14303cb580203d128dc5e0c
BLAKE2b-256 38a1d73a2877c678a1d9585bb399d308b7120daf89294d5a6cd812ff40e1d85f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gauss_jacobi_quad-0.2.3-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d9e51317ce1efd24091bc047642d1551d350bb31a94f356b19ee1830e393925d
MD5 ab23e65f8883375ed175e1f5fe840712
BLAKE2b-256 0511c17f5b5414cc79792c25f6bfcbc6970a133158645cb8fc8cc0b14e0f741b

See more details on using hashes here.

Provenance

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