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

Posted by PyBites on Tue 18 July 2017 in Challenges • Tagged with codechallenges, reddit, API, PRAW, dailyprogrammer, post, submission, learnpython • 1 min read

In this article we review last week's PRAW: The Python Reddit API Wrapper code challenge.


Continue reading

Code Challenge 27 - PRAW: The Python Reddit API Wrapper

Posted by PyBites on Tue 11 July 2017 in Challenges • Tagged with codechallenges, reddit, API, PRAW, news, dailyprogrammer, data, data analysis, textblob, bot, word clouds, nltk • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! Love or hate Reddit, it has a lot of good data to work with. This week we have you write an app of your choice using the Reddit API. Have fun!


Continue reading

Building a Karma Bot with Python and the Slack API

Posted by Bob on Sun 25 June 2017 in Tools • Tagged with Slack, karma, bot, API, picle, packaging, logging, Counter • 3 min read

We love Slack! But what if we can make it even cooler? Imagine: you are geeking out with your fellow developers on Slack and you want to give them credit. Or you can write "stupidsubject--" and it automagically shows "stupidsubject's karma decreased to -2". Enter Karma Bot. This is nothing new but building one myself was a great learning exercise and a fun tool we use on our Slack now.


Continue reading

Twitter digest 2017 week 24

Posted by PyBites on Sun 18 June 2017 in Digest • Tagged with twitter, news, tips, python, Postgres, JSON, Rest, API, Strings, Docker, Flask, React, AWS, learning, Py, Instagram, data science, charts, NASA, Faker, GitHub, Readme, indentation, data analysis, twilio • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


Continue reading

Parsing Twitter Geo Data and Mocking API Calls by Example

Posted by Bob on Sat 17 June 2017 in Learning • Tagged with twitter, API, mock, geo, data, unittest, pickle, tweepy, testing, 100days • 2 min read

"Is this Bob or Julian?!" ... yeah tweeting from our shared @pybites Twitter account can be confusing! So I made a little script to parse the location of our tweets. Then I extended it to make it testable. I wrote a decorator to cache a couple of API outputs to be used with the unittest.mock patch decorator I learned about. A simple script turned into a good learning exercise.


Continue reading

Code Challenge 19 - Post to Your Favorite API - Review

Posted by PyBites on Mon 22 May 2017 in Challenges • Tagged with codechallenges, learning, API, POST, Twitter, Facebook • 2 min read

This week was pretty busy due to PyCon, but what an amazing conference! A lot to absorb which we will digest in the upcoming articles. First our regular schedule though: review of last week's challenge: post to your favorite API.


Continue reading

Code Challenge 19 - Post to Your Favorite API

Posted by PyBites on Mon 15 May 2017 in Challenges • Tagged with codechallenges, learning, API, Twitter, Facebook, TheMovieDB, Spotify, Goodreads, Reddit, Google, POST • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! This week part 2 of APIs: post to your favorite API. Enjoy


Continue reading

Code Challenge 18 - Get Recommendations - Review

Posted by PyBites on Mon 15 May 2017 in Challenges • Tagged with codechallenges, books, Goodreads, API, oauth, Manning, Machine Learning, Netflix, recommendation engine, Parrotread, recommender system • 2 min read

Before moving onto the new challenge let's review last week's challenge. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

Learning Python by Building a Wisdom Quotes App

Posted by Dante on Tue 09 May 2017 in Learning • Tagged with challenges, learning, guest, wikipedia, API, code review, flask, requests, quotes, forismatic • 2 min read

In this guest post Dante tells us about his Wisdom of the Ages app he built for PyBites code challenge 16 (reviewed here). The best way to learn Python is to build something and we are proud of our community achieving just that.


Continue reading

Code Challenge 18 - Get Recommendations

Posted by PyBites on Mon 08 May 2017 in Challenges • Tagged with codechallenges, learning, Twitter, books, recommendations, API, TextBlob • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we'll do another API exercise: you will parse your Twitter feed searching for book / movie / music / you-name-it recommendations. Can you create a simple ParrotRead? Enjoy


Continue reading