Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Python_Master-the-Art-of-Design-Patterns
/ functions
Functions
1,218 in github.com/PacktPublishing/Python_Master-the-Art-of-Design-Patterns
⨍
Functions
1,218
◇
Types & classes
479
↳
Endpoints
1
↓ 83 callers
Method
append
(self, integer)
Module 1/Chapter4/4_01_even_integers.py:2
↓ 26 callers
Method
read
(self)
Module 3/9324OS_09_code/proxy.py:19
↓ 22 callers
Method
split
(self, char)
Module 1/Chapter11/11_03_age_calculator_adapt_date.py:16
↓ 21 callers
Method
close
(self)
Module 1/Chapter10/10_05_gzip_decorator.py:16
↓ 17 callers
Method
get
(self)
Module 2/Chapter09/tornado_ex/tornado_ex/example.py:39
↓ 16 callers
Method
encode
(self, plaintext)
Module 1/Chapter12/casestudy/vigenere_cipher.py:31
↓ 15 callers
Method
execute
(self)
Module 1/Chapter11/11_11_window_command_commands.py:44
↓ 15 callers
Method
update
(self)
Module 1/Chapter8/8_25_state_pickling.py:12
↓ 14 callers
Function
get_valid_input
(input_string, valid_options)
Module 1/Chapter3/final_case_study.py:23
↓ 13 callers
Method
add
(self, user)
Module 3/9324OS_09_code/proxy.py:22
↓ 13 callers
Method
items
(self)
Module 1/Chapter6/6_16_dictsorted.py:25
↓ 13 callers
Method
send
(self, data)
Module 1/Chapter10/10_05_gzip_decorator.py:9
↓ 11 callers
Method
open
(self)
Module 3/9324OS_12_code/interpreter.py:10
↓ 10 callers
Method
call_after
(self, delay, callback)
Module 1/Chapter7/timer.py:16
↓ 10 callers
Method
prompt_init
()
Module 1/Chapter3/final_case_study.py:79
↓ 10 callers
Method
remove
(self, observer)
Module 3/9324OS_13_code/observer.py:11
↓ 9 callers
Method
start
(self)
Module 1/Chapter10/10_15_xml_states.py:78
↓ 8 callers
Method
load
(self)
Module 1/Chapter7/mailing_list.py:56
↓ 7 callers
Method
change
(self, state)
Module 2/Chapter10/state_computer.py:40
↓ 7 callers
Method
decode
(self, ciphertext)
Module 1/Chapter12/casestudy/vigenere_cipher.py:34
↓ 7 callers
Function
transition
(process, event, event_name)
Module 3/9324OS_14_code/state.py:47
↓ 7 callers
Function
transition
(process, event, event_name)
Module 3/9324OS_14_code/old/state.py:47
↓ 6 callers
Method
end
(self)
Module 1/Chapter5/Document.py:46
↓ 6 callers
Method
main
(self)
Module 2/Chapter08/template_simple.py:33
↓ 6 callers
Function
state_info
(process)
Module 3/9324OS_14_code/state.py:53
↓ 6 callers
Function
state_info
(process)
Module 3/9324OS_14_code/old/state.py:53
↓ 5 callers
Function
_execute
Method to run query on sqlite db
Module 2/Chapter09/tornado_ex/tornado_ex/example.py:8
↓ 5 callers
Method
addSections
(self, section)
Module 2/Chapter03/factory_method.py:50
↓ 5 callers
Function
format_time
(message, *args)
Module 1/Chapter7/7_26_timer_test.py:4
↓ 5 callers
Method
render
(self, age, x, y)
Module 3/9324OS_07_code/flyweight.py:17
↓ 5 callers
Method
search
Return all contacts that contain the search value in their name.
Module 1/Chapter3/3_04_contact_list_inheritance.py:2
↓ 4 callers
Method
__init__
(self, num_stories='', garage='', fenced='', **kwargs)
Module 1/Chapter3/final_case_study.py:65
↓ 4 callers
Method
add
(self, observer)
Module 3/9324OS_13_code/observer.py:5
↓ 4 callers
Method
connect
(self)
Module 1/Chapter10/10_21_template_concretes.py:4
↓ 4 callers
Method
display
(self)
Module 1/Chapter3/final_case_study.py:72
↓ 4 callers
Method
keys
(self)
Module 1/Chapter6/6_16_dictsorted.py:19
↓ 4 callers
Method
median
(self)
Module 1/Chapter12/stats.py:7
↓ 4 callers
Method
mode
(self)
Module 1/Chapter12/stats.py:14
↓ 4 callers
Method
prompt_init
()
Module 1/Chapter3/3_25_remaining_subclasses.py:16
↓ 4 callers
Method
run
(self)
Module 1/Chapter7/timer.py:22
↓ 4 callers
Method
setdefault
(self, key, value)
Module 1/Chapter6/6_16_dictsorted.py:14
↓ 4 callers
Function
traverse
(graph, start, end, action)
Module 3/9324OS_16_code/old/graph-template.py:1
↓ 3 callers
Method
add
(self, observer)
Module 3/9324OS_13_code/old/observer.py:5
↓ 3 callers
Method
attach
(self, subscriber)
Module 2/Chapter06/observer_news_agency.py:9
↓ 3 callers
Method
collect_links
(self)
Module 1/Chapter6/link_collector.py:15
↓ 3 callers
Method
command
(self, cmd)
Module 2/Chapter07/command_sample.py:26
↓ 3 callers
Method
connect
(self)
Module 2/Chapter02/real_world_scenario_1.py:16
↓ 3 callers
Function
connect_to
(filepath)
Module 3/9324OS_01_code/factory_method.py:31
↓ 3 callers
Function
connect_to
(filepath)
Module 3/9324OS_01_code/old/factory_method.py:31
↓ 3 callers
Method
display
(self)
Module 1/Chapter3/3_22_house.py:12
↓ 3 callers
Method
extend_keyword
(self, number)
Module 1/Chapter12/casestudy/vigenere_cipher.py:19
↓ 3 callers
Function
funny_division
(anumber)
Module 1/Chapter4/4_05_catch_specific_exception.py:1
↓ 3 callers
Method
getNews
(self)
Module 2/Chapter06/observer_news_agency.py:25
↓ 3 callers
Method
handle
(self, event)
Module 3/9324OS_10_code/chain.py:12
↓ 3 callers
Method
handle
(self, event)
Module 3/9324OS_10_code/old/chain.py:12
↓ 3 callers
Function
log_calls
(func)
Module 1/Chapter10/10_09_logging_decorator.py:2
↓ 3 callers
Method
mean
(self)
Module 1/Chapter12/stats.py:4
↓ 3 callers
Function
print_verbose
print the message only if verbose is enabled
Module 1/Chapter7/7_22_all_arguments.py:8
↓ 3 callers
Method
quit
(self)
Module 1/Chapter4/4_20_test_auth.py:56
↓ 3 callers
Method
render
(self, age)
Module 3/9324OS_07_code/old/flyweight.py:17
↓ 3 callers
Method
update
(self, data)
Module 2/Chapter09/mvc_uml.py:10
↓ 3 callers
Method
values
(self)
Module 1/Chapter6/6_16_dictsorted.py:22
↓ 2 callers
Method
Handle
(self)
Module 2/Chapter10/state_structural.py:8
↓ 2 callers
Method
__init__
(self, phone='', **kwargs)
Module 1/Chapter3/3_15_friend_multi_super.py:19
↓ 2 callers
Method
_code
(self, text, combine_func)
Module 1/Chapter12/casestudy/vigenere_cipher.py:23
↓ 2 callers
Method
_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/4_17_authenticator.py:11
↓ 2 callers
Method
_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/auth.py:11
↓ 2 callers
Method
_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/4_19_authorizor.py:11
↓ 2 callers
Method
_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/4_16_auth_user.py:11
↓ 2 callers
Method
_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/4_18_login.py:11
↓ 2 callers
Method
_str_date
(self, date)
Module 1/Chapter11/11_02_age_calculator_adapted.py:15
↓ 2 callers
Method
_update_observers
(self)
Module 1/Chapter10/10_11_observer_core.py:26
↓ 2 callers
Method
_update_observers
(self)
Module 1/Chapter10/10_12_observer_observing.py:26
↓ 2 callers
Method
action
(self)
Module 3/9324OS_01_code/abstract_factory.py:15
↓ 2 callers
Method
action
(self)
Module 3/9324OS_01_code/old/abstract_factory.py:15
↓ 2 callers
Method
addNews
(self, news)
Module 2/Chapter06/observer_news_agency.py:22
↓ 2 callers
Method
add_permission
Create a new permission that users can be added to
Module 1/Chapter4/auth.py:86
↓ 2 callers
Method
advance_color
(self)
Module 1/Chapter9/kivy_color_checker/main.py:25
↓ 2 callers
Function
another_function
(function)
Module 1/Chapter7/7_24_function_object.py:9
↓ 2 callers
Function
bfs
(graph, start, end)
Module 3/9324OS_16_code/old/graph.py:1
↓ 2 callers
Method
call_me
(self)
Module 1/Chapter3/3_12_contrived_diamond.py:23
↓ 2 callers
Method
call_me
(self)
Module 1/Chapter3/3_14_contrived_diamond_super.py:23
↓ 2 callers
Method
change_status
(self, flight, status)
Module 1/Chapter12/12_16_mock_flightstatus.py:10
↓ 2 callers
Method
close
(self)
Module 1/Chapter10/10_04_logging_decorator.py:12
↓ 2 callers
Function
color_distance
(color1, color2)
Module 1/Chapter9/9_25_knearest.py:20
↓ 2 callers
Function
combine_character
(plain, keyword)
Module 1/Chapter12/casestudy/vigenere_cipher.py:1
↓ 2 callers
Function
dfs
(graph, start, end)
Module 3/9324OS_16_code/old/graph.py:16
↓ 2 callers
Function
divide_with_exception
(number, divisor)
Module 1/Chapter4/4_13_branching_vs_exceptions.py:1
↓ 2 callers
Function
divide_with_if
(number, divisor)
Module 1/Chapter4/4_13_branching_vs_exceptions.py:8
↓ 2 callers
Method
doThis
(self)
Module 2/Chapter10/state_sample.py:8
↓ 2 callers
Method
do_pay
(self)
Module 2/Chapter05/proxy_card.py:28
↓ 2 callers
Method
emails_in_groups
(self, *groups)
Module 1/Chapter7/mailing_list.py:35
↓ 2 callers
Method
execute
(self)
Module 2/Chapter07/command_sample.py:8
↓ 2 callers
Method
execute
(self)
Module 2/Chapter07/command_stocks.py:8
↓ 2 callers
Method
execute
(self)
Module 3/9324OS_11_code/command.py:36
↓ 2 callers
Method
execute
(self)
Module 3/9324OS_11_code/old/command.py:36
↓ 2 callers
Method
extend_keyword
(self, number)
Module 1/Chapter12/casestudy/vigenere_cipher1.py:19
↓ 2 callers
Function
format_time
(message, *args)
Module 1/Chapter7/7_28_callable_repeat.py:4
↓ 2 callers
Function
funky_function
(number=number)
Module 1/Chapter7/7_18_bad_kw_default.py:2
↓ 2 callers
Method
getInstance
(cls)
Module 2/Chapter02/lazy_instantiation.py:14
next →
1–100 of 1,218, ranked by callers