{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Smmap2 is a mirror package that wraps memory-mapped file access with automatic resource management, allowing efficient random access to large files while staying within system limits by unloading unused mappings.","skillfed_tags":["archived","memory-mapping","deprecated"],"use_cases":["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"],"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\u2014particularly 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.\n\nHowever, 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.","worth_installing":"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."},"id":"smmap2","links":{"html":"https://skillfed.io/packages/smmap2","md":"https://skillfed.io/packages/smmap2.md","pypi":"https://pypi.org/project/smmap2/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-02-23","license_spdx":null,"license_treatment":"unclear","name":"smmap2","python_support":"unspecified","summary":"A mirror package for smmap"},"popularity":{"monthly_downloads":512739,"position":6254,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.1"}
