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
Method
drawWhiteDisc
(self, coords: tuple[int, int], radius: int, radius_diff: int)
projects/Othello/src/utils/setup.py:98
↓ 2 callers
Function
draw_board
(board)
projects/Connect Four/main.py:84
↓ 2 callers
Method
draw_food
(self, food)
projects/Snake Game/src/display.py:48
↓ 2 callers
Method
draw_snake
(self, snake)
projects/Snake Game/src/display.py:33
↓ 2 callers
Function
drop_piece
(board, row, col, piece)
projects/Connect Four/main.py:20
↓ 2 callers
Function
dump
(endpoint, toget)
projects/reddit-scraper/grabnews.py:11
↓ 2 callers
Method
enemy_hit
(self, enemy: Enemies)
projects/Space Shooter/main.py:446
↓ 2 callers
Function
entryDisplayer
()
projects/Tic-Tac-Toe/TicTacToe-GUI/tic tac.py:89
↓ 2 callers
Method
existe_registro
(self, cpf)
projects/Mongo CRUD/usuario.py:59
↓ 2 callers
Method
extract_words
(self)
projects/QuickWordCloud/main.py:9
↓ 2 callers
Function
eye_aspect_ratio
(eye)
projects/Drowsiness Detector/main.py:26
↓ 2 callers
Function
eye_aspect_ratio
(eye)
projects/Eye Blink Detection/main.py:19
↓ 2 callers
Function
face_extractor
(img)
projects/facerecoginition/FaceCapture.py:8
↓ 2 callers
Method
finPos
(self, image, handNo=0)
projects/HandTrack/HTrackMod.py:43
↓ 2 callers
Method
findHands
(self, image, draw=True)
projects/HandTrack/HTrackMod.py:22
↓ 2 callers
Function
find_determinant
(matrix)
projects/Inverse Matrix Calculator/main.py:66
↓ 2 callers
Function
find_determinant
(matrix)
web/public/playground/inverse-matrix-calculator.py:72
↓ 2 callers
Function
find_empty
Finds an empty cell and returns its position as a tuple
projects/Sudoku-Solver/sudokutools.py:23
↓ 2 callers
Function
floatValidation
(question)
projects/Loan Calculator/main.py:35
↓ 2 callers
Function
floatValidation
(question)
web/public/playground/loan-calculator.py:41
↓ 2 callers
Function
frame_range
Return a range object with with scene's frame start, end, and step
projects/Blender_tools/vertex_animation.py:73
↓ 2 callers
Method
from_json_str
Creates an expense or income Item instance from a JSON string. Args: json_str (str): JSON string representing the item.
projects/Expense-Tracker/item.py:163
↓ 2 callers
Function
game_over
(x, y)
projects/space_battle/main.py:62
↓ 2 callers
Function
generate_column_ship_cells
Generator function to yield coordinates of ships aligned in columns. Args: board_size (int): The size of the game board. Yields
projects/Battleship/battleship_v2/utils.py:27
↓ 2 callers
Method
generate_random_ship_arrangements
Generate random ship arrangements for the opponent's board and place them.
projects/Battleship/battleship_v2/player.py:30
↓ 2 callers
Function
generate_row_ship_cells
Generator function to yield coordinates of ships aligned in rows. Args: board_size (int): The size of the game board. Yields:
projects/Battleship/battleship_v2/utils.py:8
↓ 2 callers
Function
getBoardCopy
(board)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:64
↓ 2 callers
Function
getBookmarks
()
web/src/lib/bookmarks.ts:5
↓ 2 callers
Function
getFilesWithPrefix
get all files with a certain prefix Args: folderPath (str): path to folder to search Returns:
projects/fill-gaps/fill_gaps.py:6
↓ 2 callers
Function
getNextComic
(soup)
projects/Comics_Scraper/comicXCD_scraper.py:66
↓ 2 callers
Method
get_account
Retrieves a BankAccount object based on the account number. Args: account_number (str): The account number to look up.
projects/Python Banking System/Banking.py:38
↓ 2 callers
Method
get_account
(self, account_number)
web/public/playground/python-banking-system.py:26
↓ 2 callers
Method
get_board_for_player
Gets the Board States from Player's POV.
projects/Battleship/battleship_v2/board.py:116
↓ 2 callers
Function
get_comparative_form
(adj)
projects/Adjactive_compartive_superlative/adjCS.py:36
↓ 2 callers
Function
get_coord
converts relative coordinates to pixel coordinates
projects/Seek_with_hand_track/main.py:13
↓ 2 callers
Method
get_items_by_category
Retrieves items by category name. Args: category_name (str): The name of the category. Returns: Lis
projects/Expense-Tracker/item.py:351
↓ 2 callers
Method
get_items_by_date_range
Retrieves items within a specified date range. Args: start (str): The start date of the range in "YYYY-MM-DD" format.
projects/Expense-Tracker/item.py:334
↓ 2 callers
Method
get_location_by_name
(self, location)
projects/Skycast/get_geolocation/geolocation.py:8
↓ 2 callers
Function
get_next_open_row
(board, col)
projects/Connect Four/main.py:28
↓ 2 callers
Method
get_stats_by_category
Calculates statistics for each category in the database. Returns: dict: A dictionary containing statistics for each cate
projects/Expense-Tracker/expense_income_stats.py:99
↓ 2 callers
Function
get_superlative_form
(adj)
projects/Adjactive_compartive_superlative/adjCS.py:45
↓ 2 callers
Function
get_team_stats
(url)
projects/World-Cup-Player-Comparison/main.py:37
↓ 2 callers
Function
get_word
easy_wordlist (list): list of words (strings) - for easy difficulty level medium_wordlist (list): list of words (strings) - for medium diffic
projects/Hangman/main.py:108
↓ 2 callers
Function
hangman
List of Symbolic representation of losing the tries / for wrong attempts (THE HANGMAN)
projects/Hangman/main.py:8
↓ 2 callers
Method
insert_item
Inserts a single item into the database. Args: item (Item): The item to insert into the database.
projects/Expense-Tracker/item.py:254
↓ 2 callers
Function
isBoardFull
(board)
projects/Tic-Tac-Toe/Tic-Tac-Toe-Terminal/main.py:134
↓ 2 callers
Function
is_valid_location
(board, col)
projects/Connect Four/main.py:24
↓ 2 callers
Function
isip
(ip: str)
projects/IP Blacklist Checker/blacklist_checker.py:39
↓ 2 callers
Function
judge_leap_year
(year)
web/public/playground/calculate-age.py:10
↓ 2 callers
Function
lettersOnly
(password)
projects/Password Projects/Password Meter/meter_pass.py:102
↓ 2 callers
Method
lock_piece
Lock the piece in place and create a new piece
projects/Tetris Game/tetrisGame.py:97
↓ 2 callers
Function
login
()
projects/student-management-system/With Login System.py:160
↓ 2 callers
Function
ls
(contents)
projects/Merge PDFs/main.py:8
↓ 2 callers
Function
main
()
projects/Chat Application/chatapp.py:29
↓ 2 callers
Function
main
()
projects/Tile Matching/tile_matching.py:130
↓ 2 callers
Function
middleNumberOrSymbol
(password)
projects/Password Projects/Password Meter/meter_pass.py:62
↓ 2 callers
Method
move
Moves the snake in the given direction. Args: direction (Direction): The direction to move the snake. Returns:
projects/Snake Game/src/snake.py:21
↓ 2 callers
Method
new_piece
(self)
projects/Tetris Game/tetrisGame.py:66
↓ 2 callers
Function
nl
(s: string)
web/src/components/Playground.tsx:95
↓ 2 callers
Function
numberOfCharacters
(password)
projects/Password Projects/Password Meter/meter_pass.py:12
↓ 2 callers
Function
numbersOnly
(password)
projects/Password Projects/Password Meter/meter_pass.py:117
↓ 2 callers
Method
objects
(self)
projects/Space Shooter/main.py:91
↓ 2 callers
Method
placePieces
(self)
projects/Chess/main.py:350
↓ 2 callers
Method
place_ships
Place ships for the specified player. Args: player_name (str): The name of the player. ships_coordinates (li
projects/Battleship/battleship_v2/test_battleship.py:218
↓ 2 callers
Function
play
Starts up an interactive game of Hangman. * At the start of the game, let the user know how many letters the secret_word contains an
projects/Hangman/main.py:143
↓ 2 callers
Function
play_innings
(player, overs, max_wickets)
projects/Game of Cricket/main.py:16
↓ 2 callers
Function
play_innings
(player, overs, max_wickets)
web/public/playground/game-of-cricket.py:21
↓ 2 callers
Method
player_hit
(self, collision: pygame.Rect)
projects/Space Shooter/main.py:450
↓ 2 callers
Function
print_board
(board)
projects/Connect Four/main.py:34
↓ 2 callers
Function
print_matrix
(matrix, text="")
projects/Inverse Matrix Calculator/main.py:96
↓ 2 callers
Function
print_matrix
(matrix, text="")
web/public/playground/inverse-matrix-calculator.py:104
↓ 2 callers
Method
print_player_board
Print the current battlefield situation and targets for the specified player. Args: player (Player): The player whose pe
projects/Battleship/battleship_v2/utils.py:261
↓ 2 callers
Method
prompt_name
Prompt the user to input a name. Args: prompt_message (str): Message to prompt the user for input. error_mes
projects/Battleship/battleship_v2/utils.py:154
↓ 2 callers
Function
publish
(client, msg="Hello MQTT")
projects/MQTT Client/MqttClient.py:45
↓ 2 callers
Function
raiseError
(error)
projects/Spotify Player/main.py:115
↓ 2 callers
Method
render_game_over
(self)
projects/Snake Game/src/display.py:62
↓ 2 callers
Function
requirements
(password)
projects/Password Projects/Password Meter/meter_pass.py:76
↓ 2 callers
Method
resetColor
(self)
projects/Chess/main.py:510
↓ 2 callers
Method
reset_enemies
(self, enemies: Enemies, condition: bool)
projects/Space Shooter/main.py:344
↓ 2 callers
Method
reset_game
(self)
projects/Speed-Type-test/Speed Typing Test Python/speed typing.py:141
↓ 2 callers
Function
resize_image
(image_path, size)
projects/Resize_Image/resize.py:5
↓ 2 callers
Function
restart
(x, y)
projects/space_battle/main.py:82
↓ 2 callers
Method
restart_game
Resets the state of the game.
projects/Snake Game/src/game.py:123
↓ 2 callers
Method
rm_card
(self)
projects/Card Game/card.py:64
↓ 2 callers
Method
rm_card
(self)
web/public/playground/card-game.py:73
↓ 2 callers
Function
score_display
(game_state)
projects/Flappybird_game/main.py:54
↓ 2 callers
Function
seconds_to_timestamp
Return timestamp from seconds. Include milliseconds if ms is True.
projects/Qt5_YouTube/main.py:30
↓ 2 callers
Method
select
(self, code: int)
projects/Space Shooter/main.py:167
↓ 2 callers
Method
self_collision
Checks if the snake collides with itself. Returns: bool: True if the snake collides with its body, False otherwise.
projects/Snake Game/src/snake.py:43
↓ 2 callers
Function
sequentialLetters
(password)
projects/Password Projects/Password Meter/meter_pass.py:185
↓ 2 callers
Function
sequentialNumbers
(password)
projects/Password Projects/Password Meter/meter_pass.py:170
↓ 2 callers
Function
setRail
(v: boolean)
web/src/components/PlaygroundSidebar.tsx:104
↓ 2 callers
Method
set_discs
Set the discs on the board as per the move made on the given cell
projects/Othello/src/utils/board.py:110
↓ 2 callers
Method
set_neuron
Set x, y to a Neuron.
projects/Neurons/main.py:59
↓ 2 callers
Method
set_neuron
(self, x, y)
web/public/playground/neurons.py:59
↓ 2 callers
Function
show_highscore
(x, y)
projects/car game/Game.py:203
↓ 2 callers
Function
show_score
(x, y)
projects/car game/Game.py:195
↓ 2 callers
Function
speak
(audio)
projects/Medium Article Reader/main.py:20
↓ 2 callers
Function
start_game
()
projects/Type Racer Game/type_racer.py:32
↓ 2 callers
Function
start_v
()
projects/Subnetting Flsm/subnetting_flsm.py:3
← previous
next →
201–300 of 1,516, ranked by callers