473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

standalone process to interact with the web

Hi Everyone,

I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.

I am thinking about implementing a standalone soap server, but I am
not sure which library is good.

Any suggestions?

Thanks a lot,
Geoffrey

Jul 31 '07 #1
11 1609
beginner wrote:
Hi Everyone,

I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.

I am thinking about implementing a standalone soap server, but I am
not sure which library is good.

Any suggestions?

Thanks a lot,
Geoffrey
Look nor further than mechanize -

http://wwwsearch.sourceforge.net/mechanize/

With mechanize and its partner ClientForm you can rule the web world ;-)

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------

Jul 31 '07 #2
Hi Steve,

On Jul 31, 11:42 am, Steve Holden <st...@holdenweb.comwrote:
beginner wrote:
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
I am thinking about implementing a standalone soap server, but I am
not sure which library is good.
Any suggestions?
Thanks a lot,
Geoffrey

Look nor further than mechanize -

http://wwwsearch.sourceforge.net/mechanize/

With mechanize and its partner ClientForm you can rule the web world ;-)

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------
This seems to be an HTTP client library. It is very interesting, but
is not what I need. I am looking for something that can provide
service to web pages. For example, when a browser requests a web page,
the web page is going to send a few requests to my server. My server
then is going to respond, and the web page takes the response and
format it in human readable form.


Jul 31 '07 #3
In article <ma***************************************@python. org>,
Steve Holden <st***@holdenweb.comwrote:
>beginner wrote:
>Hi Everyone,

I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.

I am thinking about implementing a standalone soap server, but I am
not sure which library is good.

Any suggestions?

Thanks a lot,
Geoffrey
Look nor further than mechanize -

http://wwwsearch.sourceforge.net/mechanize/

With mechanize and its partner ClientForm you can rule the web world ;-)
Jul 31 '07 #4
beginner wrote:
Hi Steve,

On Jul 31, 11:42 am, Steve Holden <st...@holdenweb.comwrote:
>beginner wrote:
>>Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
I am thinking about implementing a standalone soap server, but I am
not sure which library is good.
Any suggestions?
Thanks a lot,
Geoffrey
Look nor further than mechanize -

http://wwwsearch.sourceforge.net/mechanize/

With mechanize and its partner ClientForm you can rule the web world ;-)

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------

This seems to be an HTTP client library. It is very interesting, but
is not what I need. I am looking for something that can provide
service to web pages. For example, when a browser requests a web page,
the web page is going to send a few requests to my server. My server
then is going to respond, and the web page takes the response and
format it in human readable form.

Well, surely in that case you can use any protocol you like. It's up to
the web server and your "web server server" to agree how to communicate.
Take a look at the SocketServer library, for example.

regartds
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------

Jul 31 '07 #5
On Jul 31, 1:11 pm, Steve Holden <st...@holdenweb.comwrote:
beginner wrote:
Hi Steve,
On Jul 31, 11:42 am, Steve Holden <st...@holdenweb.comwrote:
beginner wrote:
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
I am thinking about implementing a standalone soap server, but I am
not sure which library is good.
Any suggestions?
Thanks a lot,
Geoffrey
Look nor further than mechanize -
http://wwwsearch.sourceforge.net/mechanize/
With mechanize and its partner ClientForm you can rule the web world ;-)
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------
This seems to be an HTTP client library. It is very interesting, but
is not what I need. I am looking for something that can provide
service to web pages. For example, when a browser requests a web page,
the web page is going to send a few requests to my server. My server
then is going to respond, and the web page takes the response and
format it in human readable form.

Well, surely in that case you can use any protocol you like. It's up to
the web server and your "web server server" to agree how to communicate.
Take a look at the SocketServer library, for example.

regartds
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------- Hide quoted text -

- Show quoted text -
Yes exactly. I just don't want to reinvent the wheel as I imagine
there are already tons of libraries and frameworks that support RPC or
the like functions.

Thanks,
Geoffrey

Jul 31 '07 #6
beginner wrote:
Hi Everyone,

I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.

I am thinking about implementing a standalone soap server, but I am
not sure which library is good.

Any suggestions?
Forget SOAP. Use XMLRPC. SOAP is bloated, not to interoperable and the last
time I checked (has been a while though) the python-implementations were
troublesome.

http://wanderingbarque.com/noninters...nds-for-simple

Diez
Aug 1 '07 #7
beginner a écrit :
Hi Steve,

On Jul 31, 11:42 am, Steve Holden <st...@holdenweb.comwrote:
>beginner wrote:
>>Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
I am thinking about implementing a standalone soap server, but I am
not sure which library is good.
Any suggestions?
Thanks a lot,
Geoffrey
Look nor further than mechanize -
(snip)
This seems to be an HTTP client library. It is very interesting, but
is not what I need. I am looking for something that can provide
service to web pages. For example, when a browser requests a web page,
the web page is going to send a few requests to my server. My server
then is going to respond, and the web page takes the response and
format it in human readable form.
IOW, you want to embed a web server in your application.

Aug 1 '07 #8
beginner a écrit :
(snip)
Yes exactly. I just don't want to reinvent the wheel as I imagine
there are already tons of libraries and frameworks that support RPC or
the like functions.
Why go thru the pain of RPC, SOAP or such bloated horrors ? Why not just
use plain old HTTP with a RESTful API ? Then you just need to make your
app wsgi compliant.
Aug 1 '07 #9
On Aug 1, 3:50 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
beginner wrote:
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
I am thinking about implementing a standalone soap server, but I am
not sure which library is good.
Any suggestions?

Forget SOAP. Use XMLRPC. SOAP is bloated, not to interoperable and the last
time I checked (has been a while though) the python-implementations were
troublesome.

http://wanderingbarque.com/noninters...he-s-stands-fo...

Diez
Thanks for the sgguestion. XML RPC is definitely a good candidate.

Aug 2 '07 #10
On Aug 1, 5:04 am, Bruno Desthuilliers <bruno.
42.desthuilli...@wtf.websiteburo.oops.comwrote:
beginner a écrit :
(snip)
Yes exactly. I just don't want to reinvent the wheel as I imagine
there are already tons of libraries and frameworks that support RPC or
the like functions.

Why go thru the pain of RPC, SOAP or such bloated horrors ? Why not just
use plain old HTTP with a RESTful API ? Then you just need to make your
app wsgi compliant.
I am not familiar with RESTful API. I will look into it.

Aug 2 '07 #11
beginner a écrit :
On Aug 1, 5:04 am, Bruno Desthuilliers <bruno.
42.desthuilli...@wtf.websiteburo.oops.comwrote:
>beginner a écrit :
(snip)
>>Yes exactly. I just don't want to reinvent the wheel as I imagine
there are already tons of libraries and frameworks that support RPC or
the like functions.
Why go thru the pain of RPC, SOAP or such bloated horrors ? Why not just
use plain old HTTP with a RESTful API ? Then you just need to make your
app wsgi compliant.

I am not familiar with RESTful API. I will look into it.
It's nothing else than the correct use of the HTTP protocol. And it's
much more simpler than all those XMLRPC, SOAP and whatnot monstruosities.
Aug 2 '07 #12

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

Similar topics

4
by: commanderblop | last post by:
Hi there, I am in the process of translating an WIndows/ASP/MsSQL Content Managment System (CMS) to Linux/PHP/???. Is there a popular database I can use that will allow standalone files like...
1
by: Michael Quan | last post by:
Hello I was wondering if someone could point to me information on how to start an external process and how to interact with it For example In my C# program I want to start a process that will...
4
by: Primo | last post by:
Hi, This problem has been frustrating me for days and I hope you experts can help me out. I am trying to run a command, which I would normally run from the command line, from within my C#...
5
by: GTS | last post by:
Hi All, I am spawning a process from a service. The spawned process hungs for various reasons, (corrupted data, deadlock). I am expecting the process has to complete the task with in the...
0
by: wayne hamilton | last post by:
I'm having a problem Interacting with Command Line programs. I can read and write anything I want as long as I don't have to interact with a process once it's started. Originally I had been calling...
1
by: uuyytt | last post by:
I have a Windows service from which I want to start Internet Explorer with a particular URL as an argument. It can work well except when I run it on windows 2003 I allowed services explicitly to...
1
by: mengesb | last post by:
I'm looking to utilize something to the effect of this code: ps -ef | grep sc_serv | grep -v grep | awk '{print $2}' > sc_serv.pid cat sc_serv.pid 3447 3449 The first id it spits out is the...
0
by: sigsik | last post by:
Hi, I'd like to run an executable process without the need to be logged on to the computer. that is why i want to run it as a window service. The executable opens a form (ui) that does not...
5
by: Dilip | last post by:
I am almost afraid to ask this question but under Windows Vista can an ASP.NET application launch an interactive UI based process using Process.Start(..)? I see various posts that recomment the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.