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
↓ 62 callers
Method
execute
(self)
projects/Space Shooter/main.py:106
↓ 52 callers
Method
title
(self)
projects/Skycast/skycast.py:15
↓ 43 callers
Method
update
(self)
projects/PONG/main.py:67
↓ 37 callers
Function
compCOMPLETER
(a)
projects/Tic-Tac-Toe/TicTacToe-GUI/oneplayermode.py:104
↓ 33 callers
Function
compCOMPLETER
(a)
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:219
↓ 26 callers
Method
search
Search for query or URL and play it.
projects/Qt5_YouTube/main.py:137
↓ 24 callers
Method
init
Initialize the game by setting the initial player.
projects/Battleship/battleship_v2/test_battleship.py:209
↓ 23 callers
Function
exit
()
projects/Tkinter/2.py:25
↓ 21 callers
Method
get_all_items
Retrieves all items from the database. Returns: List[Item]: A list of all items in the database.
projects/Expense-Tracker/item.py:324
↓ 19 callers
Function
click
(to_print)
projects/Scientific-Calculator/Scientific_CalC.py:11
↓ 17 callers
Method
create
Factory method to create an expense or income Item instance. Args: name (str): The name for the item. amount
projects/Expense-Tracker/item.py:73
↓ 17 callers
Function
gameCONCLUDER
()
projects/Tic-Tac-Toe/TicTacToe-GUI/oneplayermode.py:25
↓ 16 callers
Function
gameCONCLUDER
(a)
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:114
↓ 16 callers
Method
items
Retrieves all items from the database. Returns: List[Item]: A list of all items in the database.
projects/Expense-Tracker/expense_income_stats.py:27
↓ 16 callers
Method
sameColor
(self, x, y, grid)
projects/Chess/main.py:279
↓ 15 callers
Function
checklist
(step, working_bool=None, task=None)
projects/Spotify Player/main.py:60
↓ 15 callers
Method
insert_items
Inserts multiple items into the database. Args: items (List[Item]): The list of items to insert into the database.
projects/Expense-Tracker/item.py:266
↓ 15 callers
Method
new
(self)
projects/Text Editor/Small-version/txteditor.py:69
↓ 14 callers
Method
run
Start listening for key events.
projects/KbdXylo/main.py:38
↓ 14 callers
Function
speak
(audio)
projects/JARVIS.PY/JARVIS2.0.py:18
↓ 13 callers
Function
cursorChecker
(a, b)
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:64
↓ 13 callers
Method
make_current_player_attack
Make the current player's attack. Args: row (int): The row index of the attack. col (int): The column index
projects/Battleship/battleship_v2/game.py:78
↓ 13 callers
Method
move
(self, x1, y1, x2, y2)
projects/Chess/main.py:629
↓ 13 callers
Method
update
Move the tetromino down one cell
projects/Tetris Game/tetrisGame.py:115
↓ 12 callers
Function
draw
(l)
projects/Turtle_Graphics/Turtle_Graphics.py:11
↓ 11 callers
Method
create_income_item
Factory method to create an income Item instance. Args: name (str): The name for the income. amount (float):
projects/Expense-Tracker/item.py:139
↓ 10 callers
Method
all_legal_moves
Return all legal moves for the player
projects/Othello/src/utils/board.py:42
↓ 10 callers
Method
place_ship
Places a ship on the board.
projects/Battleship/battleship_v2/board.py:201
↓ 10 callers
Function
reDrawWindow
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:37
↓ 10 callers
Method
select
(self, code: int)
projects/Space Shooter/main.py:60
↓ 9 callers
Method
create_expense_item
Factory method to create an expense Item instance. Args: name (str): The name for the expense. amount (float
projects/Expense-Tracker/item.py:109
↓ 9 callers
Function
examine_move
(board, x, y, msg)
projects/TicTacToe-TylerPear/main.py:52
↓ 9 callers
Function
examine_move
(board, x, y, msg)
web/public/playground/tictactoe-tylerpear.py:60
↓ 9 callers
Function
gpt
(model: str, prompt: str, sys_prompt: str, temp: float)
projects/Chat-GPT-Discord-Bot/Chat_GPT_Function.py:10
↓ 9 callers
Function
player
(a)
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:140
↓ 8 callers
Method
get_winner
Get the winner of the game. Returns: Player | None: The winning player or None if there is no winner yet.
projects/Battleship/battleship_v2/game.py:56
↓ 8 callers
Function
judge_leap_year
(year)
projects/Calculate Age/calculate.py:6
↓ 8 callers
Function
judge_leap_year
judge the leap year. Args: year (int): To check the year. return: bool: Ture if the year is a leap year, False othe
projects/Calculate Age/src/utilize_date.py:4
↓ 8 callers
Method
show_frame
(self, cont)
projects/Tkinter/1.py:39
↓ 8 callers
Method
tick
Randomly kill or move all Neurons.
projects/Neurons/main.py:63
↓ 7 callers
Function
clear
(val)
projects/Spotify Player/main.py:119
↓ 7 callers
Function
delay_print
(s)
projects/Pokemon Battle/pokemon.py:8
↓ 7 callers
Function
delay_print
(s)
web/public/playground/pokemon-battle.py:10
↓ 7 callers
Method
display
(self)
projects/Space Shooter/main.py:28
↓ 7 callers
Function
month_days
(month, leap_year)
projects/Calculate Age/calculate.py:14
↓ 7 callers
Function
month_days
Returns the number of days in each month Args: month (int): The month 1-12. Returns: int: The number of days in the mo
projects/Calculate Age/src/utilize_date.py:19
↓ 7 callers
Function
unix_timestamp_to_localtime
Convert unix timestamp to localtime (for sunrise and sunset). Parameters: str_unix_timestamp (str): Unix timestamp (e.g., "1717715516")
projects/API Based Weather Report/Util_Functions.py:43
↓ 7 callers
Method
valid_move
Check if the piece can move to the given position
projects/Tetris Game/tetrisGame.py:72
↓ 6 callers
Function
bracket_results
(player1, player2)
projects/TennisTournamentSim/main.py:107
↓ 6 callers
Function
bracket_results
(player1, player2)
web/public/playground/tennistournamentsim.py:109
↓ 6 callers
Method
checkCoordRange
Returns true if the given parameters represent an actual cell in a 8x8 matrix
projects/Othello/src/utils/board.py:37
↓ 6 callers
Function
convert_temperature
Convert temperature in Kelvin degree to Celsius degree or Fahrenheit degree based on second parameter . Parameters: str_temperature_kelv
projects/API Based Weather Report/Util_Functions.py:76
↓ 6 callers
Method
deselect
Deselects any selected row in the table.
projects/Expense-Tracker/gui_widgets.py:108
↓ 6 callers
Function
display_menu
()
projects/student-management-system/With Login System.py:122
↓ 6 callers
Method
enemy_move
Performs an enemy's move.
projects/Battleship/battleship_v2/board.py:233
↓ 6 callers
Method
execute
(self, context)
projects/Blender_tools/mesh_morpher.py:91
↓ 6 callers
Method
fade
Fade-in surface(s) on a given screen, at the specified coordinates.
projects/Othello/src/utils/setup.py:78
↓ 6 callers
Method
get_board_for_enemy
Gets the Board States from Enemy's POV.
projects/Battleship/battleship_v2/board.py:142
↓ 6 callers
Function
gettime
()
projects/healthmanagementsystem/health.py:4
↓ 6 callers
Function
handle
(content)
projects/reddit-scraper/grabnews.py:5
↓ 6 callers
Method
hit_ship
Marks the specified cell on the ship as hit. Args: row (int): The row index of the cell to be hit. col (int)
projects/Battleship/battleship_v2/ship.py:61
↓ 6 callers
Function
isSpaceFree
(board, move)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:69
↓ 6 callers
Method
load_high_score
Loads the high score from a JSON file.
projects/Snake Game/src/game.py:130
↓ 6 callers
Function
shuffle
(s)
projects/Sudoku_solver/main.py:11
↓ 6 callers
Function
shuffle
(s)
web/public/playground/sudoku-solver.py:15
↓ 6 callers
Function
wind_degree_to_direction
Convert wind degree to wind direction. Parameters: str_wind_degree (str): Wind degree from API (0 to 360) Returns: str: Wind di
projects/API Based Weather Report/Util_Functions.py:4
↓ 5 callers
Function
checklist_helper
(task)
projects/Spotify Player/main.py:52
↓ 5 callers
Method
draw
(self)
projects/PONG/main.py:189
↓ 5 callers
Function
drawBoard
(board)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:6
↓ 5 callers
Method
draw_text
(self, screen, msg, y, fsize, color)
projects/Speed-Type-test/Speed Typing Test Python/speed typing.py:38
↓ 5 callers
Function
ip_in_bin
(octet)
projects/IPv4_Calculator-main/ipv4_calc.py:78
↓ 5 callers
Function
ip_in_bin
(octet)
web/public/playground/ipv4-calculator-main.py:85
↓ 5 callers
Method
reset_ball
(self)
projects/PONG/main.py:96
↓ 5 callers
Function
scrollTo
(id: string)
web/src/components/Home.tsx:37
↓ 5 callers
Method
text
(self)
projects/Space Shooter/main.py:40
↓ 5 callers
Method
text
(self, code: int)
projects/Space Shooter/main.py:125
↓ 5 callers
Method
to_json_str
Serializes the Item object to a JSON string. Args: *args: Additional positional arguments to pass to json.dumps().
projects/Expense-Tracker/item.py:185
↓ 5 callers
Method
traduzir_cartas
(self, cartas)
projects/Jokenpo/Jogadores.py:24
↓ 5 callers
Method
traduzir_cartas
(self, cartas)
web/public/playground/jokenpo.py:26
↓ 4 callers
Method
__init__
(self, parent, controller)
projects/Tkinter/1.py:189
↓ 4 callers
Method
__init__
(self, path, x_pos, y_pos, speed_x, speed_y, paddles)
projects/PONG/main.py:59
↓ 4 callers
Function
age_calculator
Calculate user's age in years, month, and days based on current date and print. Args: name (str): user's name. age (int)
projects/Calculate Age/src/calculate_age.py:5
↓ 4 callers
Method
clear_form
Clears the form.
projects/Expense-Tracker/app.py:235
↓ 4 callers
Method
colorBoard
(self)
projects/Chess/main.py:343
↓ 4 callers
Method
deal_one
(self)
projects/BlackJack/black_jack.py:61
↓ 4 callers
Method
deal_one
(self)
web/public/playground/blackjack.py:68
↓ 4 callers
Method
distribuir_cartas
(self)
projects/Jokenpo/Jogadores.py:17
↓ 4 callers
Method
distribuir_cartas
(self)
web/public/playground/jokenpo.py:19
↓ 4 callers
Method
draw
(self, color, thickness)
projects/Sudoku-Solver/SudokuGUI.py:181
↓ 4 callers
Function
factorial
Function to calculate the factorial of a number. Takes a number as an argument, calculates the factorial of the number, and returns the
projects/Calculator/main.py:55
↓ 4 callers
Function
first_name_picker
()
projects/TennisTournamentSim/main.py:40
↓ 4 callers
Function
first_name_picker
()
web/public/playground/tennistournamentsim.py:39
↓ 4 callers
Function
firstinitialiser
()
projects/Tic-Tac-Toe/TicTacToe-GUI/oneplayermode.py:31
↓ 4 callers
Function
firstinitialiser
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:461
↓ 4 callers
Function
getCatalogProject
(id: string)
web/src/lib/catalog.ts:12
↓ 4 callers
Function
getResponse
(reqURL)
projects/goodreads-quotes-scraper/goodreadsScrape.py:21
↓ 4 callers
Method
get_category_names
Retrieves unique category names from the database. Returns: Set[str]: A set of unique category names.
projects/Expense-Tracker/item.py:434
↓ 4 callers
Method
get_stats_expense_and_income
Calculates statistics for both expense and income items, separately. Args: items (List[Item]): The list of items to calc
projects/Expense-Tracker/expense_income_stats.py:37
↓ 4 callers
Function
isWinner
(bo, le)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:49
↓ 4 callers
Method
is_collision
Checks if the snake has collided with the boundary or with itself. Returns: bool: True if a collision is detected, False otherwis
projects/Snake Game/src/game.py:37
next →
1–100 of 1,516, ranked by callers