Which are best, well-tested ways to create REST services, with Json, in Python?

justin walters walters.justin01 at gmail.com
Tue Mar 29 00:16:36 EDT 2016


Hi David, once again, please reply all on this list.

I sent you a couple of step by step guides. Pleas look at the links that I
sent.

On Mon, Mar 28, 2016 at 9:12 PM, David Shi <davidgshi at yahoo.co.uk> wrote:

> Hello, Justin,
>
> Is there any official step by step guide.
>
> Send me the download link and link to Official tutorial.
>
> Regards.
>
> David
>
>
> On Tuesday, 29 March 2016, 2:35, justin walters <
> walters.justin01 at gmail.com> wrote:
>
>
>
>
> On Mon, Mar 28, 2016 at 5:17 PM, David Shi <davidgshi at yahoo.co.uk> wrote:
>
> Hello, Justin,
>
> I am thinking of a fast, responsive, secure way of doing this.  Python at
> server-side.  It provides REST services.  Data exchange with the
> web--page.  Formatted XML or Json.
>
> Ideally, it uses the least code.
>
> Any excellent literature describes this?  I like articles which give
> insight into the nitty-gritty.
>
> Looking forward to hearing from you.
>
> Regards.
>
> Shao
>
>
>
>
>
> David,
>
> Please reply all on this list.
>
> My preferred method is to use Django with Django Rest Framework. Django is
> a very mature and robust framework with a ton of features. I use it in
> production for several projects and have very few issues. It includes
> middleware authentication and security features as well. You can find the
> Django documentation here: https://docs.djangoproject.com/en/1.9/. If
> you've never used Django before, I recommend going through the official
> tutorial. It is also advised to use Python 3.4+.
>
> Django rest framework is probably one of the best documented packages out
> there. You can find it's documentation here:
> http://www.django-rest-framework.org/. The official tutorial is very
> in-depth. I would recommend working through it as well. DRF includes a lot
> of functionality and multiple authentication and serialization methods.
>
>
> There are other options as well depending on the scale of your project you
> may choose to use something like flask: http://flask.pocoo.org/ with
> flask-restful and sqlalchemy.
>
> Like I said my personal recommendation is Django and DRF as it is easy to
> set up, there isn't much overhead, and it scales very well.
>
> Does that answer your question, or were you looking for more information?
>
>
>
>



More information about the Python-list mailing list