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, (2, 3)) can be evaluated by Python while Pyrefly uses the corresponding stubs for static shape checking.

The package is versioned in lockstep with Pyrefly.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrefly_shape_extensions-1.2.0.dev3.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrefly_shape_extensions-1.2.0.dev3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file pyrefly_shape_extensions-1.2.0.dev3.tar.gz.

File metadata

File hashes

Hashes for pyrefly_shape_extensions-1.2.0.dev3.tar.gz
Algorithm Hash digest
SHA256 80e4b94676717cea14446522c4528a5086ce182257b2b8720dc565aced372d22
MD5 a305078a6c34895559f47ccca6b0b7dd
BLAKE2b-256 b9c6821aba712495c77014082fcf0932e85d303fa0ec35d808aec07ab8a6fc48

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly_shape_extensions-1.2.0.dev3.tar.gz:

Publisher: publish_shape_stubs.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly_shape_extensions-1.2.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for pyrefly_shape_extensions-1.2.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 89c087a08332fd158f1810f252172b8e58749d308bc7aead3d34c8f2b79d5720
MD5 84184b392adb6fe23f95b849874fbfb1
BLAKE2b-256 76689dec18bfdf6fdaa20d5e34e2fbc1b87cb94b916ed3a91db4e918050f023b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly_shape_extensions-1.2.0.dev3-py3-none-any.whl:

Publisher: publish_shape_stubs.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.2.0

2 files

This release

1.2.0.dev3 This release

2 files

1.1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page