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.dev1

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.dev1
File Size Uploaded
pyrefly_einops_stubs-1.4.0.dev1.tar.gz 3.0 kB Details

Built distribution (wheel)

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

Total release size: 7.9 kB

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

Download URL pyrefly_einops_stubs-1.4.0.dev1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2ca9b9ce1ea2724a0317af9b98fb9b0d5fdcb0f7b1f6a94d9e081f5c1a07e97b
BLAKE2b-256 checksum
How to use checksums
2e8ad5eae616dcc01474e382533704db1ac065186e6ea78704becd792c53c142
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 18, 2026.

Transparency log

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

Download URL pyrefly_einops_stubs-1.4.0.dev1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7247087e0ff7a7a5a284da5ae34f33943c8659dc9fc9c22646f6300b3058d7e
BLAKE2b-256 checksum
How to use checksums
2e616c95c88270139ab3526d9ffce41a2c9a8364e5df638debf68faa57739548
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 18, 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