Code Challenge 28 - Integrate a Bokeh Chart Into Flask - Review

Posted by PyBites on Mon 24 July 2017 in Challenges • Tagged with codechallenges, Bokeh, Flask, RealPython, guest, data, visualization, Heroku • 1 min read

In this article we review last week's Integrate a Bokeh Chart Into Flask code challenge. We got some really nice submissions to share ...


Continue reading

Code Challenge 28 - Integrate a Bokeh Chart Into Flask

Posted by Michael on Tue 18 July 2017 in Challenges • Tagged with codechallenges, Bokeh, Flask, RealPython, guest, data, visualization, Heroku • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! We are delighted to have Michael Herman (Real Python) deliver this week's challenge. Prepare to learn some useful new skills and above all have fun!


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

Code Challenge 23 - Challenge Estimated Time API - Review

Posted by PyBites on Sun 18 June 2017 in Challenges • Tagged with codechallenges, APIs, Github, PyGithub, PR template, tracking, meta, data, platform, packaging, peewee, click, maya • 3 min read

In this article we review last week's Challenge Estimated Time API. This was a cool challenge and we implemented it using Github's awesome platform and API.


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 23 - Challenge Estimated Time API

Posted by PyBites on Tue 13 June 2017 in Challenges • Tagged with codechallenges, APIs, Github, Slack, Flask, tracking, meta, data, platform • 3 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we will give you the opportunity to enhance our challenge platform by creating a simple API to track how much time our challenges take (and possibly other metadata).


Continue reading

Next Time I Will Use Pandas to Parse Html Tables

Posted by Bob on Thu 08 June 2017 in Concepts • Tagged with BeautifulSoup, regex, Pandas, parsing, data, data cleaning, energy, json, csv, html • 2 min read

Last week I did some html table parsing with BeautifulSoup and regex. It turns out there is an easier way to do this: Pandas.


Continue reading

Code Challenge 21 - Electricity Cost Calculation App - Review

Posted by PyBites on Mon 05 June 2017 in Challenges • Tagged with codechallenges, calculation, electricity, Flask, Django, cli, data, BeautifulSoup, Python Anywhere, Pythonista 3 • 2 min read

In this article we review this week's code challenge #21 for which we got some nice PRs.


Continue reading

Twitter digest 2017 week 08

Posted by PyBites on Sat 25 February 2017 in Digest • Tagged with twitter, news, podcasts, Guido, namedtuples, tips, books, stdlib, data • 2 min read

On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.


Continue reading

Twitter digest 2017 week 01

Posted by PyBites on Sat 07 January 2017 in Digest • Tagged with twitter, news, python, podcasts, data, iterators, pythontips • 2 min read

On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.


Continue reading