Differences between revisions 2 and 3
Revision 2 as of 2005-06-05 16:16:51
Size: 719
Editor: BrettCannon
Comment:
Revision 3 as of 2006-05-02 05:21:35
Size: 955
Editor: dsl081-225-227
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Note: this idea was originally written for SoC 2005. Since then [http://www.python.org/dev/peps/pep-0355/ PEP 355] was written, which describes an interface for a path object. This should serve as the basis for any implementation.

Note: this idea was originally written for SoC 2005. Since then [http://www.python.org/dev/peps/pep-0355/ 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 [http://codespeak.net/py/current/doc/ py.local] and [http://www.jorendorff.com/articles/python/path/ 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.


  • Take a look at Tcl's virtual file system for some inspiration. -- Brett Cannon

CodingProjectIdeas/FileSystemVirtualization (last edited 2008-11-15 14:00:06 by localhost)

Unable to edit the page? See the FrontPage for instructions.