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
↓ 1 callers
Method
menu
(self)
Module 1/Chapter4/4_20_test_auth.py:59
↓ 1 callers
Function
middle
(stock, date)
Module 1/Chapter6/6_02_pass_tuple_to_function.py:2
↓ 1 callers
Method
move
(self, new_path)
Module 1/Chapter11/11_18_add_child.py:5
↓ 1 callers
Function
name_colors
(get_neighbors)
Module 1/Chapter9/case_study_machine_learn.py:41
↓ 1 callers
Function
nearest_neighbors
(model_colors, num_neighbors)
Module 1/Chapter9/case_study_machine_learn.py:29
↓ 1 callers
Function
nearest_neighbors
(model_colors, num_neighbors)
Module 1/Chapter9/9_25_knearest.py:28
↓ 1 callers
Function
no_return
()
Module 1/Chapter4/04_03_method_calls_excepting.py:1
↓ 1 callers
Function
no_return
()
Module 1/Chapter4/4_04_try_except.py:1
↓ 1 callers
Method
normalize_url
(self, path, link)
Module 1/Chapter6/link_collector.py:35
↓ 1 callers
Method
normalize_url
(self, path, link)
Module 1/Chapter6/6_23_queue_link_collector.py:35
↓ 1 callers
Method
normalize_url
(self, path, link)
Module 1/Chapter6/6_19_visited_links_sets.py:21
↓ 1 callers
Method
normalize_url
(self, path, link)
Module 1/Chapter6/6_22_dict_link_collector.py:30
↓ 1 callers
Method
notify
(self, subject, *args)
Module 2/Chapter06/observer_example.py:21
↓ 1 callers
Method
notify
(self)
Module 3/9324OS_13_code/observer.py:17
↓ 1 callers
Method
notify
(self)
Module 3/9324OS_13_code/old/observer.py:17
↓ 1 callers
Method
notifyAll
(self, *args, **kwargs)
Module 2/Chapter06/observer_example.py:11
↓ 1 callers
Method
occupied
(self)
Module 2/Chapter05/proxy_sample.py:8
↓ 1 callers
Method
operation1
(self)
Module 2/Chapter08/template_simple.py:10
↓ 1 callers
Method
operation2
(self)
Module 2/Chapter08/template_simple.py:14
↓ 1 callers
Method
output_results
(self)
Module 1/Chapter10/10_21_template_concretes.py:21
↓ 1 callers
Method
output_results
(self)
Module 1/Chapter10/10_19_template_abstract_noimple.py:10
↓ 1 callers
Method
output_results
(self)
Module 1/Chapter10/10_20_template_abstract_implemented.py:21
↓ 1 callers
Method
overage
(self)
Module 1/Chapter4/4_12_handle_custom_exception.py:8
↓ 1 callers
Function
pairs
(seq)
Module 3/9324OS_15_code/strategy.py:7
↓ 1 callers
Function
pairs
(seq)
Module 3/9324OS_15_code/old/strategy.py:7
↓ 1 callers
Method
permit_user
Grant the given permission to the user
Module 1/Chapter4/auth.py:96
↓ 1 callers
Method
play
(self)
Module 3/9324OS_01_code/abstract_factory.py:68
↓ 1 callers
Method
play
(self)
Module 3/9324OS_01_code/old/abstract_factory.py:68
↓ 1 callers
Method
prepare
(self, VegPizza)
Module 2/Chapter03/abstract_factory.py:32
↓ 1 callers
Method
process
(self)
Module 1/Chapter8/8_29_template_processer_complete.py:20
↓ 1 callers
Method
process
(self)
Module 1/Chapter8/8_27_template_boilerplate.py:20
↓ 1 callers
Method
process
(self)
Module 1/Chapter8/8_28_template_process.py:20
↓ 1 callers
Method
process
(self, remaining_string)
Module 1/Chapter10/10_15_xml_states.py:73
↓ 1 callers
Method
process
(self, remaining_string)
Module 1/Chapter10/10_17_xml_singletonstates.py:79
↓ 1 callers
Function
process_colors
(dataset_filename="colors.csv")
Module 1/Chapter9/case_study_machine_learn.py:57
↓ 1 callers
Method
prompt_init
()
Module 1/Chapter3/3_22_house.py:19
↓ 1 callers
Method
purchase
(self, item_type)
Module 1/Chapter4/4_15_inventory_handling.py:8
↓ 1 callers
Function
random_sleep
(counter)
Module 1/Chapter13/13_07_basic_async.py:5
↓ 1 callers
Method
ready
(self)
Module 1/Chapter7/timer.py:9
↓ 1 callers
Method
ready
(self)
Module 1/Chapter7/7_25_timer.py:9
↓ 1 callers
Function
remote_sort
()
Module 1/Chapter13/13_10_async_client.py:6
↓ 1 callers
Function
respond
(client)
Module 1/Chapter10/10_04_logging_decorator.py:15
↓ 1 callers
Function
respond
(client)
Module 1/Chapter10/10_05_gzip_decorator.py:19
↓ 1 callers
Method
returnHome
(self)
Module 2/Chapter08/template_agency.py:24
↓ 1 callers
Method
run
(self)
Module 2/Chapter08/template_compiler.py:15
↓ 1 callers
Method
run
(self)
Module 3/9324OS_08_code/mvc.py:30
↓ 1 callers
Method
run
(self)
Module 3/9324OS_08_code/old/mvc.py:30
↓ 1 callers
Method
save
(self)
Module 1/Chapter5/Document.py:17
↓ 1 callers
Method
save
(self)
Module 1/Chapter11/11_13_document_command_callable.py:6
↓ 1 callers
Method
save
(self)
Module 1/Chapter11/11_11_window_command_commands.py:12
↓ 1 callers
Method
save
(self)
Module 1/Chapter11/11_09_window_commands.py:12
↓ 1 callers
Method
scale
(self, n)
Module 3/9324OS_13_code/old/test.py:16
↓ 1 callers
Method
select_quote
(self)
Module 3/9324OS_08_code/mvc.py:22
↓ 1 callers
Method
select_quote
(self)
Module 3/9324OS_08_code/old/mvc.py:22
↓ 1 callers
Method
sell
(self)
Module 2/Chapter07/command_stocks.py:16
↓ 1 callers
Method
send
(self, data)
Module 1/Chapter10/10_04_logging_decorator.py:7
↓ 1 callers
Function
separate_character
(cypher, keyword)
Module 1/Chapter12/casestudy/vigenere_cipher1.py:8
↓ 1 callers
Method
serve
(self, VegPizza)
Module 2/Chapter03/abstract_factory.py:58
↓ 1 callers
Method
setCard
(self, card)
Module 2/Chapter05/proxy_card.py:25
↓ 1 callers
Method
setCuisine
(self)
Module 2/Chapter04/facade_marriage.py:31
↓ 1 callers
Method
setFlowerRequirements
(self)
Module 2/Chapter04/facade_marriage.py:22
↓ 1 callers
Method
setMusicType
(self)
Module 2/Chapter04/facade_marriage.py:39
↓ 1 callers
Method
setState
(self, state)
Module 2/Chapter10/state_structural.py:27
↓ 1 callers
Method
setState
(self, state)
Module 2/Chapter10/state_sample.py:27
↓ 1 callers
Method
setTransport
(self)
Module 2/Chapter08/template_agency.py:8
↓ 1 callers
Method
show
(self, quote)
Module 3/9324OS_08_code/mvc.py:16
↓ 1 callers
Method
show
(self, quote)
Module 3/9324OS_08_code/old/mvc.py:16
↓ 1 callers
Method
start
(self)
Module 3/9324OS_06_code/facade.py:83
↓ 1 callers
Method
start
(self)
Module 3/9324OS_06_code/old/facade.py:83
↓ 1 callers
Method
start
(self)
Module 1/Chapter10/10_17_xml_singletonstates.py:84
↓ 1 callers
Method
switch
(self, state)
Module 2/Chapter10/state_computer.py:7
↓ 1 callers
Method
template_method
(self)
Module 2/Chapter08/template_simple.py:17
↓ 1 callers
Function
test1
(a,b,c)
Module 1/Chapter10/10_09_logging_decorator.py:13
↓ 1 callers
Function
test2
(a,b)
Module 1/Chapter10/10_09_logging_decorator.py:16
↓ 1 callers
Function
test3
(a,b)
Module 1/Chapter10/10_09_logging_decorator.py:19
↓ 1 callers
Method
unlock
(self, item_type)
Module 1/Chapter4/4_15_inventory_handling.py:5
↓ 1 callers
Method
unzip_files
(self)
Module 1/Chapter5/5_17_zipsearch.py:19
↓ 1 callers
Method
unzip_files
(self)
Module 1/Chapter5/zip_processor.py:18
↓ 1 callers
Method
unzip_files
(self)
Module 1/Chapter5/5_18_zipprocessor.py:18
↓ 1 callers
Method
update
(self)
Module 2/Chapter06/observer_news_agency.py:34
↓ 1 callers
Function
validate_style
(builders)
Module 3/9324OS_02_code/builder.py:98
↓ 1 callers
Function
walk
(file)
Module 1/Chapter9/9_19_yield_from_filesystem.py:28
↓ 1 callers
Function
warnings_filter
(insequence)
Module 1/Chapter9/9_17_log_delete_warnings_generator.py:4
↓ 1 callers
Function
warnings_filter
(infilename)
Module 1/Chapter9/9_18_log_delete_warnings_yield_from.py:5
↓ 1 callers
Method
work
(self)
Module 2/Chapter05/proxy_sample.py:24
↓ 1 callers
Function
write_results
(filename="output.csv")
Module 1/Chapter9/9_26_write_results.py:4
↓ 1 callers
Function
write_results
(filename="output.csv")
Module 1/Chapter9/case_study_machine_learn.py:49
↓ 1 callers
Function
zip_enumerate
(container)
Module 1/Chapter7/7_03.1_zip_to_enumerate.py:2
↓ 1 callers
Method
zip_files
(self)
Module 1/Chapter5/5_17_zipsearch.py:33
↓ 1 callers
Method
zip_files
(self)
Module 1/Chapter5/zip_processor.py:23
↓ 1 callers
Method
zip_files
(self)
Module 1/Chapter5/5_18_zipprocessor.py:23
↓ 1 callers
Method
zip_find_replace
(self)
Module 1/Chapter5/5_17_zipsearch.py:14
Method
Handle
(self)
Module 2/Chapter10/state_structural.py:12
Method
Handle
(self)
Module 2/Chapter10/state_structural.py:16
Method
Handle
(self)
Module 2/Chapter10/state_structural.py:30
Method
__add__
(self, num)
Module 1/Chapter6/6_15_stupid_adding_integer.py:2
Method
__call__
(cls, *args, **kwargs)
Module 2/Chapter02/real_world_scenario_1.py:8
Method
__call__
(cls, *args, **kwds)
Module 2/Chapter02/metaclass_ex.py:5
Method
__call__
(cls, *args, **kwargs)
Module 2/Chapter02/metaclass_singleton.py:6
Method
__call__
(self, timer)
Module 1/Chapter7/7_28_callable_repeat.py:11
← previous
next →
301–400 of 1,218, ranked by callers