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], SymVar("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.dev2.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.dev2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pyrefly_shape_extensions-1.2.0.dev2.tar.gz
Algorithm Hash digest
SHA256 a38ca0d11bf7cd01b4f7e63778fe5c4ccafcf3e344efaf5abf0ffdfb059d5ba7
MD5 82a2bc9e72b075fdeebd342b33ee2266
BLAKE2b-256 5e3d1bffc2eeccdd1ebd10878382c550839485831f323e5b7175cea5d1b42e81

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyrefly_shape_extensions-1.2.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 168c6aad3767710ff7a800183b02e4a08df8d39f3bf8c94f7b7a0bed4e85402e
MD5 1c51a4fcb0fe03ee444ffa9148618df3
BLAKE2b-256 45c9f8c9d2d4131a2de8e6dac16104a12040154f11cf087075530c0f7f341d9d

See more details on using hashes here.

Provenance

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