Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96775
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail |
|---|---|
| Return-Path | <lac@openend.se> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'api.': 0.04; 'great.': 0.07; 'api': 0.09; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'subject:Writing': 0.09; 'subject:module': 0.09; 'thu,': 0.15; '>does': 0.16; '>thanks,': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'rabbitmq': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:api': 0.16; 'laura': 0.18; 'library': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'sep': 0.22; 'cc:no real name:2**0': 0.22; 'consistent': 0.23; 'for?': 0.23; 'module': 0.25; 'example': 0.26; 'rest': 0.26; 'received:se': 0.29; 'anyone': 0.32; 'http': 0.33; 'done': 0.35; 'generic': 0.35; 'something': 0.35; 'url:org': 0.36; 'subject:: ': 0.37; 'charset :us-ascii': 0.37; 'url:en': 0.39; 'header:Message-Id:1': 0.61; 'url:2014': 0.66; 'you:': 0.79; 'header:In-reply-to:1': 0.84; 'abstracts': 0.91; 'hopes': 0.91; 'url:latest': 0.91 |
| To | "Joseph L. Casale" <jcasale@activenetwerx.com> |
| cc | "python-list@python.org" <python-list@python.org>, lac@openend.se |
| From | Laura Creighton <lac@openend.se> |
| Subject | Re: Writing a module to abstract a REST api |
| In-reply-to | <1b35c9c9b6864d7bb9bf11e0e3cb98ca@exch.activenetwerx.com> |
| References | <1b35c9c9b6864d7bb9bf11e0e3cb98ca@exch.activenetwerx.com> |
| Comments | In-reply-to "Joseph L. Casale" <jcasale@activenetwerx.com> message dated "Thu, 17 Sep 2015 14:44:00 -0000." |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="us-ascii" |
| Content-ID | <8469.1442508095.1@fido> |
| Date | Thu, 17 Sep 2015 18:41:35 +0200 |
| X-Greylist | Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Thu, 17 Sep 2015 18:41:38 +0200 (CEST) |
| 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.0.1442508106.16376.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1442508106 news.xs4all.nl 23819 [2001:888:2000:d::a6]:35937 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:96775 |
Show key headers only | View raw
In a message of Thu, 17 Sep 2015 14:44:00 -0000, "Joseph L. Casale" writes: >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 If I understand you: http://www.python-requests.org/en/latest/ is an example of what you are looking for? It's great. Also check out http://cramer.io/2014/05/20/mocking-requests-with-responses/ if you need to mock requests. Laura
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Writing a module to abstract a REST api Laura Creighton <lac@openend.se> - 2015-09-17 18:41 +0200
csiph-web