Note: this idea was originally written for SoC 2005. Since then PEP 355 was written, which describes an interface for a path object. This should serve as the basis for any implementation.
There are several object-oriented ways to access filesystems in Python, though none have reached a critical mass of popularity. Two instances are py.local and path.
Given that OO interface, you can create objects that look like filesystems but access other resources, like WebDAV servers, databases, etc. py.local contains an implementation that accesses a svn repository.
One of these could be extended, or a generic interface for filesystems could be developed alongside several functional implementations of that interface.
An existing work in Python is itools.vfs. Work on filesystem virtualisation should also take into account the existing urllib/urllib2 modules (and improvements - see CleanupUrlLibProject) along with other packages which provide file-like and os/os.path-like interfaces, notably ftputil. -- PaulBoddie
Check out filelike
CodingProjectIdeas/FileSystemVirtualization (last edited 2008-11-15 14:00:06 by localhost)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4