This release is a pre-release and may not be stable for production use.
omnibias-fields
One field. Several operators. Coordinate-aware state shares derivative work across views.
Static poster · Narrow-screen animation · How this visual is computed
Coordinates, named components and derivative providers enter a FieldState. Gradient, divergence, Hessian and Laplacian views leave through one dispatch and caching contract. This is infrastructure for PDE and geometry libraries, not a PDE solver.
The animation uses computed outputs to explain this package. Frame transitions are illustrative unless a training step is explicitly identified; it is not a performance comparison.
API reference · Source · Tests · Talk to Derivon
The mathematical connection
Bias-collapse backends can provide the cached derivative tower; field operators contract and compose those derivatives without requiring concrete consumer classes. Other providers must declare their own derivative semantics. Temperature collapse is not built into a FieldState: regional gates are an explicit higher-level integration.
Run this README
The examples use omnibias-fields on Python >=3.10. Their installed-wheel
profile selects runtime features, not an editable workspace. Install the prepared
prerelease from PyPI:
python -m pip install --pre "omnibias-fields==0.2.0rc1"
For local development before publication, build and test the coordinated wheelhouse using the release guide. The package's wheel profile executes the examples below outside the source checkout.
Existing published consumers may need historical primitive versions; see the compatibility policy.
Why this package exists
A PDE residual is easier to maintain when coordinates, field components and derivative caches have explicit identities. Fields supplies that shared vocabulary so a gradient, divergence, curl or Laplacian can consume the same evaluated state. Consumers can build model families and solvers without each inventing its own field protocol.
What you can build
- FieldState, CoordinateSpec and ComponentSpec describe evaluated fields.
- SigmaCache reuses activation derivatives within an evaluation.
- Torch and JAX operators cover scalar, vector, tensor, complex and weak-form compositions.
Use fields as the integration seam between a model and physical operators. The external PINN package owns concrete solver workflows; fields owns the reusable state and operator contracts. A component name is part of the model interface, not a guess about a tensor axis.
A working example
from omnibias.fields import CoordinateSpec, ComponentSpec, SigmaCache
from omnibias.core import eval_tanh_derivative
coordinates = CoordinateSpec(axes=("t", "x"), time_axis="t")
components = ComponentSpec(names=("u",))
assert coordinates.axis_index("x") == 1 and components.is_component("u")
cache = SigmaCache(z=0.3)
u_xx = cache.get_or_compute(2, lambda n: eval_tanh_derivative(0.3, n))
assert cache.get_or_compute(2, lambda n: 999.0) == u_xx
Choose the right contract
Operators consume a FieldState with a compatible provider; they are not generic functions accepting any tensor. Rebuild state after coordinates or parameters change. Cached values must stay attached to the current computation. Numerical quadrature is an approximation unless the selected rule is exact for the integrand.
Explore and validate
The API guide contains the generated module/export inventory. Use it to find the focused implementation rather than guessing a symbol from another package. The capability map connects the primitives to larger scientific workflows.
From the main repository, run the package’s regression suite:
uv run pytest packages/omnibias-fields/tests -q
License
Apache-2.0. See LICENSE and the licensing policy.
Metadata
Release files for omnibias-fields 0.2.0rc1
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 |
|---|---|---|---|---|
| omnibias_fields-0.2.0rc1.tar.gz | 82.5 kB | With provenance | Details for omnibias_fields-0.2.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omnibias_fields-0.2.0rc1-py3-none-any.whl | Python 3 | none | any | Details for omnibias_fields-0.2.0rc1-py3-none-any.whl |
Total release size: 176.9 kB
Release files / omnibias_fields-0.2.0rc1.tar.gz
| Download URL | omnibias_fields-0.2.0rc1.tar.gz |
|---|---|
| Size | 82.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d9f6e9eec7fc8ebebcf95a6c1929e820e9c58392e39f20f2a3622339e596f4b
|
|
BLAKE2b-256 checksum How to use checksums |
d7e809ad2b27fe35f74c70ffe5d5beb674b9e5846c9f667a847a7ec5fae6a29e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 4, 2026.
Transparency logRelease files / omnibias_fields-0.2.0rc1-py3-none-any.whl
| Download URL | omnibias_fields-0.2.0rc1-py3-none-any.whl |
|---|---|
| Size | 94.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87852e69f25bb9156716e50f0361d2ba7bb866bf38f07cb8980fa9024984ced0
|
|
BLAKE2b-256 checksum How to use checksums |
7f18dc03c088a0e8346b8c028a314a34510b38a046536ed12b2c31b9c3eae776
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 4, 2026.
Transparency logSecurity for omnibias-fields 0.2.0rc1
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.
Attestation for omnibias_fields-0.2.0rc1.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 4, 2026.
Transparency logA 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.