Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BrightDaniel/alx-higher_level_programming
/ functions
Functions
748 in github.com/BrightDaniel/alx-higher_level_programming
⨍
Functions
748
◇
Types & classes
117
↓ 62 callers
Method
update
Update the Square. Args: *args (ints): New attribute values. - 1st argument represents id attribute
0x0C-python-almost_a_circle/models/square.py:31
↓ 50 callers
Method
update
Update the Rectangle. Args: *args (ints): New attribute values. - 1st argument represents id attribute
0x0C-python-almost_a_circle/models/rectangle.py:97
↓ 19 callers
Method
save_to_file
Write the JSON serialization of a list of objects to a file. Args: list_objs (list): A list of inherited Base instances.
0x0C-python-almost_a_circle/models/base.py:39
↓ 19 callers
Method
save_to_file_csv
Write the CSV serialization of a list of objects to a file. Args: list_objs (list): A list of inherited Base instances.
0x0C-python-almost_a_circle/models/base.py:96
↓ 18 callers
Method
to_json_string
Return the JSON serialization of a list of dicts. Args: list_dictionaries (list): A list of dictionaries.
0x0C-python-almost_a_circle/models/base.py:29
↓ 17 callers
Method
to_dictionary
Return the dictionary representation of the Square.
0x0C-python-almost_a_circle/models/square.py:71
↓ 11 callers
Method
area
Return the area of the Rectangle.
0x0C-python-almost_a_circle/models/rectangle.py:81
↓ 11 callers
Method
create
Return a class instantied from a dictionary of attributes. Args: **dictionary (dict): Key/value pairs of attributes to initialize.
0x0C-python-almost_a_circle/models/base.py:66
↓ 11 callers
Method
display
Print the Rectangle using the `#` character.
0x0C-python-almost_a_circle/models/rectangle.py:85
↓ 11 callers
Method
from_json_string
Return the deserialization of a JSON string. Args: json_string (str): A JSON str representation of a list of dicts. Return
0x0C-python-almost_a_circle/models/base.py:53
↓ 11 callers
Method
to_dictionary
Return the dictionary representation of a Rectangle.
0x0C-python-almost_a_circle/models/rectangle.py:142
↓ 10 callers
Method
load_from_file
Return a list of classes instantiated from a file of JSON strings. Reads from `<cls.__name__>.json`. Returns: If the file
0x0C-python-almost_a_circle/models/base.py:80
↓ 10 callers
Method
load_from_file_csv
Return a list of classes instantiated from a CSV file. Reads from `<cls.__name__>.csv`. Returns: If the file does not exis
0x0C-python-almost_a_circle/models/base.py:115
↓ 10 callers
Function
max_integer
(my_list=[])
0x03-python-data_structures/9-max_integer.py:3
↓ 6 callers
Function
find_peak
Finds the peak in a list of integers
0x10-python-network_0/tests/6-peak.py:5
↓ 6 callers
Method
integer_validator
validates that value is an integer greater than 0
0x0A-python-inheritance/11-square.py:13
↓ 5 callers
Method
capture_stdout
Captures and returns text printed to stdout. Args: rect (Rectangle): The Rectangle to print to stdout. method (str): T
0x0C-python-almost_a_circle/tests/test_models/test_rectangle.py:454
↓ 5 callers
Method
capture_stdout
Captures and returns text printed to stdout. Args: sq (Square): The Square ot print to stdout. method (str): The metho
0x0C-python-almost_a_circle/tests/test_models/test_square.py:344
↓ 3 callers
Method
area
finds area of square Returns: the area of the square
0x06-python-classes/3-square.py:23
↓ 2 callers
Method
__init__
Initialize a new Square. Args: size (int): The size of the new Square. x (int): The x coordinate of the new Square.
0x0C-python-almost_a_circle/models/square.py:11
↓ 2 callers
Method
__init__
Initialize a new Rectangle. Args: width (int): The width of the new Rectangle. height (int): The height of the new Rec
0x0C-python-almost_a_circle/models/rectangle.py:9
↓ 2 callers
Method
__str__
Return the print() and str() representation of a Square.
0x0C-python-almost_a_circle/models/square.py:80
↓ 2 callers
Method
__str__
Return the print() and str() representation of the Rectangle.
0x0C-python-almost_a_circle/models/rectangle.py:152
↓ 2 callers
Function
add
(a, b)
0x01-python-if_else_loops_functions/10-add.py:2
↓ 2 callers
Method
area
returns the area of the rectangle
0x08-python-more_classes/8-rectangle.py:63
↓ 2 callers
Method
area
returns the area of the rectangle
0x08-python-more_classes/9-rectangle.py:68
↓ 2 callers
Method
area
returns the area of the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/8-rectangle.py:63
↓ 2 callers
Method
area
returns the area of the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/9-rectangle.py:68
↓ 2 callers
Method
integer_validator
validates that value is an integer greater than 0
0x0A-python-inheritance/9-rectangle.py:13
↓ 1 callers
Function
add
(a, b)
0x12-javascript-warm_up/9-add.js:2
↓ 1 callers
Function
already_exists
check that a queen does not already exist in that y value
0x08-python-more_classes/101-nqueens.py:27
↓ 1 callers
Function
already_exists
check that a queen does not already exist in that y value
0x09-python-everything_is_object/0x08-python-more_classes/101-nqueens.py:27
↓ 1 callers
Function
clear_a
clears the answers from the point of failure on
0x08-python-more_classes/101-nqueens.py:45
↓ 1 callers
Function
clear_a
clears the answers from the point of failure on
0x09-python-everything_is_object/0x08-python-more_classes/101-nqueens.py:45
↓ 1 callers
Method
draw
Draw Rectangles and Squares using the turtle module. Args: list_rectangles (list): A list of Rectangle objects to draw.
0x0C-python-almost_a_circle/models/base.py:137
↓ 1 callers
Function
factorial
(n)
0x12-javascript-warm_up/10-factorial.js:2
↓ 1 callers
Function
listint_len
* slistint_len - Counts the number of elements in a linked list * @h: The linked list to count * * Return: Number of elements in the linked list
0x03-python-data_structures/13-is_palindrome.c:72
↓ 1 callers
Function
load_from_json_file
crate and object from a "JSON file"
0x0B-python-input_output/6-load_from_json_file.py:9
↓ 1 callers
Function
nqueens
recursive backtracking function to find the solution
0x08-python-more_classes/101-nqueens.py:50
↓ 1 callers
Function
nqueens
recursive backtracking function to find the solution
0x09-python-everything_is_object/0x08-python-more_classes/101-nqueens.py:50
↓ 1 callers
Function
printCharacters
(characters, index)
0x14-javascript-web_scraping/101-starwars_characters.js:11
↓ 1 callers
Function
print_hexn
0x04-python-more_data_structures/103-python.c:4
↓ 1 callers
Function
print_hexn
0x02-python-import_modules/0x04-python-more_data_structures/103-python.c:4
↓ 1 callers
Function
print_python_bytes
* print_python_bytes - Prints basic info about Python byte objects. * @p: A PyObject byte object. */
0x05-python-exceptions/103-python.c:48
↓ 1 callers
Function
print_python_bytes
0x04-python-more_data_structures/103-python.c:14
↓ 1 callers
Function
print_python_bytes
0x02-python-import_modules/0x04-python-more_data_structures/103-python.c:14
↓ 1 callers
Function
print_python_float
* print_python_float - Prints basic info about Python float objects. * @p: A PyObject float object. */
0x05-python-exceptions/103-python.c:85
↓ 1 callers
Function
reject
determines whether or not to reject the solution
0x08-python-more_classes/101-nqueens.py:34
↓ 1 callers
Function
reject
determines whether or not to reject the solution
0x09-python-everything_is_object/0x08-python-more_classes/101-nqueens.py:34
↓ 1 callers
Function
save_to_json_file
Object to a text file, using a JSON representation
0x0B-python-input_output/5-save_to_json_file.py:9
Method
__del__
prints a string when an instance has been deleted
0x08-python-more_classes/7-rectangle.py:19
Method
__del__
prints a string when an instance has been deleted
0x08-python-more_classes/8-rectangle.py:30
Method
__del__
prints a string when an instance has been deleted
0x08-python-more_classes/5-rectangle.py:14
Method
__del__
prints a string when an instance has been deleted
0x08-python-more_classes/6-rectangle.py:18
Method
__del__
prints a string when an instance has been deleted
0x08-python-more_classes/9-rectangle.py:35
Method
__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/7-rectangle.py:19
Method
__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/8-rectangle.py:30
Method
__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/5-rectangle.py:14
Method
__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/6-rectangle.py:18
Method
__del__
prints a string when an instance has been deleted
0x09-python-everything_is_object/0x08-python-more_classes/9-rectangle.py:35
Method
__eq__
Compare if square is equal to another by area Args: other (Square): square to compare against Returns: True or
0x06-python-classes/102-square.py:68
Method
__eq__
what was != is now ==
0x0A-python-inheritance/100-my_int.py:13
Method
__ge__
Compare if square is greater than or equal to another by area Args: other (Square): square to compare against Returns:
0x06-python-classes/102-square.py:86
Method
__gt__
Compare if square is greater than another by area Args: other (Square): square to compare against Returns: Tru
0x06-python-classes/102-square.py:95
Method
__init__
Initializes the rectangle
0x08-python-more_classes/7-rectangle.py:13
Method
__init__
Initializes the rectangle
0x08-python-more_classes/4-rectangle.py:9
Method
__init__
Initializes the rectangle
0x08-python-more_classes/1-rectangle.py:9
Method
__init__
Initializes the rectangle
0x08-python-more_classes/8-rectangle.py:24
Method
__init__
Initializes the rectangle
0x08-python-more_classes/5-rectangle.py:9
Method
__init__
Initializes the rectangle
0x08-python-more_classes/3-rectangle.py:9
Method
__init__
Initializes the rectangle
0x08-python-more_classes/6-rectangle.py:12
Method
__init__
Initializes the rectangle
0x08-python-more_classes/2-rectangle.py:9
Method
__init__
Initializes the rectangle
0x08-python-more_classes/9-rectangle.py:29
Method
__init__
Initialize a new Base. Args: id (int): The identity of the new Base.
0x0C-python-almost_a_circle/models/base.py:17
Method
__init__
Initializes a square Args: size (int): size of a side of the square Returns: None
0x06-python-classes/1-square.py:10
Method
__init__
initializes square Args: size: size of side of square
0x06-python-classes/3-square.py:8
Method
__init__
initializes the square Args: size (int): size of a side of the square Returns: None
0x06-python-classes/5-square.py:10
Method
__init__
Initialize a new Node. Args: data (int): The data of the new Node. next_node (Node): The next node of the new Node.
0x06-python-classes/100-singly_linked_list.py:9
Method
__init__
Initalize a new SinglyLinkedList.
0x06-python-classes/100-singly_linked_list.py:44
Method
__init__
Initialize a new square. Args: size (int): The size of the new square. position (int, int): The position of the new sq
0x06-python-classes/101-square.py:9
Method
__init__
Args: size: size of square
0x06-python-classes/2-square.py:8
Method
__init__
Initializes the Magic Class
0x06-python-classes/103-magic_class.py:8
Method
__init__
Initialize a new square. Args: size (int): The size of the new square. position (int, int): The position of the new sq
0x06-python-classes/6-square.py:9
Method
__init__
initializes the square Args: size (int): size of a side of the square Returns: None
0x06-python-classes/4-square.py:10
Method
__init__
initializes the square Args: size (int): size of a side of the square Returns: None
0x06-python-classes/102-square.py:10
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/7-rectangle.py:13
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/4-rectangle.py:9
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/1-rectangle.py:9
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/8-rectangle.py:24
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/5-rectangle.py:9
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/3-rectangle.py:9
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/6-rectangle.py:12
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/2-rectangle.py:9
Method
__init__
Initializes the rectangle
0x09-python-everything_is_object/0x08-python-more_classes/9-rectangle.py:29
Method
__init__
Initializes the student
0x0B-python-input_output/9-student.py:9
Method
__init__
Initialize a new Student. Args: first_name (str): The first name of the student. last_name (str): The last name of the
0x0B-python-input_output/10-student.py:8
Method
__init__
Initializes the student
0x0B-python-input_output/11-student.py:9
Method
__init__
instantiation of the square
0x0A-python-inheritance/10-square.py:11
Method
__init__
instantiation of the rectangle
0x0A-python-inheritance/11-square.py:23
Method
__init__
instantiation of the square
0x0A-python-inheritance/11-square.py:41
next →
1–100 of 748, ranked by callers