Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96783

Re: Writing a module to abstract a REST api

Path csiph.com!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <srkunze@mail.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.040
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'api.': 0.04; 'api': 0.09; 'frameworks,': 0.09; 'subject:Writing': 0.09; 'subject:module': 0.09; 'interacting': 0.16; 'rabbitmq': 0.16; 'subject:api': 0.16; 'wrote:': 0.16; 'library': 0.20; 'consistent': 0.23; 'thanks,': 0.24; 'thus': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; 'rest': 0.26; 'module.': 0.27; 'anyone': 0.32; 'http': 0.33; 'traditional': 0.33; 'similar': 0.33; 'received:10.0': 0.34; 'that,': 0.34; 'best,': 0.35; 'done': 0.35; 'generic': 0.35; 'something': 0.35; 'modules': 0.36; 'urls': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'does': 0.39; 'well.': 0.40; 'to:addr:python.org': 0.40; 'still': 0.40; 'received:de': 0.40; 'some': 0.40; 'your': 0.60; 'providing': 0.62; 'charset:windows-1252': 0.62; 'more': 0.63; 'services.': 0.72; 'authentic': 0.84; 'abstracts': 0.91; 'hopes': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mail201212; t=1442523792; bh=StcWqun5qPKL5Tcc7+WSWnp/PnsZ4YJTs4LVv+77b5Y=; h=Date:From:To:Subject:References:In-Reply-To:From; b=fvDG92rEtSGPwfcspfrJ/v0N20fgTRkuYESDzz32FVH7mZL6Bs3OyGE0jTflXX7Ct s7CrR8be7KWJjaKLATKGAla8L515xNu7spx2efeLtuOn6s4hwcko1zzOewIWYqPwyH Tr6WYbbTOz+40jQKeSrGa6+7hY1QEf9bvpv6cxcI=
Date Thu, 17 Sep 2015 23:03:11 +0200
From "Sven R. Kunze" <srkunze@mail.de>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Writing a module to abstract a REST api
References <1b35c9c9b6864d7bb9bf11e0e3cb98ca@exch.activenetwerx.com>
In-Reply-To <1b35c9c9b6864d7bb9bf11e0e3cb98ca@exch.activenetwerx.com>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-purgate clean
X-purgate This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-type clean
X-purgate-Ad Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate clean
X-purgate-size 809
X-purgate-ID 154282::1442523792-000007B2-1426D66D/0/0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10.1442523794.16376.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442523794 news.xs4all.nl 23787 [2001:888:2000:d::a6]:57591
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96783

Show key headers only | View raw


Well, I would be interested in seeing such a module as well.

Most modules and frameworks, I know, providing REST and interacting with 
REST are more like traditional SOAP-like web services. You got your 
functions which have a 1-to-1 correspondence with some resource URLs and 
that's it.

Actually REST is far more flexible than that, thus I still would love to 
see an authentic REST module.

Best,
Sven


On 17.09.2015 16:44, Joseph L. Casale wrote:
> I need to write a module to abstract the RabbitMQ HTTP REST api.
> Before I do this, I would like to see how other projects have done
> similar in the hopes I make something consistent and generic etc.
>
> Does anyone regularly work with a library that abstracts a REST API
> and can recommend it for review?
>
> Thanks,
> jlc

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Writing a module to abstract a REST api "Sven R. Kunze" <srkunze@mail.de> - 2015-09-17 23:03 +0200

csiph-web