Skip to main content

memory-foam

pypi tests codecov

memory-foam is a Python package that provides performant iterators for loading files from S3, GCS and Azure into memory for easy processing.

Features

  • Unified Interface: Seamlessly interact with files stored in S3, GCS and Azure.
  • Asynchronous Support: Efficiently load files using asynchronous iterators.

Installation

You can install memory-foam using pip:

pip install memory-foam

Example usage

from memory_foam import iter_files

...

for pointer, contents in iter_files(uri, glob, modified_after, client_config):
    results = process(contents)
    data = pointer.to_dict_with(results)
    save(data)

Credentials

This package uses the fsspec implementations for S3, GCS and Azure. Entries from the client_config dictionary are passed to the respective fsspec clients.

However, you can use the same authentication setup as the individual fsspec packages.

The documentation for each of the clients is linked below:

Metadata

Release files for memory-foam 0.4.2

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

Source distribution (sdist)

Source distribution for memory-foam 0.4.2
File Size Uploaded Provenance Actions
memory_foam-0.4.2.tar.gz 25.1 kB With provenance Details for memory_foam-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for memory-foam 0.4.2
File Interpreter ABI Platform Actions
memory_foam-0.4.2-py3-none-any.whl Python 3 none any Details for memory_foam-0.4.2-py3-none-any.whl

Total release size: 43.0 kB

Release files / memory_foam-0.4.2.tar.gz

Download URL memory_foam-0.4.2.tar.gz
Size 25.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bd421501dceeae31780e640844546f44f6880e647081903e56e4b72b040266d0
BLAKE2b-256 checksum
How to use checksums
38dfa2f1ace686024dcd4a930ed7eb5fe5577632fa5064f2877afcf6145a532e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 19, 2026.

Transparency log

Release files / memory_foam-0.4.2-py3-none-any.whl

Download URL memory_foam-0.4.2-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff163473ae4ac0d7575d62112efacc3e4aecf8485460eb075f17f0353a1f50b4
BLAKE2b-256 checksum
How to use checksums
05c8627d08baffd80e3f59b882536737c645095f7a1119c6aa68081918b316d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 19, 2026.

Transparency log

Security for memory-foam 0.4.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for memory_foam-0.4.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 19, 2026.

Transparency log

A 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.

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