The repository or configuration that created this release differ from a previous release. View details.
pyrefly-torch-stubs
PyTorch type stubs with tensor shape information for Pyrefly.
This package installs torch-shape-stubs, a Pyrefly-specific stub package for
runtime torch. Pyrefly discovers it by default; set
use-shape-comments-and-stubs = false to opt out. Other type checkers ignore these
stubs and continue using PyTorch's ordinary types.
The package is versioned in lockstep with Pyrefly and depends on the matching
pyrefly-shape-extensions package. Installing it also installs torch, which
provides upstream modules used by these partial stubs. The torch dependency is
unpinned, so projects can choose their own PyTorch version.
Static checks use the installed Torch package for modules that this package intentionally leaves unshaped:
python3 tensor-shapes/pyrefly-torch-stubs/run_pyrefly.py
The runner uses ~/.tensor-shapes-venv by default. Set
$TENSOR_SHAPES_VENV to select another virtualenv, or pass --python with an
interpreter from a virtualenv that has Torch installed.
Metadata
Release files for pyrefly-torch-stubs 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrefly_torch_stubs-1.5.0.tar.gz | 71.7 kB | With provenance | Details for pyrefly_torch_stubs-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrefly_torch_stubs-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for pyrefly_torch_stubs-1.5.0-py3-none-any.whl |
Total release size: 153.1 kB
Release files / pyrefly_torch_stubs-1.5.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pyrefly_torch_stubs-1.5.0.tar.gz |
|---|---|
| Size | 71.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c24b828b94b8ec0db67eb1a63b4b4e9d83b1de1f13d5e89e8a4a624569af6f8f
|
|
BLAKE2b-256 checksum How to use checksums |
dae26f4e0d71870b085e0350110298d127bc17ce3e49269459e1f08708ad4901
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / pyrefly_torch_stubs-1.5.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | pyrefly_torch_stubs-1.5.0-py3-none-any.whl |
|---|---|
| Size | 81.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0463cf53e5efbf19748390ca541d4b8ce2ebbc64337ec8434bd43d4f409068a
|
|
BLAKE2b-256 checksum How to use checksums |
b8362b5adab4d2faddd6cc72f70bfe28b56fd231f272918da8bd8916c6e93bd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for pyrefly-torch-stubs 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 1.4.1 github.com/meta/pyrefly
- Added 1.5.0 github.com/pyrefly-org/pyrefly
Attestation for pyrefly_torch_stubs-1.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.