ANN: pythonfs - create linux filesystems in python

N

Nick Vargish

course)? Python lets you do HTTP, FTP and loads of other protocols
fairly trivially - imagine hooking that up to a filesystem interface.

Accessing an ftp site by mounting it... I like it. Another obvious
application would be accessing archive files by mounting them (wasn't
that one of the original features planned for hurd?).

Nick
 
J

JanC

Nick Vargish said:
Accessing an ftp site by mounting it... I like it. Another obvious
application would be accessing archive files by mounting them (wasn't
that one of the original features planned for hurd?).

Pythonfs is based on LUFS, which includes a.o. FTPFS, SSHFS & GnutellaFS as
examples...
 
B

Bengt Richter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've just built a framework which allows mountable linux filesystems to
be implemented in pure python.

It consists of a back-end to LUFS (lufs.sf.net), and is available from
http://www.freenet.org.nz/python/lufs-python

Simple to use - after adding the pythonfs code to LUFS, and
building/installing, one only needs to copy the template.py python
module and flesh out the methods in the Filesystem class. Generous
docstrings spell out exactly what is needed.
Thanks for the link. Maybe it can help if I ever get to trying some of the ideas in

http://groups.google.com/[email protected]

I think using a vfs as an interface to windows/widget hierarchy would be particularly interesting.
And if the package noticed the difference between opening a widget-as-file in binary vs text mode,
one could have efficient marshalled packed data formats a la cpickle to define and initialize
GUI structures, as well as text interfaces for interactive noodling.

If it could be built on top of a low level video HAL a la frame buffer or maybe simulated via directx
or such, it could be interesting. If there was system support so that different processes could open
differently owned GUI subtrees from a shared "desktop" root, that you could switch between like F-keys
on linux between console windows, it might also lead to a different way of handling user login/access
control, and ... ramble, ramble ;-)

It would also make an interesting interface for output of graphic formats, whether graphs and plots,
or thin wrappers around pdf/postscript/svg/latex/windows-metafile/etc static formats, not to mention
smil and multimedia etc.

Regards,
Bengt Richter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top