pyrofile
File-like object for accessing local and cloud storage. Built in Rust with growing support for major cloud storage platforms.
Install
pip install pyrofile
Usage
from pyrofile import PyroFile
# Local filesystem
with PyroFile("/tmp/model.pt", "w") as f:
f.write(data)
with PyroFile("/tmp/model.pt", "r") as f:
data = f.read()
# Azure Blob Storage
with PyroFile("az://account/container/model.pt", "w") as f:
f.write(data)
Works with torch.save and torch.load:
import torch
from pyrofile import PyroFile
with PyroFile("az://account/container/checkpoint.pt", "w") as f:
torch.save(model.state_dict(), f)
with PyroFile("az://account/container/checkpoint.pt", "r") as f:
state = torch.load(f, weights_only=True)
Backends
| Backend | URI scheme | Status |
|---|---|---|
| Local filesystem | /path/to/file |
Stable |
| Azure Blob Storage | az://account/container/blob |
Preview |
| Amazon S3 | s3://bucket/key |
Planned |
| Google Cloud Storage | gs://bucket/object |
Planned |
Development
python -m venv .venv && source .venv/bin/activate
python -m pip install maturin pytest
maturin develop --release --features azure
cargo test --lib
python -m pytest tests/python/test_local.py
python -m pytest tests/python/test_azure_integration.py
Metadata
Release files for pyrofile 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrofile-0.3.2.tar.gz | 43.3 kB | With provenance | Details for pyrofile-0.3.2.tar.gz |
Built distributions (wheels)
Total release size: 39.7 MB
Release files / pyrofile-0.3.2.tar.gz
| Download URL | pyrofile-0.3.2.tar.gz |
|---|---|
| Size | 43.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4360b96622193197b2bfdb57ff866ca238134a548a037ef3072d651d8cdbdaae
|
|
BLAKE2b-256 checksum How to use checksums |
e9b392e94d0448fae77ed02393c55da93cfa5cbeb2d2fedc64a01fbd73c63a6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyrofile-0.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
97dcceb1155303eb1b891088bb04f099a64a3c94b51efe1e772fc7329e459d92
|
|
BLAKE2b-256 checksum How to use checksums |
a0c84c92b827e5179da9f051ebd03d4bbf5e3cadb30ddd08fe32c9a7b2a765a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pyrofile-0.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
046dccbed6a7d828fb21fe1c8afaa03a404c4a33e32a0eaedffa995e352244cb
|
|
BLAKE2b-256 checksum How to use checksums |
b8490d14772a56b8eccb99b10c01c414be8844a5f72fa1a5675f2e70977b0cf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | pyrofile-0.3.2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6e647eee32d1cf74051784ba034c9c1662fdd7d4ef61542865501c3ed03738cf
|
|
BLAKE2b-256 checksum How to use checksums |
24d20a5343f81c264156f95aac1bdb5577906800301e647f548c29037be9b5b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp313-cp313-macosx_10_12_x86_64.whl
| Download URL | pyrofile-0.3.2-cp313-cp313-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.13 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
08154e40abbc3c1246eae15f338f5914d0db14b4e79fcef62eb4e2536694fd3e
|
|
BLAKE2b-256 checksum How to use checksums |
e6be4ee8d95d0af9687af4cd80c9d358792ffa8e6d9b1a9ae7d6c20b9131fa16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyrofile-0.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
366f12728f5ceeaeed1d3e5b5c04369c499a7e560a3387d52ff90ca489ea9d09
|
|
BLAKE2b-256 checksum How to use checksums |
7acf69315abd00d39be7ec5afcf615dd70974d95c1204869843e0168a2382c53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pyrofile-0.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
ee35c41bccd09a078bd04188567664adb2502a7ef61faf39577697c1204ecd37
|
|
BLAKE2b-256 checksum How to use checksums |
6b6d46cb912d0c4e5a045a4b7b43500b9e2f0a9b082a84a48f1e1cfa80319751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | pyrofile-0.3.2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f693f33af48fdb7249d7096a6cf5b171bc29824e9e64396adf49903c1cdbffa4
|
|
BLAKE2b-256 checksum How to use checksums |
ae0a7b3f38ddcd28b2c06ee76c7bb8081ae44e98e689a927dfe4fdfaa6f64656
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp312-cp312-macosx_10_12_x86_64.whl
| Download URL | pyrofile-0.3.2-cp312-cp312-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2f67b3f6e5ce6331674be1ba1070743ef18bbdb9aae5e4b4517f53d98c3e7f3a
|
|
BLAKE2b-256 checksum How to use checksums |
415564d4c2fb275fe61a643eab5ceefc3ea1d0ae9b14a282722f348c90a4942a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyrofile-0.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5b0b747a524c765a44a47dec776be378ea770e3aa1b2de84a747089e30b4c2d3
|
|
BLAKE2b-256 checksum How to use checksums |
fd2b6a7e44d9010a2957dfc8ceec77b60e8be0b31f8fef9e6e24b7187eac7273
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pyrofile-0.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
1722e806a1aad2e0f774d6d483cb9a1beecdda69a8aa924b9ca979fd74f6fce4
|
|
BLAKE2b-256 checksum How to use checksums |
dc4803e54020e133989d833945c880eb3dbeb5b8d97e63dbf1c0c7ff9b009ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | pyrofile-0.3.2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
caae41d5e559b78d3a3a9a8369147ce861b1d14a08e9c36f9534c8b7ed2f6d71
|
|
BLAKE2b-256 checksum How to use checksums |
07ddf691e6122cf0b3c9ef2750f200a6c13400b474690c5547b4964b204804e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp311-cp311-macosx_10_12_x86_64.whl
| Download URL | pyrofile-0.3.2-cp311-cp311-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f0c34d527bc6afad9de13a374038382e2b3dc24b26a596c043cfe993cd88b04
|
|
BLAKE2b-256 checksum How to use checksums |
851a028ad95f349be1c5279fd52121fd5a21f2cade30c1f17a33de72a28614d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyrofile-0.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ecf11c14b9b317db3d8f113fa01c93a84d2ff947f2cb8ecf97daf4c8dc1cb02e
|
|
BLAKE2b-256 checksum How to use checksums |
bdf431416914ff67fe09a4877f744fa3ae0018282b352aed7be11fc7b50b41cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pyrofile-0.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
ecfe84d33940a24ee47620e70d77ff2822a7682bec5795e42216f3a821c5d283
|
|
BLAKE2b-256 checksum How to use checksums |
b459cae3999a942b69ba112b97957000f97f3ecaa9f0f0bffae0ce59fe6371ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | pyrofile-0.3.2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
188771746d44b25c4b207089b79ad26ec01572509f1851656232489762445a71
|
|
BLAKE2b-256 checksum How to use checksums |
d44392bf43f5a0df89b658c9b720e5cd09ff35872c3e0388e57f486ffe2beff7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logRelease files / pyrofile-0.3.2-cp310-cp310-macosx_10_12_x86_64.whl
| Download URL | pyrofile-0.3.2-cp310-cp310-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
a91a793fd92aae3fc4005de02cc927118e93c2e925a060f50bcccf1a8b740747
|
|
BLAKE2b-256 checksum How to use checksums |
94052eeda1e3274c2a1d34c1e587fecb9956c466af3000a8cf79cd6608a53d16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jul 23, 2026.
Transparency logSecurity for pyrofile 0.3.2
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.
Full provenance
All 17 files in this release have been uploaded with provenance metadata.
Attestation for pyrofile-0.3.2.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 Jul 23, 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.