Re: What was that web interaction library called again?

2007-06-27 Thread Stian Soiland
2007/6/26, Omer Khalid [EMAIL PROTECTED]:

 On the RESTFul web service, I would like to piggy pack my own question two
 is there a way to make the connection secure between two Restful service
 running on GNU/linux?

https?

-- 
Stian Søiland   Any society that would give up a little
Manchester, UK  liberty to gain a little security will
http://soiland.no/  deserve neither and lose both. [Franklin]
 =/\=
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What was that web interaction library called again?

2007-06-26 Thread Kathryn Van Stone


So does anyone know of any equivalent library for testing RESTful web  
services.

In particular it needs to be able to handle more than 'GET' or POST  
http calls.

-Kathy Van Stone
[EMAIL PROTECTED]

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What was that web interaction library called again?

2007-06-26 Thread Omer Khalid

On the RESTFul web service, I would like to piggy pack my own question two
is there a way to make the connection secure between two Restful service
running on GNU/linux?

Thanks,
Omer

On 6/26/07, Kathryn Van Stone [EMAIL PROTECTED] wrote:




So does anyone know of any equivalent library for testing RESTful web
services.

In particular it needs to be able to handle more than 'GET' or POST
http calls.

-Kathy Van Stone
[EMAIL PROTECTED]

--
http://mail.python.org/mailman/listinfo/python-list





--
--
CERN – European Organization for Nuclear
Research, IT Department,  CH-1211
Geneva 23, Switzerland

Phone: +41 (0) 22 767 2224
Fax: +41 (0) 22 766 8683
E-mail : [EMAIL PROTECTED]
Homepage: http://cern.ch/Omer.Khalid
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: What was that web interaction library called again?

2007-06-25 Thread Harald Korneliussen
On Jun 22, 8:04 pm, felciano [EMAIL PROTECTED] wrote:
 Maybe http://twill.idyll.org/

That was it! Thanks, I'd googled for hours.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What was that web interaction library called again?

2007-06-25 Thread John Pye
Harald Korneliussen wrote:
 Hi,
 
 I remember I came across a python library that made it radically
 simple to interact with web sites, connecting to gmail and logging in
 with four or five lines, for example. I thought, that's interesting,
 I must look into it sometime.

I was looking for something like this recently too. I don't believe
there is anything in the Python world quite as staggeringly
well-designed as the SimpleBrowser component nested within the
SimpleTest framework for PHP. If there is, I would like to know.

http://simpletest.sourceforge.net/en/web_tester_documentation.html

Here is a code snippet:

class TestOfLastcraft extends WebTestCase {
...
function testContact() {
$this-get('http://www.lastcraft.com/');
$this-clickLink('About');
$this-assertTitle(new PatternExpectation('/About Last Craft/'));
}
}
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What was that web interaction library called again?

2007-06-25 Thread John J. Lee
Harald Korneliussen [EMAIL PROTECTED] writes:

 Hi,

 I remember I came across a python library that made it radically
 simple to interact with web sites, connecting to gmail and logging in
 with four or five lines, for example. I thought, that's interesting,
 I must look into it sometime. Now there's this child I know who asked
 me about programming, especially programs that could do things like
 this, how difficult it was, and so on. I mentioned how I though Python
 was a good intro to programming, and there was a library which was
 perfect for what he wanted.

 Only now I've forgotten the name of the library! And try as I might, I
 can't find it with google. I know there are modules for it in the
 standard libraries, but this thing was brilliantly simple in
 comparison. It might have been some sort of research project, I can't
 remember... but perhaps someone here can remind me what it was? If so,
 there may be yet another young python programmer in training :-)

Be warned that all the web scraping tools I know of expose a fairly
leaky abstraction.  One has to know obscure and tiresome details
fairly often.  One common culprit is lack of JavaScript support.
Another is HTML parsing problems.

Still, it's fun when it works.  Test-first development is good thing,
IMHO -- make sure you don't actually have to do network stuff to test
your parsing code, for example, or the delays will get irritating
pretty fast.


John
-- 
http://mail.python.org/mailman/listinfo/python-list


What was that web interaction library called again?

2007-06-22 Thread Harald Korneliussen
Hi,

I remember I came across a python library that made it radically
simple to interact with web sites, connecting to gmail and logging in
with four or five lines, for example. I thought, that's interesting,
I must look into it sometime. Now there's this child I know who asked
me about programming, especially programs that could do things like
this, how difficult it was, and so on. I mentioned how I though Python
was a good intro to programming, and there was a library which was
perfect for what he wanted.

Only now I've forgotten the name of the library! And try as I might, I
can't find it with google. I know there are modules for it in the
standard libraries, but this thing was brilliantly simple in
comparison. It might have been some sort of research project, I can't
remember... but perhaps someone here can remind me what it was? If so,
there may be yet another young python programmer in training :-)

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What was that web interaction library called again?

2007-06-22 Thread Michael Hoffman
Harald Korneliussen wrote:
 Hi,
 
 I remember I came across a python library that made it radically
 simple to interact with web sites, connecting to gmail and logging in
 with four or five lines, for example. I thought, that's interesting,
 I must look into it sometime. Now there's this child I know who asked
 me about programming, especially programs that could do things like
 this, how difficult it was, and so on. I mentioned how I though Python
 was a good intro to programming, and there was a library which was
 perfect for what he wanted.
 
 Only now I've forgotten the name of the library! And try as I might, I
 can't find it with google. I know there are modules for it in the
 standard libraries, but this thing was brilliantly simple in
 comparison. It might have been some sort of research project, I can't
 remember... but perhaps someone here can remind me what it was? If so,
 there may be yet another young python programmer in training :-)

BeautifulSoup?
-- 
Michael Hoffman
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What was that web interaction library called again?

2007-06-22 Thread Rob De Almeida
On Jun 22, 11:19 am, Harald Korneliussen [EMAIL PROTECTED] wrote:
 Hi,

 I remember I came across a python library that made it radically
 simple to interact with web sites, connecting to gmail and logging in
 with four or five lines, for example. I thought, that's interesting,
 I must look into it sometime. Now there's this child I know who asked
 me about programming, especially programs that could do things like
 this, how difficult it was, and so on. I mentioned how I though Python
 was a good intro to programming, and there was a library which was
 perfect for what he wanted.

httplib2?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What was that web interaction library called again?

2007-06-22 Thread felciano
Maybe http://twill.idyll.org/

-- 
http://mail.python.org/mailman/listinfo/python-list