smmap2
A mirror package for smmap
Decision gist · record as of 2026-08-14
No. This package is abandoned and archived; its maintenance has moved to GitPython. The description warns of file-handle leaks, the license is unclear, and the last release was in 2020. Use the smmap module maintained within GitPython instead, or use the canonical smmap package if you need a standalone version.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7+.
- The package relies on deterministic __del__() destructors, which can leak file handles in some contexts.
- Installation is low-friction, but the package is abandoned as of 2020 and archived.
License · maintenance · safety
(unclear) — License treatment is unclear—the description states New BSD License but the metadata contains no SPDX identifier or raw license text. Verify the actual license before relying on this package in proprietary or restricted contexts.
last release 2020-02-23 (2364 days) · last repo commit 2026-07-26 · 74 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 512,739 downloads/mo, #6,254 on PyPI
Alternatives
Verify before relying
pip install smmap2
from smmap import SlidingWindowMapManager
mgr = SlidingWindowMapManager(filename)- Whether smmap2 is a true mirror or a separate fork, and if it receives any maintenance distinct from the canonical smmap in GitPython
- Current status of file-handle leaks mentioned in the description and whether they have been addressed
- Whether the package works correctly on modern Python versions beyond 3.7
What it is and what it does
Smmap2 provides a wrapper around mmap that manages memory-mapped file access with automatic resource pooling. It tracks open file mappings and unloads unused ones using an LRU algorithm when the system runs low on file descriptors or memory, allowing applications to work with files larger than available address space—particularly useful on 32-bit systems. The package offers both a low-level native interface for performance-critical code and a higher-level Buffer interface that presents mapped regions as a string-like object.
However, this package is archived and abandoned as of 2020. Its entire history and ongoing maintenance have been consolidated into the GitPython repository. The description explicitly warns that file handles may leak due to reliance on deterministic __del__() destructors, and the package is read-only by design. New projects should use the maintained version within GitPython rather than this mirror.
Use it for
- Processing very large files with random access patterns on memory-constrained or 32-bit systems
- Building tools that need to map portions of files without exhausting system file descriptors
- Legacy code that depends on smmap2 specifically and cannot migrate to the consolidated GitPython version
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
This package is abandoned and archived; its maintenance has moved to GitPython. The description warns of file-handle leaks, the license is unclear, and the last release was in 2020. Use the smmap module maintained within GitPython instead, or use the canonical smmap package if you need a standalone version.
Install
smmap2 on PyPI
Before you install
Installation is low-friction, but the package is abandoned as of 2020 and archived. The repository has been consolidated into GitPython; new code should use the maintained version there instead.
Requires Python 3.7+. The package relies on deterministic __del__() destructors, which can leak file handles in some contexts.
License in practice
License treatment is unclear—the description states New BSD License but the metadata contains no SPDX identifier or raw license text. Verify the actual license before relying on this package in proprietary or restricted contexts.
Quickstart
pip install smmap2
from smmap import SlidingWindowMapManager
mgr = SlidingWindowMapManager(filename)
Verify before relying
- Whether smmap2 is a true mirror or a separate fork, and if it receives any maintenance distinct from the canonical smmap in GitPython
- Current status of file-handle leaks mentioned in the description and whether they have been addressed
- Whether the package works correctly on modern Python versions beyond 3.7
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagesmmap |
| Maintenance | Abandoned 2,364 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 512,739 / month, #6,254 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: smmap2-3.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “memory mapped file access”
- smmap2Smmap2 is a mirror package that wraps memory-mapped file access with…
- cufile-pythonProvides a Python wrapper around the NVIDIA cuFile API to read and…
- smmapSmmap provides a sliding-window memory map manager that automatically…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also smmap · gitdb2 · mmgp · YORM · leafmap · remotezip2 · plotbin · bloom-filter2 · immutables · gitdb