Skip to main content

RBFLAB

RBFLAB is a Python library for radial basis function interpolation and PDEs on point clouds. It supports global collocation, local Hermite interpolation (LHI), RBF-FD, symbolic linear operators and boundary conditions, and divergence-free velocity spaces. Scalar operators work in 2D and 3D.

Source and examples: https://github.com/LDBreton/RBFLAB

Install the Python core with:

python -m pip install rbflab

Optional extras include rbflab[examples] for Matplotlib plots and GIFs, rbflab[mesh] for Gmsh, and rbflab[torch] for the documented CPU Float64 tensor backend. The C++ double/MPFR backends are source-build options.

Here is a symbolic Poisson problem:

import sympy as sp
import rbflab as rbf

model = rbf.SymbolicScalar(2)
u = model.field
x, y = model.coordinates
exact = sp.sin(sp.pi*x) * sp.sin(sp.pi*y)
lhs = -model.laplacian(u)
problem = model.stationary(
    sp.Eq(lhs, lhs.subs(u, exact).doit()),
    boundary=[model.bc("boundary", sp.Eq(u, 0))],
)
cloud = rbf.unit_box_grid(5)
solution = problem.solve(
    cloud, rbf.GlobalCollocation(rbf.IMQ(2), scheme="asymmetric")
)
print(solution.evaluate([[0.3, 0.4]]))

The source repository also contains short heat, Stokes, 3D operator, custom kernel, and Re=100 lid-driven cavity examples. The cavity example is a showcase with a documented nonzero discrete divergence defect; it does not validate a general Navier–Stokes solver. LHI off-node reconstruction has its own accuracy limitations, and MPFR local weights do not automatically make a global sparse solve extended precision.

RBFLAB is licensed under MIT.

Metadata

Release files for rbflab 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbflab 0.1.0
File Size Uploaded Provenance Actions
rbflab-0.1.0.tar.gz 2.4 MB With provenance Details for rbflab-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rbflab 0.1.0
File Interpreter ABI Platform Actions
rbflab-0.1.0-py3-none-any.whl Python 3 none any Details for rbflab-0.1.0-py3-none-any.whl

Total release size: 2.6 MB

Release files / rbflab-0.1.0.tar.gz

Download URL rbflab-0.1.0.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
cd730981456e000e79e77a1fe83ef843279e7a558994f5cfcb907f933ef38e00
BLAKE2b-256 checksum
How to use checksums
3644dae30132745d0e94be3371284a96886ae35fe7fb02985d354cf5f58c9eed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / rbflab-0.1.0-py3-none-any.whl

Download URL rbflab-0.1.0-py3-none-any.whl
Size 133.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf4551fbefdf9a29dfe6af313a8e11fa69c7cb315757198cc9b384f9863f6ec0
BLAKE2b-256 checksum
How to use checksums
ba8d3d8d2d14bc6096bba43f09baadd490194e125a9a5c1429e78f65b4fc954d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Security for rbflab 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rbflab-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page