By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,898 Members | 1,325 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,898 IT Pros & Developers. It's quick & easy.

standalone process to interact with the web

P: n/a
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
Share this Question
Share on Google+
11 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.