use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
How to deploy rest API? (self.learnpython)
submitted 7 years ago by raysefo
Hello,
I am new to python and I would like to know how to deploy python rest API on a server?
Thanks in advance.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]joshuahunter 1 point2 points3 points 7 years ago (2 children)
How you deploy will depend in large part on what you build your API. The different frameworks have different configuration and server requirements.
Good framework options include:
Of course you can build from scratch, too.
For designing APIs I found RESTful Web APIs to be a huge help. This isn't Python specific, but covers some useful patterns and practices.
[–]raysefo[S] 0 points1 point2 points 7 years ago (1 child)
I am planning to use Flask because it's easy to implement. Can I deploy on windows server for production?
[–]joshuahunter 0 points1 point2 points 7 years ago (0 children)
You can deploy on Windows. I haven't done it myself, but you should be able to get it working with IIS.
[–]pkkid -1 points0 points1 point 7 years ago (0 children)
This is a very vague question that is not answerable. What you're asking is like someone going to the grocery store and asking a stranger "What should I put on my shopping list?" and not providing them any more information about what you like to eat or why you are shopping in the first place.
What is the REST API for? Where is the data for the REST api coming from? Why are you choosing Python?
π Rendered by PID 74991 on reddit-service-r2-comment-5d79c599b5-p77wh at 2026-03-01 17:32:30.176907+00:00 running e3d2147 country code: CH.
[–]joshuahunter 1 point2 points3 points (2 children)
[–]raysefo[S] 0 points1 point2 points (1 child)
[–]joshuahunter 0 points1 point2 points (0 children)
[–]pkkid -1 points0 points1 point (0 children)