Creating REST Web Services with Python

11,997

Solution 1

Short answer: Yes. You certainly can do it with Python, using or without using one of the several tools available for the task:

A bigger answer is difficult (and pointless) without knowing more about your requirements. I suggest that you explore the various options and decide for yourself.

Solution 2

Take a look at RESTx. It's fully open source, written in Python and runs in the JVM, so you can write custom components in Python or Java. It's specialized on the creation of RESTful web services. Components are reusable and you create new RESTful web services by merely sending a new component configuration to the server (via a simple RESTful API or by filling out a small form in a web server). I think RESTx is probably the quickest and simplest way to create RESTful web services.

Disclaimer: I'm the lead developer of RESTx. So, if you have any questions, just let me know. I'd be happy to help.

Share:
11,997
florinmatinca
Author by

florinmatinca

Software Developer at Seesmic (working on Seesmic Desktop Platform), Founder of Android for Kids

Updated on June 13, 2022

Comments

  • florinmatinca
    florinmatinca almost 2 years

    Is it possible to create REST Web Services, that returns JSON or XML, using Python ?

    Could you give me some recomandations ?

    Thank you.

  • Russell Smith
    Russell Smith about 11 years
    Making each word of "one of tne several" a link is really annoying. I expected it to take me to a summary, but instead took me to four different pages. This answer would be more useful if it was a little less dramatic. For example, a simple bulleted list of links would be more user friendly.
  • Platinum Azure
    Platinum Azure about 11 years
    @BryanOakley: Agreed. I fixed the answer for you.
  • Manoj Govindan
    Manoj Govindan almost 10 years
    @PlatinumAzure: thanks. I intended no drama; just a (bad) habit from my blogging days ;)
  • shahin ali agharia
    shahin ali agharia over 8 years
    can you help me how to do web services using python flask to fetch data from fb and give to my application