Shape typing primitives and DSL for Pyrefly tensor shape tracking
Project description
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], TypeVar("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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrefly_shape_extensions-1.2.0.dev1.tar.gz.
File metadata
- Download URL: pyrefly_shape_extensions-1.2.0.dev1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f7114cd9f0ae1023513e6a914c3704a119e0cc08943b57cc1f8757c18a9a8ea
|
|
| MD5 |
acf97227b78645ebfd542a3660916d02
|
|
| BLAKE2b-256 |
f46d7d1694f9f2b3fe1328097815bd62d4cb64106470a4b1e0277c1de37b7166
|
Provenance
The following attestation bundles were made for pyrefly_shape_extensions-1.2.0.dev1.tar.gz:
Publisher:
publish_shape_stubs.yml on facebook/pyrefly
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrefly_shape_extensions-1.2.0.dev1.tar.gz -
Subject digest:
2f7114cd9f0ae1023513e6a914c3704a119e0cc08943b57cc1f8757c18a9a8ea - Sigstore transparency entry: 2039654850
- Sigstore integration time:
-
Permalink:
facebook/pyrefly@f6dfd9e35415757c03ea6325b1774ce7b2e8964b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/facebook
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_shape_stubs.yml@f6dfd9e35415757c03ea6325b1774ce7b2e8964b -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrefly_shape_extensions-1.2.0.dev1-py3-none-any.whl.
File metadata
- Download URL: pyrefly_shape_extensions-1.2.0.dev1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a8111e7341426aa6662fbc7dff09135a52defbec6fe20f9c9e478c68928fe12
|
|
| MD5 |
3ce4c01a9f824ba09a4a77735be08fae
|
|
| BLAKE2b-256 |
82d04071a23ec183e077496eb5722bd1ab9db41f8268ad07f5a896eee032b114
|
Provenance
The following attestation bundles were made for pyrefly_shape_extensions-1.2.0.dev1-py3-none-any.whl:
Publisher:
publish_shape_stubs.yml on facebook/pyrefly
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrefly_shape_extensions-1.2.0.dev1-py3-none-any.whl -
Subject digest:
3a8111e7341426aa6662fbc7dff09135a52defbec6fe20f9c9e478c68928fe12 - Sigstore transparency entry: 2039655148
- Sigstore integration time:
-
Permalink:
facebook/pyrefly@f6dfd9e35415757c03ea6325b1774ce7b2e8964b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/facebook
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_shape_stubs.yml@f6dfd9e35415757c03ea6325b1774ce7b2e8964b -
Trigger Event:
push
-
Statement type: