Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyrefly-torch-stubs

PyTorch type stubs with tensor shape information for Pyrefly.

This package is a PEP 561 stub-only distribution. It installs the torch-stubs stub package so Pyrefly can discover shape-aware stubs for the runtime torch package without replacing or shadowing PyTorch itself.

The package is versioned in lockstep with Pyrefly and depends on the matching pyrefly-shape-extensions package.

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.4.0.dev3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrefly-torch-stubs 1.4.0.dev3
File Size Uploaded
pyrefly_torch_stubs-1.4.0.dev3.tar.gz 59.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrefly-torch-stubs 1.4.0.dev3
File Interpreter ABI Platform
pyrefly_torch_stubs-1.4.0.dev3-py3-none-any.whl Python 3 none any Details

Total release size: 127.2 kB

Release files / pyrefly_torch_stubs-1.4.0.dev3.tar.gz

Download URL pyrefly_torch_stubs-1.4.0.dev3.tar.gz
Size 59.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3eabe33e135795da30e6e4a0c2ef4b639665167b44ca1a9a22e5f419ba96e154
BLAKE2b-256 checksum
How to use checksums
5a3f34f5c74a649756afd6de1163b831b5cef0b26bf7a68d22c60b445179effc
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 Oct 2, 2026.

Transparency log

Release files / pyrefly_torch_stubs-1.4.0.dev3-py3-none-any.whl

Download URL pyrefly_torch_stubs-1.4.0.dev3-py3-none-any.whl
Size 68.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a618e8b1a09394643dbf95de28583c345881a5bcd2a51206a5cf4763e7590cf
BLAKE2b-256 checksum
How to use checksums
00fc759eaaa737c5d65c775f05b758065750e46b6f97699db3587d5674035a5d
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 Oct 2, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page