<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    On 02/14/2012 02:24 PM, Jason L Connor wrote:
    <blockquote cite="mid:1329251085.2840.1.camel@precision" type="cite">
      <pre wrap="">On Tue, 2012-02-14 at 14:35 -0500, Jay Dobies wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">For anyone who doesn't know, under playpen/webservices there's a module 
called pic. The intention is to use it in an interactive python shell 
(ipython) to be able to make web service calls against Pulp. It's pretty 
handy for debugging stuff outside of the CLI.

I was thinking we should move it somewhere in src under the pulp.com 
package so it's included just about everywhere (clients and server). It 
might be useful for supporting Pulp as it's, IMO, easier than wget/curl. 
If it's packaged with the server code it's as simple as importing it and 
using it, but it also doesn't hurt anything to just sit there if they 
don't use it.

Even if they don't have ipython installed we can still provide people 
with one-liners they can run from the command line. Something like:

$ python -c "from pulp.common import pic; pic.connect(); 
print(pic.GET('/repositories/'))"
(200, [])

Anyone feel strongly one way or another?

</pre>
      </blockquote>
      <pre wrap="">
If folks are finding it useful, I'm for including. I know that I use it
constantly and I've gotten feed from others as well.</pre>
    </blockquote>
    <br>
    Agreed.  Would be nice tool for developers (users)  to use when
    integrating with our REST API.<br>
    <br>
    <blockquote cite="mid:1329251085.2840.1.camel@precision" type="cite">
      <pre wrap="">

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pulp-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pulp-list">https://www.redhat.com/mailman/listinfo/pulp-list</a>
</pre>
    </blockquote>
  </body>
</html>