MCPcopy Create free account

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

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

↓ 2 callersFunctionstart_v
()
web/public/playground/subnetting-flsm.py:5
↓ 2 callersFunctionsubmit_score
()
projects/Type Racer Game/type_racer.py:92
↓ 2 callersFunctionsynchronize
(time, shift)
projects/Subtitle_synchronizer.py/main.py:14
↓ 2 callersFunctiontakeCommand
()
projects/JARVIS.PY/JARVIS2.0.py:36
↓ 2 callersFunctiontieChecker
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:131
↓ 2 callersMethodto_dataframe
Converts a list of items to a pandas DataFrame. Args: items (List[Item]): The list of items to convert. Returns
projects/Expense-Tracker/expense_income_stats.py:175
↓ 2 callersMethodto_serializable_dict
Returns a dictionary representation of the Item object suitable for JSON serialization. Returns: dict: Dictionary repres
projects/Expense-Tracker/item.py:200
↓ 2 callersFunctiontoggleBm
(id: string)
web/src/components/Home.tsx:52
↓ 2 callersMethodupdate_ui
Updates the UI with the current game state. Args: snake (Snake): The snake object that contains the snake body (Snake.blocks).
projects/Snake Game/src/display.py:17
↓ 2 callersFunctionwinner
()
web/public/playground/tictactoe.py:30
↓ 2 callersFunctionwinning_move
(board, piece)
projects/Connect Four/main.py:38
↓ 1 callersFunctionABOUT
(x, y)
projects/car game/Game.py:62
↓ 1 callersMethodBMIcalculator
(Height, Mass)
projects/BMI WebApp/main.py:6
↓ 1 callersFunctionInstruction
(x, y)
projects/car game/Game.py:67
↓ 1 callersMethodKing
(self, x, y, grid)
projects/Chess/main.py:57
↓ 1 callersMethodKnight
(self, x, y, grid)
projects/Chess/main.py:177
↓ 1 callersFunctionListen
()
projects/Voice-to-Text/main.py:6
↓ 1 callersMethodPawn
(self, x, y, grid)
projects/Chess/main.py:228
↓ 1 callersFunctionQA
(query)
projects/PDF_Reader/PDF_Reader.py:50
↓ 1 callersMethodQueen
(self, x, y, grid)
projects/Chess/main.py:85
↓ 1 callersFunctionSHA256
(text)
projects/Bitcoin Mining/mine.py:11
↓ 1 callersFunctionSHA256
(text)
web/public/playground/bitcoin-mining.py:13
↓ 1 callersMethod__generateSecureText
(self)
projects/CustomEncryptionDecryption/script.py:71
↓ 1 callersMethod__init__
Initialize the game with the given parameters. Args: board_size (int): The size of the game board. player_1_
projects/Battleship/battleship_v2/game.py:16
↓ 1 callersMethod__init__
(self)
projects/Minecraft-in-Python-main/Minecraft-in-Python-main/ursina_intro.py:6
↓ 1 callersMethod__new__
(cls)
projects/Neurons/main.py:24
↓ 1 callersMethod__new__
(cls)
web/public/playground/neurons.py:25
↓ 1 callersMethod_check_code_style
(self, code)
projects/Code_Reviewer/code_reviewer.py:56
↓ 1 callersMethod_check_comments
(self, code)
projects/Code_Reviewer/code_reviewer.py:62
↓ 1 callersMethod_check_indentation
(self, tree)
projects/Code_Reviewer/code_reviewer.py:32
↓ 1 callersMethod_check_ship_coordinates
Checks if the ship's coordinates are valid. Raises: InvalidShipCoordinateException: If the ship's coordinates are invali
projects/Battleship/battleship_v2/ship.py:101
↓ 1 callersMethod_check_undefined_vars
(self, tree)
projects/Code_Reviewer/code_reviewer.py:45
↓ 1 callersMethod_create_item_from_form
Creates an item from the form.
projects/Expense-Tracker/app.py:374
↓ 1 callersMethod_decryptText
(self, encryptedText)
projects/CustomEncryptionDecryption/script.py:24
↓ 1 callersMethod_encryptText
(self, text)
projects/CustomEncryptionDecryption/script.py:16
↓ 1 callersMethod_generateCipherEStore
(self)
projects/CustomEncryptionDecryption/script.py:67
↓ 1 callersMethod_generateCipherText
(self)
projects/CustomEncryptionDecryption/script.py:33
↓ 1 callersMethod_getCipherDStore
(self)
projects/CustomEncryptionDecryption/script.py:57
↓ 1 callersMethod_is_cell_occupied
Returns True if a cell is occupied by another ship, otherwise False.
projects/Battleship/battleship_v2/board.py:222
↓ 1 callersMethod_setCipherEStote
(self, cipherEstore)
projects/CustomEncryptionDecryption/script.py:60
↓ 1 callersMethod_set_player_moves
Set player moves.
projects/Battleship/battleship_v2/test_battleship.py:298
↓ 1 callersMethod_setup_place_ships
Helper method to place ships for both players.
projects/Battleship/battleship_v2/test_battleship.py:275
↓ 1 callersMethod_verifyCipherText
(self, cipherText='')
projects/CustomEncryptionDecryption/script.py:41
↓ 1 callersFunctionaboutIMG
(x, y)
projects/car game/Game.py:46
↓ 1 callersMethodactive
(self)
projects/Minecraft-in-Python-main/Minecraft-in-Python-main/UrsaCraft_video.py:96
↓ 1 callersFunctionaddGlider
adds a glider with top left cell at (i, j)
projects/Conway’s-Game-Of-Life/Conway’s-Game-Of-Life.py:18
↓ 1 callersFunctionaddGlider
adds a glider with top left cell at (i, j)
projects/Conway’s-Game-Of-Life/conwaygame.py:18
↓ 1 callersFunctionaddGosperGliderGun
adds a Gosper Glider Gun with top left cell at (i, j)
projects/Conway’s-Game-Of-Life/Conway’s-Game-Of-Life.py:24
↓ 1 callersFunctionaddGosperGliderGun
adds a Gosper Glider Gun with top left cell at (i, j)
projects/Conway’s-Game-Of-Life/conwaygame.py:24
↓ 1 callersFunctionaddToInventory
Add Items to inventory Args: inventory (dict): Inventory containing items and their counts addedItems (list): Items to add to inv
projects/fantasy-game-inventory/game-inventory.py:20
↓ 1 callersFunctionaddToInventory
(inventory, addedItems)
web/public/playground/fantasy-game-inventory.py:18
↓ 1 callersMethodadd_enemies
(self)
projects/Space Shooter/main.py:291
↓ 1 callersMethodadd_expense
(self, name, amount, category)
projects/Personal-Finance-tracker/main.py:12
↓ 1 callersMethodadd_expense
(self, name, amount, category)
web/public/playground/personal-finance-tracker.py:19
↓ 1 callersMethodadd_item
Adds an item to the database and updates the view. Args: item (Item): The item to add.
projects/Expense-Tracker/gui_widgets.py:91
↓ 1 callersFunctionadd_student
()
projects/student-management-system/Without Login System.py:28
↓ 1 callersFunctionadd_student
()
projects/student-management-system/With Login System.py:14
↓ 1 callersMethodadd_transaction
(self, transaction)
projects/Budget-manager/test_DeleteButton.py:8
↓ 1 callersFunctionadde
(message)
projects/ToDoList/to_do_list.py:93
↓ 1 callersFunctionaddition
This function asks the user to enter a series of numbers separated by spaces. It then adds all the numbers together and returns the result.
projects/Calculator/main.py:8
↓ 1 callersFunctionaddn
(message)
projects/ToDoList/to_do_list.py:89
↓ 1 callersFunctionadvice
()
projects/Advisor/advisor.py:9
↓ 1 callersFunctionallowed_file
(filename)
projects/AudioAPI/transcription.py:58
↓ 1 callersMethodalterar_registro
(self, cpf)
projects/Mongo CRUD/usuario.py:36
↓ 1 callersMethodanalyze_python_code
(self, code)
projects/Code_Reviewer/code_reviewer.py:14
↓ 1 callersMethodanalyze_python_file
(self, file_path)
projects/Code_Reviewer/code_reviewer.py:9
↓ 1 callersFunctionanimate
()
projects/Fidget Spinner Game/main.py:25
↓ 1 callersMethodassign_values_to_board
(self)
projects/minesweeper/main.py:59
↓ 1 callersMethodassign_values_to_board
(self)
web/public/playground/minesweeper.py:48
↓ 1 callersMethodattack
Attack a specific location on the opponent's board. Args: row (int): The row index of the target location. c
projects/Battleship/battleship_v2/player.py:20
↓ 1 callersFunctionautocomplete
(starting_word, training_corpus)
projects/Bigram_Autocomplete/bigram_autocomplete.py:37
↓ 1 callersFunctionautocomplete
(starting_word, training_corpus)
web/public/playground/bigram-autocomplete.py:25
↓ 1 callersFunctionavatarFor
(handle: string, size: number)
web/src/components/Home.tsx:28
↓ 1 callersFunctionaverage
This function takes space separated number series and then convert it to a list. Then calculates the average of that list of numbers.
projects/Calculator/main.py:47
↓ 1 callersMethodbackground
(self)
projects/Space Shooter/main.py:277
↓ 1 callersFunctionbake_vertex_data
Stores vertex offsets and normals in seperate image textures
projects/Blender_tools/vertex_animation.py:78
↓ 1 callersFunctionbatchDownloader
()
projects/Comics_Scraper/comicXCD_scraper.py:82
↓ 1 callersFunctionbg_image
(bg)
projects/space_battle/main.py:45
↓ 1 callersFunctionbinomial
Function to calculate the binomial coefficient. Takes two numbers as arguments, calculates the binomial coefficient using the formula n!/(k!
projects/Calculator/main.py:129
↓ 1 callersFunctionbird_animation
()
projects/Flappybird_game/main.py:48
↓ 1 callersFunctionbksps
()
projects/Scientific-Calculator/Scientific_CalC.py:61
↓ 1 callersFunctionboardReDraw
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:81
↓ 1 callersMethodboolean_prompt
Prompt the user to input a boolean value. Args: prompt_message (str): Message to prompt the user for input.
projects/Battleship/battleship_v2/utils.py:180
↓ 1 callersFunctionboot
()
web/public/pyodide-worker.js:36
↓ 1 callersMethodbuild
(self)
projects/Calculator-GUI-With-Python/app.py:9
↓ 1 callersFunctionbulletP
(x, y)
projects/space_battle/main.py:76
↓ 1 callersMethodbuttons_func
(self, event: pygame.event)
projects/Space Shooter/main.py:186
↓ 1 callersMethodbuttons_function
(self, event: pygame.event)
projects/Space Shooter/main.py:81
↓ 1 callersFunctioncalculate_bmi
Calculate BMI given height (in meters) and weight (in kilograms). Args: height (float): Height in meters. weight (float): We
projects/BMI_calculator/BMI calculator.py:20
↓ 1 callersFunctioncalculate_gpa
Calculate GPA for semester based on given number of courses and entering marks. Args: num_courses(int): Number of courses ma
projects/GPA-Calculator/GPA-Calculator.py:4
↓ 1 callersFunctioncalculate_gpa
(num_courses, marks)
web/public/playground/gpa-calculator.py:8
↓ 1 callersFunctioncalculate_loan_payment
(principal, annual_interest_rate, months)
projects/Loan Calculator/main.py:1
↓ 1 callersFunctioncalculate_loan_payment
(principal, annual_interest_rate, months)
web/public/playground/loan-calculator.py:5
↓ 1 callersFunctioncalculate_love_score
Calculate a love score based on factors between two names. Args: name1(str): First name. name2(str): Second name. Retur
projects/love-calculator/Love Calculator.py:52
↓ 1 callersFunctioncalculate_love_score
(name1, name2)
web/public/playground/love-calculator.py:39
↓ 1 callersMethodcalculate_total_expenses
(self)
projects/Personal-Finance-tracker/main.py:16
↓ 1 callersMethodcalculate_total_expenses
(self)
web/public/playground/personal-finance-tracker.py:24
↓ 1 callersFunctioncalculate_wpm
(time_taken, word_count)
projects/Type Racer Game/type_racer.py:153
↓ 1 callersFunctionchange_board
(move, board, player)
projects/TicTacToe-TylerPear/main.py:63
↓ 1 callersFunctionchange_board
(move, board, player)
web/public/playground/tictactoe-tylerpear.py:72
← previousnext →301–400 of 1,516, ranked by callers