Code Challenge 27 – PRAW: The Python Reddit API Wrapper – Review

By on 18 July 2017

In this article we review last week’s PRAW: The Python Reddit API Wrapper code challenge. We had some really cool submissions so let’s dive straight in:

Submissions

  • hobojoe1848, being a Flask addict, created a simple Flask app (screenshot in repo). The app displays the “hottest” posts for some of his favourite subreddits. Code is here.

  • bbelderbos created a script to autopost each new PyBites challenge to /r/learnpython. It already auto-posted this week’s new challenge. It also sends out a notification html email to a list of community members. Code is here.

  • shibasisp created a script to pull the challenges listed on r/dailyprogrammer and sort them by difficulty (Easy, Medium and Hard). Just pip install it and you’re on your way! Code is here.

  • asutosh97 created two scripts! The first returns the top ten news items on reddit and the second lists out challenges from r/dailyprogrammer, sorted by Easy, Medium or Hard. Code is here.

Next

This week we have Michael Herman (Real Python) delivering a nice challenge around Bokeh and Flask, check it out here.

By the way there is no deadline to these challenges, you can start any challenge at any time. We can always update our review posts with new PRs.

Follow our instructions and start coding. Have fun!


Keep Calm and Code in Python!

— Bob and Julian

Want a career as a Python Developer but not sure where to start?