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

File details

Details for the file pyrefly_shape_extensions-1.3.0.dev1.tar.gz.

File metadata

File hashes

Hashes for pyrefly_shape_extensions-1.3.0.dev1.tar.gz
Algorithm Hash digest
SHA256 e120fa156e722d4afbfbbcd22302587a8ce5dfe5f4016ca287f2cd69469a7a30
MD5 a03aba6871252825333c552193d63b06
BLAKE2b-256 8f9074f2bf6d7614e2a70fa960cee803fd53f04eafc8935b602c968a96624881

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyrefly_shape_extensions-1.3.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 a57c8c6ecb6c6fda8240969f3f7431f023396cd5ceebc5394d8844a3692a970c
MD5 b834d7d4eb6a0ef7458760cfcf3e2889
BLAKE2b-256 50974b9819f31775901f8ac2f0ec39fc59ca7105f8294291d1ed316cd94650d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly_shape_extensions-1.3.0.dev1-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.3.0.dev1 This release

2 files

1.2.0

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