MCPcopy Create free account

hub / github.com/Mrinank-Bhowmick/python-beginner-projects / functions

Functions1,516 in github.com/Mrinank-Bhowmick/python-beginner-projects

↓ 4 callersFunctionlast_name_picker
()
projects/TennisTournamentSim/main.py:47
↓ 4 callersFunctionlast_name_picker
()
web/public/playground/tennistournamentsim.py:47
↓ 4 callersMethodload_items
Loads items from the database and populates the table.
projects/Expense-Tracker/gui_widgets.py:114
↓ 4 callersFunctionmakeMove
(board, letter, move)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:45
↓ 4 callersMethodplace_food
Randomly places the food on the screen.
projects/Snake Game/src/game.py:89
↓ 4 callersMethodprint_board
Prints a game board and it's states.
projects/Battleship/battleship_v2/board.py:171
↓ 4 callersMethodrun
(self)
projects/Speed-Type-test/Speed Typing Test Python/speed typing.py:91
↓ 4 callersFunctionschool_name_picker
()
projects/TennisTournamentSim/main.py:54
↓ 4 callersFunctionschool_name_picker
()
web/public/playground/tennistournamentsim.py:55
↓ 4 callersMethodshuffle
(self)
projects/BlackJack/black_jack.py:58
↓ 4 callersFunctiontable
()
projects/CRUD-with-postgresql/main.py:102
↓ 4 callersFunctiontest_ip
(ip: str)
projects/IP Blacklist Checker/blacklist_checker.py:16
↓ 4 callersMethodupdate_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 callersFunctionuser_turn
(player_score, player_wickets, player_choice, over)
projects/HandCricket/main.py:93
↓ 4 callersFunctionuser_turn
(player_score, player_wickets, player_choice, over)
web/public/playground/handcricket.py:97
↓ 4 callersFunctionwriteToJSON
(data)
projects/goodreads-quotes-scraper/goodreadsScrape.py:13
↓ 3 callersMethodadd_ships_to_board
Add ships to the board based on predefined ship positions.
projects/Battleship/battleship_v2/test_battleship.py:119
↓ 3 callersFunctionarithmetic_sum
(number, limit)
projects/ProjectEuler/Problem 1/p1_o.py:1
↓ 3 callersFunctioncheck_ace
function to check for ace and adjust its value according to the user
projects/BlackJack/black_jack.py:66
↓ 3 callersFunctioncheck_ace
(card)
web/public/playground/blackjack.py:74
↓ 3 callersFunctioncreate_ball
()
projects/PONG/main.py:268
↓ 3 callersMethoddelete_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 callersMethoddisplayInitialBoardPos
Blitting initial board position on screen
projects/Othello/src/utils/setup.py:307
↓ 3 callersFunctiondraw_hand
(x, y, angle, length, width)
projects/AnalogClock/analog_clock.py:35
↓ 3 callersMethoddraw_score
(self, score)
projects/Snake Game/src/display.py:57
↓ 3 callersFunctionenter_and_verification
(lower_limit, upper_limit)
projects/Guess Number/guess_number.py:12
↓ 3 callersFunctiongameover
()
projects/car game/Game.py:210
↓ 3 callersMethodgenerateValidMoves
(self, x, y, grid)
projects/Chess/main.py:36
↓ 3 callersMethodget_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 callersMethodget_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 callersMethodis_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 callersFunctioniscollision
(car1X, car1Y, maincarX, maincarY)
projects/car game/Game.py:352
↓ 3 callersFunctionload_lottieurl
(url: str)
projects/Diabetes Monitoring Dashboard/webApp.py:13
↓ 3 callersFunctionlowerCaseLetters
(password)
projects/Password Projects/Password Meter/meter_pass.py:29
↓ 3 callersFunctionnew_game
()
projects/Battleship/main.py:7
↓ 3 callersFunctionnew_game
()
web/public/playground/battleship.py:13
↓ 3 callersFunctionnumbers
(password)
projects/Password Projects/Password Meter/meter_pass.py:41
↓ 3 callersFunctiononResize
()
web/src/components/Playground.tsx:281
↓ 3 callersMethodplay_again
Asks the user to play again or quit the game.
projects/Snake Game/src/game.py:111
↓ 3 callersMethodplay_step
Executes one step through the game.
projects/Snake Game/src/game.py:74
↓ 3 callersFunctionprint_board
(board)
projects/Battleship/main.py:40
↓ 3 callersFunctionprint_board
(bo)
projects/Sudoku_solver/main.py:64
↓ 3 callersFunctionprint_board
(board)
web/public/playground/battleship.py:49
↓ 3 callersFunctionprint_board
(bo)
web/public/playground/sudoku-solver.py:45
↓ 3 callersMethodredraw
( self, keys, wrong, time, )
projects/Sudoku-Solver/SudokuGUI.py:86
↓ 3 callersMethodrender_play_again
(self)
projects/Snake Game/src/display.py:72
↓ 3 callersMethodrun_game
(self)
projects/PONG/main.py:136
↓ 3 callersFunctionshow
()
web/public/playground/tictactoe.py:16
↓ 3 callersFunctionslugify
(s)
web/scripts/gen-catalog.mjs:130
↓ 3 callersFunctionsolve
Solves the Sudoku board via the backtracking algorithm
projects/Sudoku-Solver/sudokutools.py:61
↓ 3 callersFunctionsymbols
(password)
projects/Password Projects/Password Meter/meter_pass.py:50
↓ 3 callersFunctionupdate_balance
Calculates and displays the current balance based on income and expenses.
projects/Budget-manager/main.py:88
↓ 3 callersFunctionupdate_transaction_list
Updates the displayed transaction list based on the database entries.
projects/Budget-manager/main.py:76
↓ 3 callersFunctionupperCaseLetters
(password)
projects/Password Projects/Password Meter/meter_pass.py:17
↓ 3 callersMethodupsert_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 callersFunctionvalid
Whether a number is valid in that cell, returns a bool
projects/Sudoku-Solver/sudokutools.py:32
↓ 2 callersMethodBishop
(self, x, y, grid)
projects/Chess/main.py:129
↓ 2 callersFunctionLLMPromptTemplate
(Question, choice)
projects/Gpt-And-Langchain/chatbot.py:38
↓ 2 callersMethodRook
(self, x, y, grid)
projects/Chess/main.py:93
↓ 2 callersMethod__init__
(self)
projects/Minecraft-in-Python-main/Minecraft-in-Python-main/UrsaCraft_video.py:75
↓ 2 callersMethod_create_empty_board
Creates an empty board.
projects/Battleship/battleship_v2/board.py:163
↓ 2 callersMethod_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 callersMethod_generateCipherDStore
(self)
projects/CustomEncryptionDecryption/script.py:63
↓ 2 callersMethod_getCipherEStore
(self)
projects/CustomEncryptionDecryption/script.py:54
↓ 2 callersFunction_news
(data, toget, unique)
projects/reddit-scraper/grabnews.py:23
↓ 2 callersFunctionanimate_result_label
()
projects/Type Racer Game/type_racer.py:114
↓ 2 callersMethodattack_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 callersFunctioncatalogFolderUrl
(p: CatalogProject)
web/src/lib/catalog.ts:17
↓ 2 callersFunctioncheck_for_win
(board, player)
projects/TicTacToe-TylerPear/main.py:107
↓ 2 callersFunctioncheck_for_win
(board, player)
web/public/playground/tictactoe-tylerpear.py:116
↓ 2 callersFunctionchooseRandomMoveFromList
(board, movesList)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:83
↓ 2 callersFunctionchoose_difficulty
()
projects/Hangman/main.py:127
↓ 2 callersFunctionclamp
(v: number, lo: number, hi: number)
web/src/components/Playground.tsx:97
↓ 2 callersMethodcollision_box
(self)
projects/Space Shooter/main.py:271
↓ 2 callersFunctioncompPLAY
()
projects/Tic-Tac-Toe/TicTacToe-GUI/oneplayermode.py:103
↓ 2 callersFunctioncompPLAY
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:216
↓ 2 callersFunctionconnect
()
projects/reddit-scraper/grabnews.py:66
↓ 2 callersFunctionconsecutiveLowerCase
(password)
projects/Password Projects/Password Meter/meter_pass.py:132
↓ 2 callersFunctionconsecutiveNumbers
(password)
projects/Password Projects/Password Meter/meter_pass.py:159
↓ 2 callersFunctionconsecutiveUpperCase
(password)
projects/Password Projects/Password Meter/meter_pass.py:148
↓ 2 callersMethodconstrain
(self)
projects/PONG/main.py:51
↓ 2 callersMethodconvert
(self, from_currency, to_currency, amount)
projects/currency converter/currency converter.py:12
↓ 2 callersFunctionconvertToMilliseconds
(time)
projects/Subtitle_synchronizer.py/main.py:1
↓ 2 callersFunctionconvertToTime
(milliseconds)
projects/Subtitle_synchronizer.py/main.py:19
↓ 2 callersFunctioncount_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 callersFunctioncount_consonants
(name)
web/public/playground/love-calculator.py:25
↓ 2 callersFunctioncount_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 callersFunctioncount_vowels
(name)
web/public/playground/love-calculator.py:11
↓ 2 callersFunctioncountdown
()
projects/car game/Game.py:133
↓ 2 callersFunctiondalle2
(prompt: str, size: str)
projects/Chat-GPT-Discord-Bot/Chat_GPT_Function.py:40
↓ 2 callersFunctiondalle3
(prompt: str, quality: str, size: str, style: str)
projects/Chat-GPT-Discord-Bot/Chat_GPT_Function.py:26
↓ 2 callersMethoddelete_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 callersMethoddisplay
( self, value, position, color, )
projects/Sudoku-Solver/SudokuGUI.py:184
↓ 2 callersMethoddisplayDiscs
Display all the dics present on the game board
projects/Othello/src/utils/setup.py:161
↓ 2 callersFunctiondisplayInventory
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 callersFunctiondisplayInventory
(inventory)
web/public/playground/fantasy-game-inventory.py:5
↓ 2 callersMethoddisplayLegalMoves
Display all the possible legal moves for the player with the current turn.
projects/Othello/src/utils/setup.py:201
↓ 2 callersMethoddisplay_winner
(self, winner)
projects/Card Game/card.py:92
↓ 2 callersMethoddisplay_winner
(self, winner)
web/public/playground/card-game.py:105
↓ 2 callersMethoddrawBlackDisc
(self, coords: tuple[int, int], radius: int, radius_diff: int)
projects/Othello/src/utils/setup.py:91
← previousnext →101–200 of 1,516, ranked by callers