B
Sum n numbers
sum
None
default args
range
B
Parse a list of names
lambda
min
list comprehensions
sorting
B
Rotate string characters
slicing
deque
B
Enumerate 2 sequences
enumerate
string formatting
B
Pybites date generator
generators
datetime
B
Write a property
datetime
properties
B
Query a nested data structure
data structures
sorting
dictionary comprehensions
list comprehensions
B
Dictionary comprehensions are awesome
dictionary comprehensions
B
Martin's iq test
enumerate
string module
B
Don't let mutability fool you
mutability
deepcopy
B
Rewrite a for loop using recursion
reverse
recursion
B
Using elementtree to parse xml
movie data
xml
B
Force keyword arguments
function arguments
kwargs
B
License key generator
secrets
string module
list comprehensions
B
Keep a queue of last n items
deque
B
You are a programmer! code fizz buzz
fizzbuzz
B
Nicer formatting of a poem or text
string manipulation
textwrap
B
Get the latest game releases from steam's rss feed
feedparser
namedtuple
B
Add a command line interface to our bmi calculator
argparse
B
Fix a truncating zip function
itertools
zip
B
Calculate the running average of a sequence
enumerate
itertools
mean
B
Working with datetimes
datetime
timedelta
B
Remove punctuation characters from a string
string module
string manipulation
B
What day of the week were you born on?
calendar
B
New places to travel to
set
set operations
B
Check equality of two lists
equality
list
enum
B
At what time does pybites live?
timezones
pytz
B
Matching multiple strings
string matching
all
any
B
Build unix' wc program in python
file processing
Unix
tempfile
B
Display the last part of a file (unix tail)
file processing
strip
Unix
slicing
B
Count leading spaces
string matching
counting
B
Round a number even (a.k.a. banker's rounding)
Decimal
rounding
B
Work with datetime's strptime and strftime
datetime
strptime
strftime
B
Analyze some basic car data
data analysis
set
Counter
list comprehensions
B
Convert an amazon url into an affiliation link
string manipulation
regular expressions
B
Bloodtypes
exception handling
multi type input
enum
B
Look up a value in 3 dictionaries
collections
dict
B
Sorting words with constraint
lambda
string manipulation
sorting
B
Round a sequence of numbers
math
rounding
list comprehensions
B
Count the number of files and directories
counting
directories
files
os module
B
Parse an /etc/passwd file output
string manipulation
split
tuple unpacking
B
Complete a user class: properties and representation dunder methods
properties
classes
__repr__
string manipulation
dunder methods
f-strings
__str__
B
Simple length converter
rounding
exception handling
numbers
B
Having fun with python partials
rounding
partial
functools
B
Create a variable length chessboard
modulo
stdout
range
B
Group names by country
groupby
collections
defaultdict
B
Keep a list sorted upon insert
bisect
data structures
classes
__str__
B
Get statistics from pybites test code
file processing
data analysis
statistics
B
Filter a list of names
generators
break
continue
looping
B
Some logging practice
logging
callable
B
Find the number pairs summing up n
looping
itertools
numbers
B
Write a sphinx docstring
docstring
data types
sphinx
B
Add type hints to a function
typing
type hinting
annotations
B
A countdown generator
generators
B
Validate a license key
bool
regular expressions
B
Create a sandwich decorator
decorators
B
Swap case pybites characters
string manipulation
looping
string parsing
B
Where are the emojis?
regular expressions
looping
emojis
list comprehensions
list
B
Write tests for fibonacci
fibonacci
pytest
B
Write tests for list_to_decimal
exception handling
pytest
B
Test print / standard output
stdout
list comprehensions
capfd
capsys
pytest
B
Introducing pandas series
string module
series
pandas
B
Let's play with pandas series
slicing
pandas
type hinting
series
numpy
B
Global vs local variables
sum
global
B
Extract users dict from a multiline string
string parsing
dict
B
Gc content
bioinformatics
collections
B
Most frequent digit in number
counting
numbers
Counter
B
Major and minor numbers
min
numbers
collections
max
B
Armstrong numbers
numbers
algorithms
B
Like there's no tomorrow?
datetime
B
Smallest number
numbers
B
Round to next number
math
B
N digit numbers
numbers
B
Join lists
iteration
joining
list
B
Print names to columns
modulo
f-strings
print
B
Pickling objects
data wrangling
pickle
serialization
B
Decode base64 encoded data
base64
encode
decode
B
Identity and equality
staticmethod
integer caching
equality
B
Reading progress
datetime
numbers
B
Iterables intersection
functools
set operations
B
Pretty string
pprint
B
Fastapi hello world
FastAPI
B
A little detour: pydantic
Pydantic
FastAPI
B
Which words can you type with one hand?
comparison
set
enum
B
Transform a script into a command line interface (cli)
Typer
command line
B
Create your first typer command line interface (cli) application
Typer
command line
B
Add a progress bar to your command line interface (cli)
Typer
rich
command line
B
Python3.9 - dictionary merge
union
dict
B
Validate pangram
strings
hashing
string
algorithms
B
Reverse only letters
strings
stacks
queues
B
Uppercase Vowels
loops
string manipulation
strings
Hacktoberfest
I
Word values
sum
Scrabble
max
I
Top 10 pybites tags
xml
Counter
I
Pybites die hard
generators
file processing
Counter
namedtuple
I
Parsing dates from logs
file processing
datetime
I
Palindromes
reverse
list comprehensions
algorithms
max
I
Practice exceptions
exception handling
raise
I
Write a user validation function
exception handling
classes
namedtuple
I
Convert dict to namedtuple/json
json
dict
namedtuple
I
Generate a table of n sequences
generators
zip
I
Form teams from a group of friends
itertools
I
Find the most common word
data analysis
Counter
list comprehensions
I
Write a decorator with argument
decorators
I
No promo twice, keep state in a class
exception handling
properties
classes
I
Parse omdb movie json data
movie data
json
APIs
glob
I
Converting date strings to datetimes
datetime
findall
Counter
I
Movie data analysis
data analysis
mean
defaultdict
movie data
sorting
namedtuple
I
Transpose a data structure
zip
dict
I
Having fun with heapq
datetime
heapq
I
Having fun with *args and **kwargs
args
function arguments
kwargs
I
Calculate the total duration of a course
datetime
numbers
findall
timedelta
I
Write a login_required decorator
decorators
functools
I
Write a new password field validator
string module
re
I
Make a bar chart of new safari books
data analysis
bar chart
I
Scrape packt's html with beautifulsoup
beautifulsoup
requests
namedtuple
I
When does python 2 die on planet miller?
datetime
I
Create a simple calculator that receives command line arguments
reduce
argparse
functools
I
Create a multiplication table class of variable length
exception handling
numbers
dunder methods
classes
I
Create a deck of uno cards
namedtuple
list
list comprehensions
I
Data structures matter - speed up your python code
performance
data structures
I
Get all valid dictionary words for a draw of letters
itertools
set
Scrabble
I
Create your own iterator
iterators
random
I
Keep state in a class + make its instance callable
dunder methods
classes
I
Retrieve the right ninja belt based on score
OrderedDict
itertools
I
Organize a meeting between timezones (pytz)
timezones
pytz
I
Find programmers with common languages
set
set operations
I
Parse a csv file and create a bar chart
bar chart
requests
csv
community
I
Filter and order tweets by polarity values
TextBlob
Twitter
namedtuple
I
Define a score enum and customize it adding methods
classmethod
enum
__str__
I
Flatten lists recursively (droste bite)
recursion
list
I
Create a rgb-to-hex converter
string formatting
I
Convert decimal to roman numerals
OrderedDict
numbers
I
Playing with lists and dicts
data structures
list
dict
I
What south park characters talk most?
data analysis
Counter
requests
csv
defaultdict
I
Humanize a datetime
datetime
namedtuple
I
Subclass the dict built-in
classes
inheritance
I
Beautifulsoup ii - scrape us holidays
beautifulsoup
dict
defaultdict
I
Write an infinite sequence generator
generators
itertools
string module
zip
I
Use the ipinfo api to lookup ip country
mock.patch
json
requests
APIs
I
Filter words with non-ascii characters
ascii
all
ord
unicode
I
Implement a color class with staticmethod
__repr__
hex
string module
staticmethod
__str__
I
List and filter files in a directory
generators
glob
os module
I
List exercise: return first occurrence indices of duplicated words
counting
set
list comprehensions
I
Xmas tree generator
range
string formatting
default args
join
I
Write a numbers validation decorator
decorators
I
Check if two words are anagrams
string matching
anagram
I
Find the user with most friends
sorting
looping
tuples
defaultdict
I
Get the most recommended books
default args
beautifulsoup
Counter
list comprehensions
requests
I
Return the right ordinal suffix for a number
modulo
numbers
string manipulation
dict
I
Analyze stock data
counting
data analysis
string manipulation
requests
json
sorting
I
Find the word with the most vowels
lambda
string matching
counting
list comprehensions
I
Sort a list of book objects
lambda
operator
datetime
attrgetter
list
sorting
namedtuple
I
Gourmets' nightmare
operator
sorting
intersection
Counter
I
Oop fun at the zoo
classmethod
itertools
classes
__str__
I
Pybites first pandas bite
data analysis
csv
pandas
I
Primitive date format inferrer
classmethod
datetime
exception handling
enum
I
Exception handling: calculate the winning player
exception handling
numbers
namedtuple
I
Calculate the number of months passed
datetime
exception handling
dateutil
I
Rhombus generator
string formatting
format
f-strings
I
100 weekdays of code date range
datetime
dateutil
I
Print car data grouped by manufacturer
operator
data structures
itertools
sorting
I
Turn messy csv into json
re
string manipulation
csv
pandas
json
I
Contemporary composers
exception handling
generators
datetime
dict
namedtuple
I
Write your own data class
data structures
type hinting
dataclasses
hashable
sorting
I
Split a string by spaces or quoted text
string manipulation
split
I
Make an index of story characters
enumerate
string matching
collections
defaultdict
sorting
I
Filter out accented characters
string matching
unicode
I
Create a simple calculator
operator
exception handling
numbers
I
Vertically align output of counters
string formatting
I
Which packages were upgraded?
comparison
numbers
string manipulation
dict
I
Complete a tox ini file parser class
configparser
tox
properties
classes
string parsing
string matching
I
Set up future notifications
datetime
timedelta
findall
f-strings
I
Find missing dates
datetime
pandas
dateutil
I
Parse pybites blog git commit log
string parsing
data analysis
Counter
datetime
dateutil
I
Parse a bunch of quotes from html
string manipulation
regular expressions
string parsing
dict
I
Analyze some bite stats data
data analysis
set
csv
Counter
I
Create a simple spelling suggester
SequenceMatcher
string matching
difflib
I
Calculate number of books to have read at date ...
datetime
exception handling
dateutil
I
Actor/actress age at movie release
dataclasses
f-strings
dateutil
I
Parse income distribution from latin america xml
xml
data analysis
defaultdict
I
Starwars character with highest bmi
operator
string manipulation
tuple unpacking
max
I
Most upvoted stackoverflow python questions
beautifulsoup
string matching
web scraping
requests
sorting
I
Add caching to a fibonacci function
performance
fibonacci
cache
functools
I
Analyze nba data with sqlite3
databases
data analysis
SQL
sqlite3
I
What date is mother's day celebrated?
datetime
dateutil
I
Multiple inheritance (__mro__)
multiple inheritance
__mro__
classes
inheritance
I
Call a cisco nexus 9k device
networking
requests
I
Analyze some bite stats data - part ii
data analysis
sorting
csv
I
Add type hints to a class
dataclasses
type hinting
classes
I
Female speakers @ pycon us
beautifulsoup
counting
gender_guesser
data wrangling
I
Calculate and evenly split the bill
Decimal
rounding
numbers
I
Suppressing exceptions
context managers
exception handling
I
Capture stdout
context managers
StringIO
I
Bite notification planner
generators
datetime
I
Parse best selling lists using the ny times api
json
mock
requests
APIs
I
Split an iterable in groups of size n
generators
iterators
itertools
looping
I
Unix file permissions
string manipulation
dict
list comprehensions
I
Get top titles from news.python.sc
string parsing
beautifulsoup
news
web scraping
requests
sorting
namedtuple
I
Convert warcraft json data to csv
json
exception handling
csv
I
Create a gravatar url
string formatting
hashlib
gravatar
I
Thumbs up for operator overloading
exception handling
classes
emojis
dunder methods
operator overloading
I
Analyze gold prices
comparison
string parsing
data analysis
looping
pandas
sorting
I
Make a zipfile of the latest log files
pathlib
datetime
zipfile
os module
I
Capitalize sentences
string matching
string manipulation
regular expressions
string parsing
I
Which bite has the fastest tests?
sorting
string parsing
type casting
I
User experience matters! suggest matching files
pathlib
files
difflib
I
Test fizzbuzz
fizzbuzz
pytest
I
Test code that parses json and ip ranges
dataclasses
ipaddress
json
pytest
I
Make mutpy's output more digestible
data wrangling
string parsing
looping
string matching
mutpy
I
Xmas tree 2.0
string formatting
range
I
Mocking a standard library function
pytest
random
mock.patch
I
More pandas series practice
math
series
statistics
pandas
I
Codon usage
bioinformatics
textwrap
collections
I
Scrape pycon events
beautifulsoup
data analysis
web scraping
requests
pycon
json
namedtuple
I
What the flux?
math
finance
pandas
I
Reverse complement
bioinformatics
translate
string manipulation
I
Visit all pycons in europe
math
dataclasses
itertools
data analysis
I
Count the number of islands in a grid
looping
algorithms
string
I
Clamy fernet
typing
encryption
fernet
cryptography
dataclasses
encode
I
Optimal fund raising
math
looping
algorithms
I
Measure the size of an island
math
looping
algorithms
I
Get all class names from a module
inspect
list comprehensions
I
Find common words
string matching
algorithms
set operations
I
Number conversion problem
numbers
recursion
algorithms
I
Get the most common email domains
string parsing
Counter
web scraping
set
requests
I
Pascal triangle
Pascal
algorithms
I
Nested list extraction
data structures
string parsing
I
Decompress
string manipulation
recursion
I
Sum indices
sum
looping
I
Class rosters data conversion
csv
string parsing
tuple unpacking
I
Find the fastest speech
string manipulation
datetime
sorting
I
Jagged list
iteration
itertools
list
I
Fasta to 2-line fasta
bioinformatics
biopython
I
Base converter
exception handling
base
I
Exchange rates
datetime
sorting
dict
I
Get and write all code from a json file
file processing
json
string manipulation
filecmp
I
Most identical letters in a word
string matching
casefold
Counter
max
I
Split once, delimit many
looping
split
string parsing
I
Translate coding sequences to proteins
bioinformatics
biopython
I
Sqlite3 introduction
databases
SQL
sqlite3
I
Calculate the median from a dictionary
sum
sorting
median
I
A simple document class
properties
classes
annotations
string
method chaining
I
Scoring objects
typing
builtins
keyword
importlib
I
Alternative constructors
classmethod
classes
I
More logging practice
logging
exception handling
I
To rent or to stream movies?
typing
datetime
collections
dict
I
Sortable dataclasses and enums
dataclasses
sorting
dunder methods
enum
I
Floating point arithmetic
floats
rounding
numbers
arithmetic
I
Abstract syntax tree (ast) printer
AST
I
Searching for an apartment
algorithms
I
Simple tcp client
hashlib
TCP/IP
client
socket
multiprocessing
secrets
networking
I
Async http client
asyncio
networking
aiohttp
client
I
Create food objects
FastAPI
I
Retrieve food objects
FastAPI
I
Update and delete food objects
FastAPI
I
Pydantic part ii
Pydantic
FastAPI
I
Food logging crud
FastAPI
I
Fastapi exception handling
FastAPI
I
Return an html response
FastAPI
I
Citation indexes
typing
exception handling
builtins
I
Writing better spanish
ascii
unicode
dict
unicodedata
I
Get spelling suggestions
typing
TextBlob
comparison
tuple unpacking
namedtuple
I
Hash sql statements
hashlib
SQL
I
When to use command line option (cli) options and when cli arguments?
Typer
command line
I
Using typer callbacks to create command line interface (cli) parameters
Typer
command line
I
Rich excursion - create beautiful tables
Typer
rich
command line
I
Add a password prompt to your command line interface (cli)
Typer
command line
I
Movie theater (refactoring)
clean code
refactoring
I
Create wikipedia lorem ipsum text
regular expressions
beautifulsoup
list comprehensions
random
requests
I
Rolling two dice for an advantage
math
itertools
mean
I
Goal tracker
datetime
date
tuple unpacking
I
Add pi day to the calendar
calendar
tuple unpacking
I
Group anagrams
array
strings
defaultdict
I
Find all letter combinations of a phone number
backtracking
itertools
strings
I
Coins on the table
math
A
Regex fun
re
findall
regular expressions
A
Enrich a class with dunder methods
dunder methods
properties
functools
A
Write a context manager
operator overloading
context managers
dunder methods
with statement
A
Find words that are > 95% similar
file processing
findall
difflib
SequenceMatcher
itertools
A
Abc's and class inheritance
abstractmethod
ABCs
classes
inheritance
A
Matrix multiplication / @ operator
operator overloading
__matmul__
dunder methods
A
Building a karma app - implement the user class
properties
classes
dunder methods
operator overloading
namedtuple
A
Write a binary search algorithm
algorithms
binary search
A
Number guessing game class
random
games
classes
A
Make a little pybites search engine (feedparser)
list comprehensions
feedparser
any
search
namedtuple
A
Convert text into multiple columns
string manipulation
A
Using argparse to interface with a grocery cart
argparse
A
Create a variable size paw patrol card deck with random actions
itertools
random
string module
namedtuple
A
Use an infinite iterator to simulate a traffic light
iterators
itertools
namedtuple
A
Regex fun - part ii
re
regular expressions
A
Parse unix cal to a weekday mapping
re
Unix
zip
A
The singledispatch countdown challenge
singledispatch
decorators
functools
A
Write a score property
properties
classes
A
Write a performance monitoring context manager
context managers
Counter
A
Rock-paper-scissors and generator's send
random
games
coroutines
A
Parse pycon talk data from youtube
list comprehensions
namedtuple
max
A
Code your way out of a grid
numbers
looping
tuple unpacking
namedtuple
A
Social media username validator
typing
re
regular expressions
string manipulation
range
string matching
namedtuple
A
Determine the strength of a password
string matching
re
A
Marvel data analysis
sum
rounding
data analysis
Counter
list comprehensions
csv
A
The emoji (unicode) bite
unicode
emojis
sys
A
Screen scraper
regular expressions
string manipulation
index
dict
slicing
A
Two sums
index
sum
sorting
looping
A
Calculate a coding streak in days
datetime
string manipulation
timedelta
A
Record breakers
data analysis
csv
pandas
A
Manipulate string decorator
kwargs
string manipulation
decorators
list
A
Subclass the list built-in
exception handling
properties
dunder methods
mean
inheritance
operator overloading
list
statistics
median
A
15-way rock paper scissors
exception handling
games
csv
dict
A
Cli tool: html link converter (stdin to stdout)
data wrangling
exception handling
html
stdin
string formatting
string manipulation
sys
A
Ninja rankings
classes
bisect
heapq
tuples
dunder methods
dataclasses
A
String manipulation and metrics
properties
string formatting
translate
string manipulation
Counter
list comprehensions
dataclasses
A
Analyze mcdonald's food data
data analysis
pandas
A
Make a terminal spinner animation
stdout
itertools
command line
time
sys
A
Use pandas to find most common genres in a movie excel sheet
data cleaning
excel
groupby
pandas
movie data
A
Strip comments from python code
regular expressions
string parsing
comments
A
Analyze sales data with pandas
data analysis
pandas
groupby
A
Create a js-like dict object
javascript
classes
dict
inheritance
A
Calculate my mac's longest uptime
data wrangling
datetime
string parsing
dateutil
A
š„³ minecraft enchantable items
beautifulsoup
web scraping
A
Pomodoro with asyncio
pomodoro
asyncio
A
Cached property decorator
caching
decorators
properties
classes
A
Write a retry decorator
exception handling
decorators
A
Code a translation fixer
regular expressions
A
Parse an email header
regular expressions
A
Analysing @pythonbytes rss feed
regular expressions
classes
max
min
Counter
string matching
feedparser
type hinting
namedtuple
A
Get sentences from a text
data wrangling
string manipulation
regular expressions
A
Scrape best programming books
data wrangling
classes
beautifulsoup
data cleaning
books
web scraping
sorting
A
Get the dates ninja belts were earned
looping
datetime
pandas
json
sorting
A
Write tests for an account class
pytest
classes
A
Zodiacal data parsing
datetime
pytest
fixtures
A
Test a number guessing game
exception handling
classes
games
mock.patch
pytest
A
Test a movie db class
classes
fixtures
SQL
sqlite3
movie data
pytest
A
Pybites url shortener
string module
string manipulation
type hinting
dict
encode
decode
A
Let's play with pandas dataframes
dataframes
pandas
A
Composition, inheritance, abstract base class, what?
typing
ABCs
abstractmethod
beautifulsoup
string formatting
composition
urllib
inheritance
web scraping
dataclasses
namedtuple
A
Taxable income calculator
typing
finance
properties
classes
dataclasses
namedtuple
A
Number transformers
numbers
algorithms
A
Shortest path (graph bite)
graph
computer science
algorithms
A
Get father's days by date and country
string manipulation
string parsing
dateutil
A
Number of coin changes
dynamic programming
algorithms
A
Regular expression lookahead/lookbehind
regular expressions
lookahead
lookbehind
A
Generating sales reports from github data
data analysis
pandas
A
Evaluate a bridge hand
exception handling
properties
classes
looping
sorting
enum
A
Scoring matrices
bioinformatics
zip
enumerate
looping
numbers
A
Bowling score
looping
numbers
games
A
Rename keys
iteration
data cleaning
dict
A
š„³ pto calculator
exception handling
string formatting
looping
datetime
calendar
numbers
A
Unique genes
bioinformatics
biopython
A
Create file pairs
bioinformatics
regular expressions
files
A
Magic bytes
file processing
exception handling
images
bytes
string parsing
csv
A
Ast visitor
AST
A
Longest coding streak
fromordinal
itertools
toordinal
timezones
A
Convert dict keys to snake case
string manipulation
recursion
algorithms
A
Simple math equation solver
exception handling
itertools
list operations
operator
math
A
Convolution in neural networks
deep learning
numpy
A
Metropolisāhastings algorithm
statistics
algorithms
numpy
Markov chain Monte Carlo
A
Fastapi authentication with jwt (json web tokens)
FastAPI
A
Learn to handle cron schedule expressions
exception handling
iteration
datetime
crontab
dataclasses
A
Art thief
memoization
graph
recursion
A
Organizational chart
binary tree
depth-first search
graph traversal
A
Hedge maze
graph traversal
maze
breadth-first