|Bite||Description & Tags|
|Bite 2. regex Fun||
Learn Python regular expressions by writing the following 3 functions. ...
findall re regular expressions
|Bite 4. Top 10 PyBites tags||
Get the top 10 tags of PyBites. Our tests suppose ...
Counter findall regular expressions
|Bite 5. Parse a list of names||
In this bite you will work with a list of ...
lambda list comprehensions min sorting
|Bite 9. Palindromes||
Write a function to determine if a word (or phrase) ...
list comprehensions max reverse
|Bite 18. Find the most common word||
Write a function that returns the most common (non stop)word ...
Counter data analysis list comprehensions
|Bite 21. Query a nested data structure||
Given the provided cars dictionary:Get all JeepsGet the first car ...
data structures dictionary comprehensions list comprehensions sorting
|Bite 23. Find words that are > 95% similar||
Given a list of tags of our blog find the ...
difflib file processing findall itertools SequenceMatcher
|Bite 26. Dictionary comprehensions are awesome||
A dictionary comprehension is like a list comprehension, but it ...
|Bite 33. Transpose a data structure||
Sometimes you need to restructure a nested data structure. For ...
|Bite 37. rewrite a for loop using recursion||
Although you have to be careful using recursion it is ...
|Bite 38. Using ElementTree to parse XML||
In this Bite you will use ElementTree to parse some ...
movie data xml
|Bite 41. Write a login_required decorator||
If you worked with Flask or Django you must have ...
|Bite 44. License key generator||
Write a function called gen_key that creates a license key ...
list comprehensions secrets string module
|Bite 46. You are a programmer! Code Fizz Buzz||
Here is a beginner Bite to write Fizz Buzz: Fizz ...
|Bite 47. Write a new password field validator||
You know these Create a new password forms? They do ...
re string module
|Bite 49. Scrape Packt's html with BeautifulSoup||
In this Bite you will parse Packt's free learning ebook ...
beautifulsoup namedtuple requests
|Bite 50. Make a little PyBites search engine (feedparser)||
Complete the program below to create a little search command ...
any feedparser list comprehensions namedtuple search
|Bite 52. Create a movie quote API with Flask||
In this Advanced Bite you will implement a full-blown CRUD ...
APIs Flask movie data
|Bite 55. Get the latest game releases from Steam's RSS feed||
The Steam gaming platform has an RSS feed of their ...
|Bite 57. Create a simple calculator that receives command line arguments||
In this Bite you write a simple calculator that can ...
argparse functools reduce
|Bite 59. Create a multiplication table class of variable length||
Danny does not like rote learning (nor do we!). He ...
classes dunder methods exception handling numbers
|Bite 60. Create a deck of Uno cards||
In this Bite you will create a deck of Uno ...
list list comprehensions namedtuple
|Bite 61. Create a variable size Paw Patrol card deck with random actions||
The Paw Patrol card deck consists of 32 cards ranging ...
itertools namedtuple random string module
|Bite 62. Data structures matter - speed up your Python code||
In this Bite we provide you with 5 functions which ...
data structures performance
|Bite 68. remove punctuation characters from a string||
Complete remove_punctuation which receives an input string and strips out ...
string manipulation string module
|Bite 69. regex Fun - part II||
It's time for another Regex one! (here is part I)In ...
re regular expressions
|Bite 70. Create your own iterator||
In this Bite you make an iterator called EggCreator by ...
|Bite 72. retrieve the right Ninja Belt based on score||
As you have probably seen on the new dashboard you ...
|Bite 74. What day of the week were you born on?||
Complete weekday_of_birth_date which takes a date object of a birthday ...
|Bite 75. Parse Unix cal to a weekday mapping||
In the last bite we return the weekday from a ...
re Unix zip
|Bite 79. Parse a csv file and create a bar chart||
We played a bit with the Slack API today and ...
bar chart community csv requests
|Bite 82. Define a Score Enum and customize it adding methods||
Starting Python 3.4 there is support for enumerations (not to ...
classmethod enum __str__
|Bite 84. Flatten lists recursively (Droste Bite)||
Complete flatten that takes a list of lists (which can ...
|Bite 86. Create a RGB-to-Hex converter||
Designer Mary wants to convert her CSS from statements like ...
|Bite 87. Convert Decimal to Roman Numerals||
Complete romanize that takes a decimal number and converts it ...
|Bite 89. Playing with lists and dicts||
In this Bite you are presented with a us_state_abbrev dict ...
data structures dict list
|Bite 90. What South Park characters talk most?||
Did we already tell you we love the collections module? ...
Counter csv data analysis defaultdict requests
|Bite 91. Matching multiple strings||
Catching up after #PyCon2018 ... in this Bite you do ...
all any re string matching
|Bite 94. Parse PyCon talk data from YouTube||
PyCon2018 was awesome! But you clearly had to choose the ...
list comprehensions max namedtuple
|Bite 102. Infinite loop, input, continue and break||
In this Bite we'll get you to take user input ...
break continue input mock.patch while
|Bite 105. Slice and dice||
Take the block of text provided and strip off the ...
replace slicing split string module strip
|Bite 106. Strip out vowels and count the number of replacements||
In this Bite we'd like you to loop over the ...
counting regular expressions replace string manipulation Zen of Python
|Bite 107. Filter numbers with a list comprehension||
Complete the function below that receives a list of numbers ...
list comprehensions modulo
|Bite 108. Loop over a dict of namedtuples calculating a total score||
In this Bite you calculate the total amount of points ...
counting dict namedtuple
|Bite 111. Use the ipinfo API to lookup IP country||
In this Bite you will use the requests library to ...
APIs json mock.patch requests
|Bite 112. Social Media Username Validator||
In this Bite you parse social_platforms below into a dict ...
namedtuple range re regular expressions string manipulation string matching typing
|Bite 114. Implement a Color class with classmethods||
As the new junior developer, you have been charged with ...
classmethod hex __repr__ __str__ string module
|Bite 116. List and filter files in a directory||
In this Bite you complete get_files that receives a dirname ...
generators glob os module
|Bite 118. List exercise: return first occurrence indices of duplicated words||
In this Bite you are presented with a list of ...
counting list comprehensions set
|Bite 119. Xmas tree generator||
In this Bite you complete generate_xmas_tree that takes a rows ...
default args join range string formatting
|Bite 121. Determine the strength of a password||
In this Bite you evaluate the strength of a password. ...
re string matching
|Bite 122. Check if two words are anagrams||
An anagram is a word or phrase formed by rearranging ...
anagram string matching
|Bite 124. Marvel data analysis||
Remember our Marvel Data Analysis / Alicante PyChallengeDay?We simplified this ...
Counter csv data analysis list comprehensions rounding sum
|Bite 125. Get the most recommended books||
The Tim Ferriss Show is full of wisdom and inspiration. ...
beautifulsoup Counter default args list comprehensions requests
|Bite 127. return the right ordinal suffix for a number||
In this Bite you complete a function that takes an ...
dict modulo numbers string manipulation
|Bite 129. Analyze Stock Data||
In this Bite we will answer some questions about stocks, ...
counting data analysis json requests sorting string manipulation
|Bite 130. Analyze some basic Car Data||
In this exercise you will analyze some basic car data. ...
Counter data analysis list comprehensions set
|Bite 131. Screen scraper||
This is the output from using screenFetch on my junky ...
dict index regular expressions slicing string manipulation
|Bite 132. Find the word with the most vowels||
Finish the get_word_max_vowels function below that takes a text string ...
counting lambda list comprehensions string matching
|Bite 133. Convert an Amazon URL into an affiliation link||
Can you help PyBites automate their Amazon affiliation link creation?Complete ...
regular expressions string manipulation
|Bite 137. Gourmets' Nightmare||
Many gourmets struggle to find the perfect pairing of wines ...
Counter intersection operator sorting
|Bite 139. Calculate a coding streak in days||
In this Bite you are going to calculate the amount ...
datetime string manipulation timedelta
|Bite 141. Primitive date format inferrer||
Complete the get_dates method given the following:a listing of date ...
classmethod datetime enum exception handling
|Bite 145. record Breakers||
The data for this challenge comes from a subset of ...
csv data analysis pandas
|Bite 148. Print Car Data Grouped by Manufacturer||
In this Bite you are presented with a list of ...
data structures itertools operator sorting
|Bite 150. Turn messy CSV into JSON||
At the 1 year mark of our platform here is ...
csv json re string manipulation
|Bite 153. Round a sequence of numbers||
It's time to get mathematical! In this Bite we ask ...
list comprehensions math rounding
|Bite 154. Write your own Data Class||
As you might have noticed we are now on Python ...
data classes data structures hashable sorting type hinting
|Bite 159. Create a simple calculator||
In this Bite you will create a simple calculator. It ...
exception handling numbers operator
|Bite 161. Count the number of files and directories||
Complete count_dirs_and_files traversing the passed in directory path.Return a tuple ...
counting directories files os module
|Bite 163. Which packages were upgraded?||
In this Bite you compare a list of packages (aka ...
comparison dict numbers string manipulation
|Bite 167. Complete a User class: properties and representation dunder methods||
In this Bite you are presented with another class, User ...
classes dunder methods f-strings properties __repr__ __str__ string manipulation
|Bite 174. String manipulation and metrics||
This bite will get you to play around with creating ...
Counter data classes list comprehensions properties string formatting string manipulation translate
|Bite 173. Add future TODO items||
Let's do another datetime processing Bite. Complete add_todo below that ...
datetime findall f-strings timedelta
|Bite 176. Create a variable length chessboard||
In this Bite you are going to print a chessboard ...
modulo range stdout
|Bite 177. Use Pandas to find most common genres in a movie excel sheet||
Another pandas Bite: we took some fake movie data from ...
data cleaning excel groupby movie data pandas
|Bite 179. Strip comments from Python code||
In this Bite you will strip off all comments from ...
comments regular expressions string parsing
|Bite 181. Keep a list sorted upon insert||
Complete the add method of the OrderedList class which takes ...
bisect classes data structures __str__
|Bite 182. Parse a bunch of quotes from HTML||
Let's get some inspiration. Below you find the simplified HTML ...
dict regular expressions string manipulation string parsing
|Bite 185. Create a simple spelling suggester||
In this Bite you will write a simple spelling corrector. ...
difflib SequenceMatcher string matching
|Bite 186. Calculate number of books to have read at date ...||
For this Bite you are asked to start working on ...
datetime dateutil exception handling
|Bite 187. Actor/actress age at movie release||
Ever wondered how old an actor/actress was in a particular ...
data classes dateutil f-strings
|Bite 189. Filter a list of names||
Here is a Bite to practice the continue and break ...
break continue generators looping
|06||PyPI 100K Packages Prediction||A new week, more coding! In this challenge you will make a prediction when PyPI will reach the 100.000 packages milestone.|
|13||Highest Rated Movie Directors||Hi Pythonistas, a new week, a new 'bite' of Python coding! After last week's (tictactoe game), we'd like to sharpen your data analysis skills this week by parsing a movie data set in search for highest rated directors. Enjoy and we review solutions end of this week.|
|15||Create a Simple Flask App||Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we’re going to get down and dirty with Python Flask. Flask is becoming a hot skill to have up your sleeve. We’re all in with learning it so figure it’s about time we had a challenge on it! Enjoy!|
|18||Get recommendations||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|
|22||Packt Free Ebook Web Scraper||Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we will do some web scraping of Packt's daily free ebook, sending out daily notifications. This week we even have a unique opportunity to sponsor the Python Community, read on ... and happy coding!|
|26||Create a Simple Python GUI||Hi Pythonistas, a new week, a new 'bite' of Python coding! Web apps tend to get all the love so it’s about time we shared the spotlight with GUIs. This week let’s take our first dive as a PyBites Community into Python GUIs!|
|27||PRAW: The Python reddit API Wrapper||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!|
|29||Create a Simple Django App||Hi Pythonistas, a new week, a new 'bite' of Python coding! We are 2 weeks into learning Django (our second 100 Days project) so we thought it's about time to dedicate a code challenge to it. So this week is all about coding (and deploying) a Django app. Have fun!|
|30||The Art of refactoring: Improve Your Code||Hi Pythonistas, a new week, a new 'bite' of Python coding. Wow challenge 30 already! This week we let you hone your refactoring skills. Learn, code, PR submit (don't be shy) and above all have fun!|
|33||Build a Django Tracker, Weather or review App||Hi Pythonistas, a new week, a new 'bite' of Python programming. To keep it #100DaysOfDjango, this week we let you get some more practice with this awesome web framework. Last time we had an open Django challenge, for this one we have you choose between 3 specific apps.|
|34||Build a Simple API With Django reST Framework||Hi Pythonistas, a new week, a new 'bite' of Python programming! We love Django (#100DaysOfDjango) and Web APIs. Django REST framework combines the two. "Now is better than never." - let's jump right in and let's use this week's code challenge to build a simple API. In this article some ideas what we can build and links to resources to get started. Have fun and don't forget to share (PR) your work, we can learn a lot from each other. Enjoy!|
|36||Create an AWS Lambda Function||Hi Pythonistas, a new week, a new 'bite' of Python coding! We are delighted to have Michael Herman (Real Python) back to deliver this week's challenge. Prepare to learn some useful new skills and above all have fun!|
|42||Mastering regular Expressions||Hi Pythonistas, it's beginning of the month so we're busy selecting some cool code challenges for you to work on to hone your Python skills. Regular Expressions was a long time coming so let's get it out there. We hope we hit a decent intermediate level with this challenge. If you have questions ask us in the comments or join our Slack.|
|48||Create a Python News Digest Tool||Hi Pythonistas, welcome to a new year of challenges. Are you as amazed as we are by all the awesome Python stuff that comes out every week? But then you feel you always are behind because you lack the time to keep up? Welcome to daily reality. In this challenge we have you contribute to our community with tools to improve our weekly delivery of Python News. Be creative, have fun!|
|52||Create your own Pomodoro Timer||Hi Pythonistas, Welcome to Pybites Code Challenge 52! In this challenge we get you create your very own Pomodoro Timer!|
|56||Calculate the Duration of a Directory of Audio Files||Hi Pythonistas, Welcome to Pybites Code Challenge 56! In this challenge we're asking you to work with directory, files and audio meta data!|