{"library":"morefs","title":"morefs: A Collection of fsspec-based Filesystems","description":"morefs is a Python library offering a collection of self-contained filesystems built on top of `fsspec`. It currently provides `AsyncLocalFileSystem`, `DictFileSystem`, and `OverlayFileSystem` to extend `fsspec`'s capabilities for asynchronous local operations, in-memory dictionary-backed storage, and layered filesystem views, respectively. The library is actively maintained, with the current version being 0.2.2, and releases occur as needed to address compatibility or introduce new features.","language":"python","status":"active","last_verified":"Fri May 15","install":{"commands":["pip install morefs"],"cli":null},"imports":["from morefs.asyn_local import AsyncLocalFileSystem","from morefs.dict import DictFileSystem","from morefs.overlay import OverlayFileSystem","from fsspec import filesystem"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from fsspec import filesystem\nfrom morefs.asyn_local import AsyncLocalFileSystem\nfrom morefs.dict import DictFileSystem\nfrom morefs.overlay import OverlayFileSystem\nimport asyncio\n\n# AsyncLocalFileSystem\nasync def run_asynclocal_example():\n    fs = filesystem(\"asynclocal\") # or AsyncLocalFileSystem()\n    # Using AsyncLocalFileSystem requires an async context\n    print(f\"AsyncLocalFileSystem ls '/': {await fs.ls('/')}\")\n\n# DictFileSystem\ndict_fs = DictFileSystem({\"foo\": b\"bar\", \"baz/qux\": b\"quux\"})\nprint(f\"DictFileSystem ls '/': {dict_fs.ls('/')}\")\nprint(f\"DictFileSystem read 'foo': {dict_fs.read_bytes('foo')}\")\n\n# OverlayFileSystem\nlower_fs = DictFileSystem({\"foo\": b\"bar_lower\", \"common\": b\"lower_val\"})\nupper_fs = DictFileSystem({\"baz\": b\"qux_upper\", \"common\": b\"upper_val\"})\noverlay_fs = OverlayFileSystem(lower_fs=lower_fs, upper_fs=upper_fs)\nprint(f\"OverlayFileSystem ls '/': {overlay_fs.ls('/')}\")\nprint(f\"OverlayFileSystem read 'foo': {overlay_fs.read_bytes('foo')}\")\nprint(f\"OverlayFileSystem read 'baz': {overlay_fs.read_bytes('baz')}\")\nprint(f\"OverlayFileSystem read 'common' (upper overrides): {overlay_fs.read_bytes('common')}\")\n\n# Run the async example\nasyncio.run(run_asynclocal_example())\n","lang":"python","description":"Demonstrates the initialization and basic usage of `AsyncLocalFileSystem`, `DictFileSystem`, and `OverlayFileSystem`, including listing directories and reading file content.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-15","installed_version":"0.2.2","pypi_latest":"0.2.2","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.8,"avg_import_s":null,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"19.5M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.9,"import_time_s":null,"mem_mb":null,"disk_size":"20M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"21.7M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.8,"import_time_s":null,"mem_mb":null,"disk_size":"22M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"13.5M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.6,"import_time_s":null,"mem_mb":null,"disk_size":"14M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"13.2M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.6,"import_time_s":null,"mem_mb":null,"disk_size":"14M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"18.9M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"morefs","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":2.1,"import_time_s":null,"mem_mb":null,"disk_size":"19M"}]}}