Skip to main content

symbfitrs

A fast CPU fitter for nonlinear equations, written in Rust, for symbolic regression. uv pip install symbfitrs (Linux, macOS), then symbfitrs.compile("a*exp(-b*x) + c").fit(x, y, budget_ms=5), or symbfitrs.Pool(threads=8).fit_many([(expr, x, y), ...]) for batches.

Share of fits reaching the target against time per fit for twelve solvers: symbfitrs 72% at 1 ms and 86% at 5 ms; the best other, SciPy lm, 47% and 71%

Share of symbfitrs fits reaching the target against time per fit with 1 to 5 fits running in parallel: 72% at 1 ms and 84% at 5 ms with one at a time, 71% and 82% with five in parallel Speed-up in clearing a queue of 5,078 fits with 1 to 5 workers: 1.99x with 2 workers, 2.95x with 3, 3.91x with 4 and 4.20x with 5; wall time 108 s with one worker, 26 s with five

Six suites (NIST StRD, Moré–Garbow–Hillstrom, FitBenchmarking, SAGE-Fit, Stringer 2019, synthetic up to 99 parameters); one thread per fit; every solver at its library defaults (SciPy, Optimistix, Ceres via pyceres, SAGE-Fit, VarProPy, the Rust varpro crate; see bench/baselines.py); compile time not counted. The second chart reruns symbfitrs through the package on a machine with 4 reported CPUs, on the five suites whose problems are single expressions (not MGH). The third chart queues 5,078 fits on N workers (100 ms budget each); fits that settle on their own give identical results at every N. SAGE-Fit data is Python code the benchmark executes, so fetch only data you trust. The benchmark needs uv and cargo.

uv sync && uv run python -m bench.fetch nist fitbenchmarking sagefit stringer2019  # 860 MB
for s in nist_strd mgh fitbenchmarking synthetic_scale sagefit_spb stringer2019_gratings; do
  uv run python -m bench run $s && uv run python -m bench run $s --fitter; done
uv run python -m bench.figure

MIT licence; downloaded benchmark data keeps its own.

Metadata

Release files for symbfitrs 0.1.1

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

Source distribution (sdist)

Source distribution for symbfitrs 0.1.1
File Size Uploaded Provenance Actions
symbfitrs-0.1.1.tar.gz 41.0 kB With provenance Details for symbfitrs-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for symbfitrs 0.1.1
File Actions
symbfitrs-0.1.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for symbfitrs-0.1.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
symbfitrs-0.1.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for symbfitrs-0.1.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
symbfitrs-0.1.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for symbfitrs-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
symbfitrs-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for symbfitrs-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 1.6 MB

Release files / symbfitrs-0.1.1.tar.gz

Download URL symbfitrs-0.1.1.tar.gz
Size 41.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dbbf7ba9e31483532b3eafc51d2c51bfa39547df3962eb1af83a2183d49d01f7
BLAKE2b-256 checksum
How to use checksums
ac2aa608df635df7083ae5f0261a781323fdff9d50aedc94471d758d7c0eb19a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Release files / symbfitrs-0.1.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL symbfitrs-0.1.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 408.9 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
d69824222b6993d75a287963cd3cca7b39b96860d7e9fc4146ce842aff591e79
BLAKE2b-256 checksum
How to use checksums
1a03981527e855487fb9799afe80078aa3b9d6e07a346095319462a23254d316
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Release files / symbfitrs-0.1.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL symbfitrs-0.1.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 383.3 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
d8d14616b2aea0bf85c57da57573e23fbe08019e685a0744b7d4ca71659ce430
BLAKE2b-256 checksum
How to use checksums
fc2d32a94453dc00080ae792bd2e006970c790a4ae7124d1c7ef41d2917cc518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Release files / symbfitrs-0.1.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL symbfitrs-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
Size 362.7 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
79aaf5a63eb5761dcf5a13ae8a1f315a67b5c612d5fdcef6b3ad82071fe793e3
BLAKE2b-256 checksum
How to use checksums
7e83747aa2779e2fdcaaeb687f0a0ec41d8d870ec3cce836eb5615db5905c7d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Release files / symbfitrs-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL symbfitrs-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl
Size 387.6 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
270ec439599ce117f51eb1f8484f01c7ebea9aff0d43f9cbf73546de0b9f6994
BLAKE2b-256 checksum
How to use checksums
96cd999d95189db1a6c3d7bcc567a2b052d4fe64620de59c0caaacfedde2246f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Security for symbfitrs 0.1.1

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

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for symbfitrs-0.1.1.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 Nov 27, 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