473,372 Members | 824 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,372 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 1608
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.