The repository or configuration that created this release differ from a previous release. View details.
Pyrefly JAX shape stubs
This package installs jax-shape-stubs, a Pyrefly-specific stub package for
runtime jax. Pyrefly discovers it by default; set
use-shape-comments-and-stubs = false to opt out. Other type checkers ignore these
stubs and continue using JAX's ordinary types. It is versioned in lockstep
with Pyrefly and depends on the matching pyrefly-shape-extensions and
pyrefly-numpy-stubs packages. Installing it also installs jax, which provides
upstream modules used by these partial stubs. The jax dependency is unpinned,
so projects can choose their own JAX version.
Shape-typed fixture stubs for a subset of JAX. This is a starting point for
working with the JAX core team rather than a complete model: it covers array
creation, broadcasting arithmetic, matmul, reshape, transpose, the
axis/keepdims reductions, and the elementwise activations in jax.nn.
Dimensions are modeled and dtypes are not, so adding dtypes later means modeling
JAX's own defaults (float32 and int32) rather than copying the NumPy stubs.
Shape rules use the type-level DSL, @type_shape_dsl_function, exclusively. A
rule the DSL cannot express yet returns a gradual shape instead. Where a rule is
imprecise for that reason, the stub says so at the definition, along with
whether a fix is expected.
TENSOR_SHAPES_CONTRIBUTING.md at the repository root covers the workflow, and
tensor-shapes/run_tests.py runs the tests. Pyrefly checks the stubs themselves
and every test/test_*.py, and those same test files then run against real
JAX, so a stub that is self-consistent but wrong still fails.
Before submitting a change, format this package with Ruff from the repository root:
uv tool run --from ruff==0.16.5 ruff format tensor-shapes/jax-pyrefly-stubs
Anything not listed above is simply absent rather than modeled loosely, so it is reported as a missing attribute rather than inferred gradually.
Metadata
Release files for jax-pyrefly-stubs 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jax_pyrefly_stubs-1.5.0.tar.gz | 47.5 kB | With provenance | Details for jax_pyrefly_stubs-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jax_pyrefly_stubs-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for jax_pyrefly_stubs-1.5.0-py3-none-any.whl |
Total release size: 102.1 kB
Release files / jax_pyrefly_stubs-1.5.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | jax_pyrefly_stubs-1.5.0.tar.gz |
|---|---|
| Size | 47.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
781356657b5913258267e5b2420db729100b9ad288a09cf8745b5c98a426234d
|
|
BLAKE2b-256 checksum How to use checksums |
377fe285e9aec8247cfa00b1c53659f8c3a6349dd7f05ebcf83fc05c49a5e946
|
| 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 Nov 19, 2026.
Transparency logRelease files / jax_pyrefly_stubs-1.5.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | jax_pyrefly_stubs-1.5.0-py3-none-any.whl |
|---|---|
| Size | 54.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab8abe704299b6f13049207f041d0dfae35cb947489e1204213670dc0d595847
|
|
BLAKE2b-256 checksum How to use checksums |
99a77b669fba041652a23959268ba13e3e67adbd6b7e14f1036ea7cb722fa6ae
|
| 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 Nov 19, 2026.
Transparency logSecurity for jax-pyrefly-stubs 1.5.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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 1.4.1 github.com/meta/pyrefly
- Added 1.5.0 github.com/pyrefly-org/pyrefly
Attestation for jax_pyrefly_stubs-1.5.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 Nov 19, 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.