PyFilesystem/pyfilesystem2
Python's Filesystem abstraction layer observed · 2026-08-28
Health v2 · maintenance only
33/100
- Activity 22
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3610
- days_rel: n/a
- days_push: 473
- n_releases_24m: 0
Adoption not part of the score
2107 stars · 187 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyFilesystem2 is a Python library providing a unified abstraction layer over filesystems, letting code work identically on OS directories, zip archives, FTP servers, and more via FS objects. It offers a consistent API for walking, opening, copying, and manipulating files regardless of the underlying storage.
Use cases
- write code that works on local files, zip archives, and ftp servers without changes
- count lines of python code recursively in a directory
- copy files between a local folder and a zip archive
- abstract filesystem access behind a single interface
- walk and filter files across different storage backends
- open a filesystem from a url like zip:// or ftp://
When to choose
- you need storage-agnostic file operations in python
- your code must work across local disks, archives, and remote servers with one api
- you want a clean, well-documented filesystem abstraction layer
When to avoid
- you only need simple local file io covered by pathlib or os
- you need async filesystem operations
- you need exotic backends not covered by pyfilesystem's openers or extensions
Facets
library · maturity stable
file-system developer-tools files python cross-platform filesystem-abstraction zip ftp tar virtual-filesystem
2 sources
- readme: https://github.com/PyFilesystem/pyfilesystem2 · fetched 2026-08-28 · a0da1062284d
- homepage: https://www.pyfilesystem.org · fetched 2026-08-29 · 44136fa355b3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PyFilesystem/pyfilesystem2 | main | 33 |
For agents
markdown · JSON · MCP: product_card(name="PyFilesystem/pyfilesystem2")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem