Skip to main content
Pre-release

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

pyrefly-shape-extensions

Runtime helpers for Pyrefly tensor shape annotations.

This package provides the lightweight shape_extensions module used by Pyrefly's tensor shape stubs. It defines runtime no-op versions of the shape typing primitives so annotations such as Tensor[B, T], IntVar("B"), and assert_shape(x.shape, (2, 3)) can be evaluated by Python while Pyrefly uses the corresponding stubs for static shape checking.

RegularNestedList[Shape, Domain] represents regular (non-jagged) nested list literals; for example, [[1, 2], [3, 4]] binds Shape to [2, 2]. Unsupported containers and irregular literals use ordinary typing and any fallback overload supplied by the consumer.

The package is versioned in lockstep with Pyrefly.

Metadata

Release files for pyrefly-shape-extensions 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-shape-extensions 1.4.0.dev1
File Size Uploaded
pyrefly_shape_extensions-1.4.0.dev1.tar.gz 10.6 kB Details

Built distribution (wheel)

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

Total release size: 23.9 kB

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

Download URL pyrefly_shape_extensions-1.4.0.dev1.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
acf2cb8d9fbde34183d9e9f2a1c9837459d3ad20c18f12b77fc83c224dd66445
BLAKE2b-256 checksum
How to use checksums
92682765c1ccfa114c195c157aff4f4da9421deadb19ced88032c1ff89c2439b
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_shape_extensions-1.4.0.dev1-py3-none-any.whl

Download URL pyrefly_shape_extensions-1.4.0.dev1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2d861a70502ee2753de6aabcd8797e63f02beb98a42a93aa6844c64006f1d12
BLAKE2b-256 checksum
How to use checksums
a6ef65945c4363c717f5d1165b4cf9c3ada5b55dc2159b46b402c081a696e15c
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