Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrinank-Bhowmick/python-beginner-projects
/ functions
Functions
1,516 in github.com/Mrinank-Bhowmick/python-beginner-projects
⨍
Functions
1,516
◇
Types & classes
196
↳
Endpoints
40
↓ 4 callers
Function
last_name_picker
()
projects/TennisTournamentSim/main.py:47
↓ 4 callers
Function
last_name_picker
()
web/public/playground/tennistournamentsim.py:47
↓ 4 callers
Method
load_items
Loads items from the database and populates the table.
projects/Expense-Tracker/gui_widgets.py:114
↓ 4 callers
Function
makeMove
(board, letter, move)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:45
↓ 4 callers
Method
place_food
Randomly places the food on the screen.
projects/Snake Game/src/game.py:89
↓ 4 callers
Method
print_board
Prints a game board and it's states.
projects/Battleship/battleship_v2/board.py:171
↓ 4 callers
Method
run
(self)
projects/Speed-Type-test/Speed Typing Test Python/speed typing.py:91
↓ 4 callers
Function
school_name_picker
()
projects/TennisTournamentSim/main.py:54
↓ 4 callers
Function
school_name_picker
()
web/public/playground/tennistournamentsim.py:55
↓ 4 callers
Method
shuffle
(self)
projects/BlackJack/black_jack.py:58
↓ 4 callers
Function
table
()
projects/CRUD-with-postgresql/main.py:102
↓ 4 callers
Function
test_ip
(ip: str)
projects/IP Blacklist Checker/blacklist_checker.py:16
↓ 4 callers
Method
update_high_score
Updates the high score in the JSON file if the new score is greater than the current high score.
projects/Snake Game/src/game.py:139
↓ 4 callers
Function
user_turn
(player_score, player_wickets, player_choice, over)
projects/HandCricket/main.py:93
↓ 4 callers
Function
user_turn
(player_score, player_wickets, player_choice, over)
web/public/playground/handcricket.py:97
↓ 4 callers
Function
writeToJSON
(data)
projects/goodreads-quotes-scraper/goodreadsScrape.py:13
↓ 3 callers
Method
add_ships_to_board
Add ships to the board based on predefined ship positions.
projects/Battleship/battleship_v2/test_battleship.py:119
↓ 3 callers
Function
arithmetic_sum
(number, limit)
projects/ProjectEuler/Problem 1/p1_o.py:1
↓ 3 callers
Function
check_ace
function to check for ace and adjust its value according to the user
projects/BlackJack/black_jack.py:66
↓ 3 callers
Function
check_ace
(card)
web/public/playground/blackjack.py:74
↓ 3 callers
Function
create_ball
()
projects/PONG/main.py:268
↓ 3 callers
Method
delete_item
Deletes a single item from the database. Args: item (Item): The item to delete from the database.
projects/Expense-Tracker/item.py:308
↓ 3 callers
Method
displayInitialBoardPos
Blitting initial board position on screen
projects/Othello/src/utils/setup.py:307
↓ 3 callers
Function
draw_hand
(x, y, angle, length, width)
projects/AnalogClock/analog_clock.py:35
↓ 3 callers
Method
draw_score
(self, score)
projects/Snake Game/src/display.py:57
↓ 3 callers
Function
enter_and_verification
(lower_limit, upper_limit)
projects/Guess Number/guess_number.py:12
↓ 3 callers
Function
gameover
()
projects/car game/Game.py:210
↓ 3 callers
Method
generateValidMoves
(self, x, y, grid)
projects/Chess/main.py:36
↓ 3 callers
Method
get_items_without_subcategory
Retrieves items without a subcategory within a category. Args: category_name (str): The name of the category. R
projects/Expense-Tracker/item.py:396
↓ 3 callers
Method
get_subcategory_names
Retrieves unique subcategory names within a category from the database. Args: category_name (str): The name of the categ
projects/Expense-Tracker/item.py:448
↓ 3 callers
Method
is_ship_overlap
Checks if the ship overlaps with another ship. Args: other (Ship): The other ship to check for overlap. Returns
projects/Battleship/battleship_v2/ship.py:81
↓ 3 callers
Function
iscollision
(car1X, car1Y, maincarX, maincarY)
projects/car game/Game.py:352
↓ 3 callers
Function
load_lottieurl
(url: str)
projects/Diabetes Monitoring Dashboard/webApp.py:13
↓ 3 callers
Function
lowerCaseLetters
(password)
projects/Password Projects/Password Meter/meter_pass.py:29
↓ 3 callers
Function
new_game
()
projects/Battleship/main.py:7
↓ 3 callers
Function
new_game
()
web/public/playground/battleship.py:13
↓ 3 callers
Function
numbers
(password)
projects/Password Projects/Password Meter/meter_pass.py:41
↓ 3 callers
Function
onResize
()
web/src/components/Playground.tsx:281
↓ 3 callers
Method
play_again
Asks the user to play again or quit the game.
projects/Snake Game/src/game.py:111
↓ 3 callers
Method
play_step
Executes one step through the game.
projects/Snake Game/src/game.py:74
↓ 3 callers
Function
print_board
(board)
projects/Battleship/main.py:40
↓ 3 callers
Function
print_board
(bo)
projects/Sudoku_solver/main.py:64
↓ 3 callers
Function
print_board
(board)
web/public/playground/battleship.py:49
↓ 3 callers
Function
print_board
(bo)
web/public/playground/sudoku-solver.py:45
↓ 3 callers
Method
redraw
( self, keys, wrong, time, )
projects/Sudoku-Solver/SudokuGUI.py:86
↓ 3 callers
Method
render_play_again
(self)
projects/Snake Game/src/display.py:72
↓ 3 callers
Method
run_game
(self)
projects/PONG/main.py:136
↓ 3 callers
Function
show
()
web/public/playground/tictactoe.py:16
↓ 3 callers
Function
slugify
(s)
web/scripts/gen-catalog.mjs:130
↓ 3 callers
Function
solve
Solves the Sudoku board via the backtracking algorithm
projects/Sudoku-Solver/sudokutools.py:61
↓ 3 callers
Function
symbols
(password)
projects/Password Projects/Password Meter/meter_pass.py:50
↓ 3 callers
Function
update_balance
Calculates and displays the current balance based on income and expenses.
projects/Budget-manager/main.py:88
↓ 3 callers
Function
update_transaction_list
Updates the displayed transaction list based on the database entries.
projects/Budget-manager/main.py:76
↓ 3 callers
Function
upperCaseLetters
(password)
projects/Password Projects/Password Meter/meter_pass.py:17
↓ 3 callers
Method
upsert_item
Inserts or updates an item in the database. Args: item (Item): The item to insert or update in the database.
projects/Expense-Tracker/item.py:287
↓ 3 callers
Function
valid
Whether a number is valid in that cell, returns a bool
projects/Sudoku-Solver/sudokutools.py:32
↓ 2 callers
Method
Bishop
(self, x, y, grid)
projects/Chess/main.py:129
↓ 2 callers
Function
LLMPromptTemplate
(Question, choice)
projects/Gpt-And-Langchain/chatbot.py:38
↓ 2 callers
Method
Rook
(self, x, y, grid)
projects/Chess/main.py:93
↓ 2 callers
Method
__init__
(self)
projects/Minecraft-in-Python-main/Minecraft-in-Python-main/UrsaCraft_video.py:75
↓ 2 callers
Method
_create_empty_board
Creates an empty board.
projects/Battleship/battleship_v2/board.py:163
↓ 2 callers
Method
_create_item
Creates an item from input. Args: inp_item (List[str|int|float]): List representing an item.
projects/Expense-Tracker/app.py:338
↓ 2 callers
Method
_generateCipherDStore
(self)
projects/CustomEncryptionDecryption/script.py:63
↓ 2 callers
Method
_getCipherEStore
(self)
projects/CustomEncryptionDecryption/script.py:54
↓ 2 callers
Function
_news
(data, toget, unique)
projects/reddit-scraper/grabnews.py:23
↓ 2 callers
Function
animate_result_label
()
projects/Type Racer Game/type_racer.py:114
↓ 2 callers
Method
attack_prompt
Prompt the user to input coordinates for an attack on the game board. Args: board_size (int): Size of the game board.
projects/Battleship/battleship_v2/utils.py:211
↓ 2 callers
Function
catalogFolderUrl
(p: CatalogProject)
web/src/lib/catalog.ts:17
↓ 2 callers
Function
check_for_win
(board, player)
projects/TicTacToe-TylerPear/main.py:107
↓ 2 callers
Function
check_for_win
(board, player)
web/public/playground/tictactoe-tylerpear.py:116
↓ 2 callers
Function
chooseRandomMoveFromList
(board, movesList)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:83
↓ 2 callers
Function
choose_difficulty
()
projects/Hangman/main.py:127
↓ 2 callers
Function
clamp
(v: number, lo: number, hi: number)
web/src/components/Playground.tsx:97
↓ 2 callers
Method
collision_box
(self)
projects/Space Shooter/main.py:271
↓ 2 callers
Function
compPLAY
()
projects/Tic-Tac-Toe/TicTacToe-GUI/oneplayermode.py:103
↓ 2 callers
Function
compPLAY
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:216
↓ 2 callers
Function
connect
()
projects/reddit-scraper/grabnews.py:66
↓ 2 callers
Function
consecutiveLowerCase
(password)
projects/Password Projects/Password Meter/meter_pass.py:132
↓ 2 callers
Function
consecutiveNumbers
(password)
projects/Password Projects/Password Meter/meter_pass.py:159
↓ 2 callers
Function
consecutiveUpperCase
(password)
projects/Password Projects/Password Meter/meter_pass.py:148
↓ 2 callers
Method
constrain
(self)
projects/PONG/main.py:51
↓ 2 callers
Method
convert
(self, from_currency, to_currency, amount)
projects/currency converter/currency converter.py:12
↓ 2 callers
Function
convertToMilliseconds
(time)
projects/Subtitle_synchronizer.py/main.py:1
↓ 2 callers
Function
convertToTime
(milliseconds)
projects/Subtitle_synchronizer.py/main.py:19
↓ 2 callers
Function
count_consonants
Count the number of consonants in the given name. Args: name(str): The name to count consonants in. Return: consonant_l
projects/love-calculator/Love Calculator.py:30
↓ 2 callers
Function
count_consonants
(name)
web/public/playground/love-calculator.py:25
↓ 2 callers
Function
count_vowels
Count the number of vowels in the given name. Args: name(str): The name to count vowels in. Return: vowel_count(int): T
projects/love-calculator/Love Calculator.py:8
↓ 2 callers
Function
count_vowels
(name)
web/public/playground/love-calculator.py:11
↓ 2 callers
Function
countdown
()
projects/car game/Game.py:133
↓ 2 callers
Function
dalle2
(prompt: str, size: str)
projects/Chat-GPT-Discord-Bot/Chat_GPT_Function.py:40
↓ 2 callers
Function
dalle3
(prompt: str, quality: str, size: str, style: str)
projects/Chat-GPT-Discord-Bot/Chat_GPT_Function.py:26
↓ 2 callers
Method
delete_items
Deletes items from the database based on a query. Args: cond (Query): The query used to filter items for deletion.
projects/Expense-Tracker/item.py:298
↓ 2 callers
Method
display
( self, value, position, color, )
projects/Sudoku-Solver/SudokuGUI.py:184
↓ 2 callers
Method
displayDiscs
Display all the dics present on the game board
projects/Othello/src/utils/setup.py:161
↓ 2 callers
Function
displayInventory
Displays how much of what a player has in inventory Args: inventory (dict): Inventory containing items and their counts Returns:
projects/fantasy-game-inventory/game-inventory.py:1
↓ 2 callers
Function
displayInventory
(inventory)
web/public/playground/fantasy-game-inventory.py:5
↓ 2 callers
Method
displayLegalMoves
Display all the possible legal moves for the player with the current turn.
projects/Othello/src/utils/setup.py:201
↓ 2 callers
Method
display_winner
(self, winner)
projects/Card Game/card.py:92
↓ 2 callers
Method
display_winner
(self, winner)
web/public/playground/card-game.py:105
↓ 2 callers
Method
drawBlackDisc
(self, coords: tuple[int, int], radius: int, radius_diff: int)
projects/Othello/src/utils/setup.py:91
← previous
next →
101–200 of 1,516, ranked by callers