<br><br><div class="gmail_quote">On Thu, May 24, 2012 at 10:10 AM, Barry Warsaw <span dir="ltr">&lt;<a href="mailto:barry@python.org" target="_blank">barry@python.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
One of the packages that I&#39;m constantly bumping up against as I port more code<br>
to Python 3 is oauth.  We really need a semi-official (or at least popular<br>
&lt;wink&gt;) Python 3 compatible oauth client library.<br>
<br>
I&#39;m CC&#39;ing Jason DeRose since I&#39;ve had several conversations with him about<br>
this, and I believe he has a package that would fit the bill, although I&#39;m not<br>
sure if it&#39;s available on PyPI yet.<br></blockquote><div><br>I don&#39;t yet have a Python3 OAuth library, but I implemented OAuth 1a internally in my Python3 CouchDB &quot;REST adapter&quot;, which I still need to get up on PyPI, but can also be found on Launchpad:<br>
<br><a href="https://launchpad.net/microfiber">https://launchpad.net/microfiber</a><br><br>I only implemented the client functionality, but as far as I know, that&#39;s all that&#39;s needed for libraries like launchpadlib. I felt the python-oauth API was way over complicated, so I wrote a simple, functional implementation:<br>
<br><a href="http://bazaar.launchpad.net/~microfiber/microfiber/trunk/view/head:/microfiber.py#L152">http://bazaar.launchpad.net/~microfiber/microfiber/trunk/view/head:/microfiber.py#L152</a><br><br>My plan is to split this out into its own module, and then to add a python-oauth compatibility API (at least for the client functionality actually being used). And then I&#39;ll try porting lauchpadlib to this (sticking with Python2 at first).<br>
<br>Realistically, I wont have a chance to do this till I return from Linaro Connect on May 2nd.<br><br>Python3 FTW!<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

I know I&#39;ve spoken to at least one other person who knew of, or was working<br>
on, a Python 3 compatible oauth library, but I can&#39;t remember who that is.<br>
<br>
The most popular oauth package on the Cheeseshop is oauth 1.0.1, but afaik<br>
upstream has abandoned it, and it has had a new version on PyPI in since<br>
September 2009.  I&#39;m not personally very keen on adopting it in order to port<br>
it.<br>
<br>
There are many other hits for &#39;oauth&#39; on PyPI, but none of the client<br>
libraries are Python 3 compatible already afaict.<br>
<br>
It would be really fantastic if a Python 3 compatible oauth library existed on<br>
PyPI, and it would be even better (maybe) if it was API compatible with oauth<br>
1.0.1.<br>
<br>
Is anybody else out there trying to do oauth client interaction in Python 3,<br>
and if so, what are you using?  Jason, maybe you can speak about your library<br>
and whether it can or will be available on PyPI?<br>
<br>
Cheers,<br>
-Barry<br>
</blockquote></div><br>