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
↓ 2 callers
Function
start_v
()
web/public/playground/subnetting-flsm.py:5
↓ 2 callers
Function
submit_score
()
projects/Type Racer Game/type_racer.py:92
↓ 2 callers
Function
synchronize
(time, shift)
projects/Subtitle_synchronizer.py/main.py:14
↓ 2 callers
Function
takeCommand
()
projects/JARVIS.PY/JARVIS2.0.py:36
↓ 2 callers
Function
tieChecker
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:131
↓ 2 callers
Method
to_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 callers
Method
to_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 callers
Function
toggleBm
(id: string)
web/src/components/Home.tsx:52
↓ 2 callers
Method
update_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 callers
Function
winner
()
web/public/playground/tictactoe.py:30
↓ 2 callers
Function
winning_move
(board, piece)
projects/Connect Four/main.py:38
↓ 1 callers
Function
ABOUT
(x, y)
projects/car game/Game.py:62
↓ 1 callers
Method
BMIcalculator
(Height, Mass)
projects/BMI WebApp/main.py:6
↓ 1 callers
Function
Instruction
(x, y)
projects/car game/Game.py:67
↓ 1 callers
Method
King
(self, x, y, grid)
projects/Chess/main.py:57
↓ 1 callers
Method
Knight
(self, x, y, grid)
projects/Chess/main.py:177
↓ 1 callers
Function
Listen
()
projects/Voice-to-Text/main.py:6
↓ 1 callers
Method
Pawn
(self, x, y, grid)
projects/Chess/main.py:228
↓ 1 callers
Function
QA
(query)
projects/PDF_Reader/PDF_Reader.py:50
↓ 1 callers
Method
Queen
(self, x, y, grid)
projects/Chess/main.py:85
↓ 1 callers
Function
SHA256
(text)
projects/Bitcoin Mining/mine.py:11
↓ 1 callers
Function
SHA256
(text)
web/public/playground/bitcoin-mining.py:13
↓ 1 callers
Method
__generateSecureText
(self)
projects/CustomEncryptionDecryption/script.py:71
↓ 1 callers
Method
__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 callers
Method
__init__
(self)
projects/Minecraft-in-Python-main/Minecraft-in-Python-main/ursina_intro.py:6
↓ 1 callers
Method
__new__
(cls)
projects/Neurons/main.py:24
↓ 1 callers
Method
__new__
(cls)
web/public/playground/neurons.py:25
↓ 1 callers
Method
_check_code_style
(self, code)
projects/Code_Reviewer/code_reviewer.py:56
↓ 1 callers
Method
_check_comments
(self, code)
projects/Code_Reviewer/code_reviewer.py:62
↓ 1 callers
Method
_check_indentation
(self, tree)
projects/Code_Reviewer/code_reviewer.py:32
↓ 1 callers
Method
_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 callers
Method
_check_undefined_vars
(self, tree)
projects/Code_Reviewer/code_reviewer.py:45
↓ 1 callers
Method
_create_item_from_form
Creates an item from the form.
projects/Expense-Tracker/app.py:374
↓ 1 callers
Method
_decryptText
(self, encryptedText)
projects/CustomEncryptionDecryption/script.py:24
↓ 1 callers
Method
_encryptText
(self, text)
projects/CustomEncryptionDecryption/script.py:16
↓ 1 callers
Method
_generateCipherEStore
(self)
projects/CustomEncryptionDecryption/script.py:67
↓ 1 callers
Method
_generateCipherText
(self)
projects/CustomEncryptionDecryption/script.py:33
↓ 1 callers
Method
_getCipherDStore
(self)
projects/CustomEncryptionDecryption/script.py:57
↓ 1 callers
Method
_is_cell_occupied
Returns True if a cell is occupied by another ship, otherwise False.
projects/Battleship/battleship_v2/board.py:222
↓ 1 callers
Method
_setCipherEStote
(self, cipherEstore)
projects/CustomEncryptionDecryption/script.py:60
↓ 1 callers
Method
_set_player_moves
Set player moves.
projects/Battleship/battleship_v2/test_battleship.py:298
↓ 1 callers
Method
_setup_place_ships
Helper method to place ships for both players.
projects/Battleship/battleship_v2/test_battleship.py:275
↓ 1 callers
Method
_verifyCipherText
(self, cipherText='')
projects/CustomEncryptionDecryption/script.py:41
↓ 1 callers
Function
aboutIMG
(x, y)
projects/car game/Game.py:46
↓ 1 callers
Method
active
(self)
projects/Minecraft-in-Python-main/Minecraft-in-Python-main/UrsaCraft_video.py:96
↓ 1 callers
Function
addGlider
adds a glider with top left cell at (i, j)
projects/Conway’s-Game-Of-Life/Conway’s-Game-Of-Life.py:18
↓ 1 callers
Function
addGlider
adds a glider with top left cell at (i, j)
projects/Conway’s-Game-Of-Life/conwaygame.py:18
↓ 1 callers
Function
addGosperGliderGun
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 callers
Function
addGosperGliderGun
adds a Gosper Glider Gun with top left cell at (i, j)
projects/Conway’s-Game-Of-Life/conwaygame.py:24
↓ 1 callers
Function
addToInventory
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 callers
Function
addToInventory
(inventory, addedItems)
web/public/playground/fantasy-game-inventory.py:18
↓ 1 callers
Method
add_enemies
(self)
projects/Space Shooter/main.py:291
↓ 1 callers
Method
add_expense
(self, name, amount, category)
projects/Personal-Finance-tracker/main.py:12
↓ 1 callers
Method
add_expense
(self, name, amount, category)
web/public/playground/personal-finance-tracker.py:19
↓ 1 callers
Method
add_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 callers
Function
add_student
()
projects/student-management-system/Without Login System.py:28
↓ 1 callers
Function
add_student
()
projects/student-management-system/With Login System.py:14
↓ 1 callers
Method
add_transaction
(self, transaction)
projects/Budget-manager/test_DeleteButton.py:8
↓ 1 callers
Function
adde
(message)
projects/ToDoList/to_do_list.py:93
↓ 1 callers
Function
addition
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 callers
Function
addn
(message)
projects/ToDoList/to_do_list.py:89
↓ 1 callers
Function
advice
()
projects/Advisor/advisor.py:9
↓ 1 callers
Function
allowed_file
(filename)
projects/AudioAPI/transcription.py:58
↓ 1 callers
Method
alterar_registro
(self, cpf)
projects/Mongo CRUD/usuario.py:36
↓ 1 callers
Method
analyze_python_code
(self, code)
projects/Code_Reviewer/code_reviewer.py:14
↓ 1 callers
Method
analyze_python_file
(self, file_path)
projects/Code_Reviewer/code_reviewer.py:9
↓ 1 callers
Function
animate
()
projects/Fidget Spinner Game/main.py:25
↓ 1 callers
Method
assign_values_to_board
(self)
projects/minesweeper/main.py:59
↓ 1 callers
Method
assign_values_to_board
(self)
web/public/playground/minesweeper.py:48
↓ 1 callers
Method
attack
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 callers
Function
autocomplete
(starting_word, training_corpus)
projects/Bigram_Autocomplete/bigram_autocomplete.py:37
↓ 1 callers
Function
autocomplete
(starting_word, training_corpus)
web/public/playground/bigram-autocomplete.py:25
↓ 1 callers
Function
avatarFor
(handle: string, size: number)
web/src/components/Home.tsx:28
↓ 1 callers
Function
average
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 callers
Method
background
(self)
projects/Space Shooter/main.py:277
↓ 1 callers
Function
bake_vertex_data
Stores vertex offsets and normals in seperate image textures
projects/Blender_tools/vertex_animation.py:78
↓ 1 callers
Function
batchDownloader
()
projects/Comics_Scraper/comicXCD_scraper.py:82
↓ 1 callers
Function
bg_image
(bg)
projects/space_battle/main.py:45
↓ 1 callers
Function
binomial
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 callers
Function
bird_animation
()
projects/Flappybird_game/main.py:48
↓ 1 callers
Function
bksps
()
projects/Scientific-Calculator/Scientific_CalC.py:61
↓ 1 callers
Function
boardReDraw
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:81
↓ 1 callers
Method
boolean_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 callers
Function
boot
()
web/public/pyodide-worker.js:36
↓ 1 callers
Method
build
(self)
projects/Calculator-GUI-With-Python/app.py:9
↓ 1 callers
Function
bulletP
(x, y)
projects/space_battle/main.py:76
↓ 1 callers
Method
buttons_func
(self, event: pygame.event)
projects/Space Shooter/main.py:186
↓ 1 callers
Method
buttons_function
(self, event: pygame.event)
projects/Space Shooter/main.py:81
↓ 1 callers
Function
calculate_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 callers
Function
calculate_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 callers
Function
calculate_gpa
(num_courses, marks)
web/public/playground/gpa-calculator.py:8
↓ 1 callers
Function
calculate_loan_payment
(principal, annual_interest_rate, months)
projects/Loan Calculator/main.py:1
↓ 1 callers
Function
calculate_loan_payment
(principal, annual_interest_rate, months)
web/public/playground/loan-calculator.py:5
↓ 1 callers
Function
calculate_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 callers
Function
calculate_love_score
(name1, name2)
web/public/playground/love-calculator.py:39
↓ 1 callers
Method
calculate_total_expenses
(self)
projects/Personal-Finance-tracker/main.py:16
↓ 1 callers
Method
calculate_total_expenses
(self)
web/public/playground/personal-finance-tracker.py:24
↓ 1 callers
Function
calculate_wpm
(time_taken, word_count)
projects/Type Racer Game/type_racer.py:153
↓ 1 callers
Function
change_board
(move, board, player)
projects/TicTacToe-TylerPear/main.py:63
↓ 1 callers
Function
change_board
(move, board, player)
web/public/playground/tictactoe-tylerpear.py:72
← previous
next →
301–400 of 1,516, ranked by callers