smmap

5.0.3 · active · verified Sat Mar 28

A pure Python implementation of a sliding window memory map manager, currently at version 5.0.3, released on March 9, 2026. It is actively maintained with regular updates, including support for newer Python versions and improvements in continuous integration workflows.

Warnings

Install

Imports

Quickstart

A basic example demonstrating how to use smmap to memory-map a file and read data from it.

import os
from smmap import MemoryMap

# Initialize a MemoryMap instance
mm = MemoryMap('example.txt')

# Read data from the memory-mapped file
with mm as m:
    data = m.read(1024)
    print(data)

view raw JSON →