This release is a pre-release and may not be stable for production use.
simtest-funnel (Python)
Python bindings for the simtest-funnel trajectory comparison library, built with PyO3 and maturin.
See the workspace
README.md for how
this library differs from LBNL Funnel.
Install
pip install simtest-funnel
Requires Python 3.11 or later. Prebuilt wheels (one stable-ABI wheel per
platform, for CPython 3.11 and every later version): Linux x86-64 and
ARM64 (manylinux, glibc 2.17+; musllinux 1.2), macOS x86-64 and Apple
silicon, Windows x64 and ARM64. On other platforms pip builds the source
distribution, which needs a Rust toolchain (rustup). numpy is
installed as a dependency; pandas is needed only for
compare_dataframes.
Quick start
import numpy as np
from simtest.funnel import Options, Tolerances, compare
t = np.linspace(0.0, 1.0, 101)
y_ref = np.sin(2 * np.pi * t)
y_test = y_ref + 0.01
result = compare(
t, y_ref, t, y_test,
Options(tolerances=Tolerances(atoly=0.05)),
)
print(result.status) # 0 == Pass, -1 == Fail, 1/2 == MissingReference/Test
Tolerances(atoly=0.05) sets the y axis only: rtoly becomes 0 and
the x axis keeps its default, which is no tolerance in x (time); give
e.g. atolx=0.5 to allow the test to be shifted by up to 0.5 time units.
Tolerances are resolved per axis (an axis with no coefficient given gets
its default — x all 0.0, y rtoly = 2e-3 — an axis with at least one
given uses 0.0 for the rest; explicit 0.0 counts as given) — see the
package README for details.
compare releases the interpreter lock while it runs, accepts
timeout= (seconds, raises ComparisonTimeout) and cancel= (a
CancelToken another thread can cancel(), raises
ComparisonCancelled), and Ctrl-C interrupts it with
KeyboardInterrupt.
For DataFrame-based comparisons and the package-level API reference
see the package README in
python/simtest/funnel/README.md.
Typing
The wheel ships a py.typed marker and a hand-maintained
_simtest_funnel.pyi stub, so mypy --strict is supported out of
the box.
Documentation
A pdoc-rendered site is published alongside every release. Build
it locally with:
make docs-python # → target/doc/python/index.html
simtest-funnel-python
Python bindings for the simtest-funnel trajectory comparison library, built with PyO3 and maturin.
Metadata
Release files for simtest-funnel 1.0.0b21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simtest_funnel-1.0.0b21.tar.gz | 215.6 kB | Without provenance | Details for simtest_funnel-1.0.0b21.tar.gz |
Built distributions (wheels)
Total release size: 3.2 MB
Release files / simtest_funnel-1.0.0b21.tar.gz
| Download URL | simtest_funnel-1.0.0b21.tar.gz |
|---|---|
| Size | 215.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4a0de4903bfd124d1d1a4dca63936e44800da2b4595afd0f956ebcdec41dee4
|
|
BLAKE2b-256 checksum How to use checksums |
e9f854c18e45798ce516b643c6edb29d8cec09c9d27ef2c8fe6f35bfbd6a206a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / simtest_funnel-1.0.0b21-cp311-abi3-win_arm64.whl
| Download URL | simtest_funnel-1.0.0b21-cp311-abi3-win_arm64.whl |
|---|---|
| Size | 220.6 kB |
| Tags | CPython 3.11 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
38e7cc243f331221f1f7fa56d621c421f9afacf54ac85f3ee165f23abfb2b5da
|
|
BLAKE2b-256 checksum How to use checksums |
2f48b1ae01f0046174772102bcf3484234a300868c0c83d5f2f433a11252249f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / simtest_funnel-1.0.0b21-cp311-abi3-win_amd64.whl
| Download URL | simtest_funnel-1.0.0b21-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 228.2 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c8ca5f448fa8cedc40ab8e69561084bd506c01be4fe62dc561562e7209784da7
|
|
BLAKE2b-256 checksum How to use checksums |
338681aeb1e7dac9734fcff24e621e18e55e2c25a21a4c21bf0f9a00c50c8da8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / simtest_funnel-1.0.0b21-cp311-abi3-musllinux_1_2_x86_64.whl
| Download URL | simtest_funnel-1.0.0b21-cp311-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 575.6 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e6c19c55137ea2e5fe20a13307e970b8ed4b055bc1e7217cca24497af5049ada
|
|
BLAKE2b-256 checksum How to use checksums |
4b243e1788666f627a6204e514f75a4a576be1c002e5a170bd48349e6c3e556d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / simtest_funnel-1.0.0b21-cp311-abi3-musllinux_1_2_aarch64.whl
| Download URL | simtest_funnel-1.0.0b21-cp311-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 542.6 kB |
| Tags | CPython 3.11 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
0a1cf9bd1782114a36ad8dfbc52f97cd3dc3b61f00b69a863399125651a598b0
|
|
BLAKE2b-256 checksum How to use checksums |
79d6643c3eebd94b81254626ceb032b0148dbab8a4f5d3df16aef5f6ebe5eeec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / simtest_funnel-1.0.0b21-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | simtest_funnel-1.0.0b21-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 377.5 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
58c5e719e2c433aa85aece49bb55ce9d254ac29e8759475d25d4a5e1aa3f5fe2
|
|
BLAKE2b-256 checksum How to use checksums |
249f1bc46c7f8982fad1362e33c8636155efe9a654c7be7639454f74c7290f4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / simtest_funnel-1.0.0b21-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | simtest_funnel-1.0.0b21-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 364.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
a62f066871d940bda9d8f8daf0afdeeb930f9007f12c2e0c4c02abcc1d90c25f
|
|
BLAKE2b-256 checksum How to use checksums |
742f0a0707e44850e30b011a72492499b55b01f9df950ec3679dad8f582c5715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / simtest_funnel-1.0.0b21-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | simtest_funnel-1.0.0b21-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 330.1 kB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dfaa44f96d17bc96d2b3668a4c6e659939bcc41b374e2b9d809cf0ba9dfed6d1
|
|
BLAKE2b-256 checksum How to use checksums |
7f65567f9f2d75b2c92466b5e1634f878fa42d6352c83afcf8d0cb78f6ced42a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / simtest_funnel-1.0.0b21-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | simtest_funnel-1.0.0b21-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 332.3 kB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
13f9ab296f1196befc41f9af18050200f739b5c9e4808afa7feceb97425fca88
|
|
BLAKE2b-256 checksum How to use checksums |
411677a1a8c8c787103f24c33414736bf27d62c5f320afb1b358c19b76be5602
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for simtest-funnel 1.0.0b21
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.