473,795 Members | 3,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

multi-protocol url-based IO -- pure python kioslave-like module?

Wheel reinvention preemption question: is there an existing pure-
python library with functionality similar to KDE's kio/kioslave
implementation? A multi-protocol, extensible library based on URLs
that abstracts directory listing and file read/write? I'm looking to
use it in client code, not server, so it doesn't have to be
asynchronous like kio; ideally it would be small and only depend on
the standard python library.

Here's what I'm aware of:

* urllib2 doesn't handle opening URLs for writing, meaning that it's
incapable of supporting WebDAV or e.g. the fish:// protocol

* twisted is built to handle multiple protocols, but is an extremely
large package aiming to simplify low-level server and client code

* Boa Contstructor has something called Explorers which support
multiple protocols, but seems pretty tied to its gui implementation

* PyKDE can interface with the KDE shared libraries, but obviously
that's not pure python. (Or standalone or small. :)

* the somewhat related PEP-268 for WebDAV support, but that was
withdrawn.

My google-fu doesn't show much else. Any pointers would be
appreciated!

Thanks,

Rob

Oct 27 '07 #1
2 1784
On 27 Okt, 18:26, Rob McMullen <rob.mcmul...@g mail.comwrote:
Wheel reinvention preemption question: is there an existing pure-
python library with functionality similar to KDE's kio/kioslave
implementation? A multi-protocol, extensible library based on URLs
that abstracts directory listing and file read/write? I'm looking to
use it in client code, not server, so it doesn't have to be
asynchronous like kio; ideally it would be small and only depend on
the standard python library.
Something like itools.vfs, perhaps?

http://www.ikaaro.org/itools
http://download.ikaaro.org/doc/itools/Chapter--VFS.html

Paul

Oct 27 '07 #2
On Oct 27, 10:13 am, Paul Boddie <p...@boddie.or g.ukwrote:
Something like itools.vfs, perhaps?

http://www.ikaaro.org/itools
http://download.ikaaro.org/doc/itools/Chapter--VFS.html
Thanks for the pointer -- I hadn't run across itools before. It also
gave me some new ideas for google search words and found

http://wiki.python.org/moin/CodingPr...Virtualization

with a few more ideas.

Thanks for the help.

Rob

Oct 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
4899
by: ajikoe | last post by:
Hello, Is anyone has experiance in running python code to run multi thread parallel in multi processor. Is it possible ? Can python manage which cpu shoud do every thread? Sincerely Yours, Pujo
0
1240
by: Mike | last post by:
I have just installed Visual Studio .NET and all necessary Windows Updates. I can open my project in the IDE without any problems and can run it without any problems. My PC's OS is Windows 2000 Professional. When I try to multi- select controls (i.e., holding down the Ctrl key on the keyboard and left-click each control with the mouse) on any of my web forms, Internet Explorer opens. I have checked all my settings and searched MSDN...
4
17880
by: mimmo | last post by:
Hi! I should convert the accented letters of a string in the correspondent letters not accented. But when I compile with -Wall it give me: warning: multi-character character constant Do the problem is the charset? How I can avoid this warning? But the worst thing isn't the warning, but that the program doesn't work! The program execute all other operations well, but it don't print the converted letters: for example, in the string...
3
3295
by: kathy | last post by:
I have a general question. If I write a application using any language(C/C++/C#/VB). How to make sure it only has one instance running? What I need to write in source code? If multi-instances run. Is any data confilct exsisted? Assuming I put the .exe in shared network drive and the multi-instances run on different PC. How about the multi-instances run on same PC?
5
3288
by: dkelly925 | last post by:
Is there a way to add an If Statement to the following code so if data in a field equals "x" it will launch one report and if it equals "y" it would open another report. Anyone know how to modify this? Private Sub cmdPreview_Click() On Error GoTo Err_Handler 'Purpose: Open the report filtered to the items selected in the list box. 'Author: Allen J Browne, 2004. http://allenbrowne.com Dim varItem As Variant 'Selected items
2
3879
by: ITistic | last post by:
Here's my predicament - I've got a client who I've written an extensive ASP.NET app for who needs the ability to print multi-page dynamic contracts in a format which will print properly (most likely PDF). The contracts are old ASP 3.0 pages now but they don't always print properly due to the fact they are merely web pages and now we need to migrate from a single page report to a multi-page report. Any ideas how I can accomplish this...
1
9321
by: mknoll217 | last post by:
I am recieving this error from my code: The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "PAR.PAR_Status" could not be bound. The multi-part identifier "Salary.New_Salary" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part...
3
2092
by: Fred | last post by:
We all agree that multi-core is where the industry is headed. Can the .NET framework take advantage of multi-cores? are the programs written in .NET multi-threaded by default or is additional tweaking required? Will there be any new features in the new version of the .NET framework to extend multi-core capabilities? Fred
1
4169
by: freetime | last post by:
Greetings, This is my first post so I will try to be brief and accurate. I have a report that uses 9 user selectable filters (Dates, Y/N's as Combo Boxes and 4 Multi-Select List Boxes. 2 of the Multi-Select Boxes acquire their data from other tables as Lookup's. All functions for the filters operate properly pulling the data needed. One of my options with the data is to send it to a Report that can be printed. The request...
14
3414
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
As far as I know, the C Standard has no mention of multi-threaded programming; it has no mention of how to achieve multi-threaded programming, nor does it mention whether the language or its libraries are suitable for multi-threaded programming. For people who are fond of portable C programming, what's the best way to go about multi-threaded programming? I've been reading up on POSIX threads a little, they seem pretty ubiquitous....
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3723
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.