Skip to main content

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.tar.gz (5.6 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-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pyrefly_shape_extensions-1.2.0.tar.gz
Algorithm Hash digest
SHA256 45d5dc674e46d1b93b308bff34a9dc12c3b3d0ecd89cd78ca1831cf0b202df1a
MD5 98fad141a99bc7b9a5a683eab19d60bb
BLAKE2b-256 565aef911e82768bf08568c8559fdb8602dd55e681de5fdec1af9d6e5e04085c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly_shape_extensions-1.2.0.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-py3-none-any.whl.

File metadata

File hashes

Hashes for pyrefly_shape_extensions-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29f0a122cec918d3fa19cb189a8c062b7bcfa65933ca5d500ddae321e9c3c5d9
MD5 45cd8133078f10cebf793d0602739c95
BLAKE2b-256 d23ebe7e66763aa5f1762191a5c0d0d1966b4c9ef99e035e8e77547f0ebba8c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly_shape_extensions-1.2.0-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

This release

1.2.0 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