Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Pyrefly einops shape stubs

This package is a PEP 561 stub-only distribution for einops. It provides shape-aware annotations for rearrange, reduce, repeat, and einsum using Pyrefly's type-level shape DSL.

The precise annotations currently target PyTorch. The runtime corpus also exercises NumPy and JAX to validate that the shared einops pattern semantics agree across backends.

TODO: Once Pyrefly supports a MapShape type operator, make the annotations generic over array libraries while preserving the input's nominal array type.

Patterns that need named axes_lengths currently return a gradual shape; the core evaluator already supports those lengths, and a future call-site bridge will make them available to the shape rule.

Run the static tests with:

python3 tensor-shapes/pyrefly-einops-stubs/run_pyrefly.py --buck

Metadata

Release files for pyrefly-einops-stubs 1.4.0.dev2

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

Source distribution (sdist)

Source distribution for pyrefly-einops-stubs 1.4.0.dev2
File Size Uploaded
pyrefly_einops_stubs-1.4.0.dev2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrefly-einops-stubs 1.4.0.dev2
File Interpreter ABI Platform
pyrefly_einops_stubs-1.4.0.dev2-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / pyrefly_einops_stubs-1.4.0.dev2.tar.gz

Download URL pyrefly_einops_stubs-1.4.0.dev2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
190b66ff456a61be55320c19fcde39c3ad91a34ab1186465011493912feaa237
BLAKE2b-256 checksum
How to use checksums
2ccdab4676f74c981d07c56f2db4fcf8c6c928c9048df6585e6eb34ab358c23d
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 Sep 28, 2026.

Transparency log

Release files / pyrefly_einops_stubs-1.4.0.dev2-py3-none-any.whl

Download URL pyrefly_einops_stubs-1.4.0.dev2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f1cb28ab677cfff95259af9780e0f36c9af9b7e332431ed7a5eb5f249c44a8c
BLAKE2b-256 checksum
How to use checksums
a5932fc4666c2b40721b16977dbfdb9e87c020c3beca124a872b44c164aa4a37
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 Sep 28, 2026.

Transparency log
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