MCPcopy Create free account

hub / github.com/PacktPublishing/Python_Master-the-Art-of-Design-Patterns / functions

Functions1,218 in github.com/PacktPublishing/Python_Master-the-Art-of-Design-Patterns

↓ 83 callersMethodappend
(self, integer)
Module 1/Chapter4/4_01_even_integers.py:2
↓ 26 callersMethodread
(self)
Module 3/9324OS_09_code/proxy.py:19
↓ 22 callersMethodsplit
(self, char)
Module 1/Chapter11/11_03_age_calculator_adapt_date.py:16
↓ 21 callersMethodclose
(self)
Module 1/Chapter10/10_05_gzip_decorator.py:16
↓ 17 callersMethodget
(self)
Module 2/Chapter09/tornado_ex/tornado_ex/example.py:39
↓ 16 callersMethodencode
(self, plaintext)
Module 1/Chapter12/casestudy/vigenere_cipher.py:31
↓ 15 callersMethodexecute
(self)
Module 1/Chapter11/11_11_window_command_commands.py:44
↓ 15 callersMethodupdate
(self)
Module 1/Chapter8/8_25_state_pickling.py:12
↓ 14 callersFunctionget_valid_input
(input_string, valid_options)
Module 1/Chapter3/final_case_study.py:23
↓ 13 callersMethodadd
(self, user)
Module 3/9324OS_09_code/proxy.py:22
↓ 13 callersMethoditems
(self)
Module 1/Chapter6/6_16_dictsorted.py:25
↓ 13 callersMethodsend
(self, data)
Module 1/Chapter10/10_05_gzip_decorator.py:9
↓ 11 callersMethodopen
(self)
Module 3/9324OS_12_code/interpreter.py:10
↓ 10 callersMethodcall_after
(self, delay, callback)
Module 1/Chapter7/timer.py:16
↓ 10 callersMethodprompt_init
()
Module 1/Chapter3/final_case_study.py:79
↓ 10 callersMethodremove
(self, observer)
Module 3/9324OS_13_code/observer.py:11
↓ 9 callersMethodstart
(self)
Module 1/Chapter10/10_15_xml_states.py:78
↓ 8 callersMethodload
(self)
Module 1/Chapter7/mailing_list.py:56
↓ 7 callersMethodchange
(self, state)
Module 2/Chapter10/state_computer.py:40
↓ 7 callersMethoddecode
(self, ciphertext)
Module 1/Chapter12/casestudy/vigenere_cipher.py:34
↓ 7 callersFunctiontransition
(process, event, event_name)
Module 3/9324OS_14_code/state.py:47
↓ 7 callersFunctiontransition
(process, event, event_name)
Module 3/9324OS_14_code/old/state.py:47
↓ 6 callersMethodend
(self)
Module 1/Chapter5/Document.py:46
↓ 6 callersMethodmain
(self)
Module 2/Chapter08/template_simple.py:33
↓ 6 callersFunctionstate_info
(process)
Module 3/9324OS_14_code/state.py:53
↓ 6 callersFunctionstate_info
(process)
Module 3/9324OS_14_code/old/state.py:53
↓ 5 callersFunction_execute
Method to run query on sqlite db
Module 2/Chapter09/tornado_ex/tornado_ex/example.py:8
↓ 5 callersMethodaddSections
(self, section)
Module 2/Chapter03/factory_method.py:50
↓ 5 callersFunctionformat_time
(message, *args)
Module 1/Chapter7/7_26_timer_test.py:4
↓ 5 callersMethodrender
(self, age, x, y)
Module 3/9324OS_07_code/flyweight.py:17
↓ 5 callersMethodsearch
Return all contacts that contain the search value in their name.
Module 1/Chapter3/3_04_contact_list_inheritance.py:2
↓ 4 callersMethod__init__
(self, num_stories='', garage='', fenced='', **kwargs)
Module 1/Chapter3/final_case_study.py:65
↓ 4 callersMethodadd
(self, observer)
Module 3/9324OS_13_code/observer.py:5
↓ 4 callersMethodconnect
(self)
Module 1/Chapter10/10_21_template_concretes.py:4
↓ 4 callersMethoddisplay
(self)
Module 1/Chapter3/final_case_study.py:72
↓ 4 callersMethodkeys
(self)
Module 1/Chapter6/6_16_dictsorted.py:19
↓ 4 callersMethodmedian
(self)
Module 1/Chapter12/stats.py:7
↓ 4 callersMethodmode
(self)
Module 1/Chapter12/stats.py:14
↓ 4 callersMethodprompt_init
()
Module 1/Chapter3/3_25_remaining_subclasses.py:16
↓ 4 callersMethodrun
(self)
Module 1/Chapter7/timer.py:22
↓ 4 callersMethodsetdefault
(self, key, value)
Module 1/Chapter6/6_16_dictsorted.py:14
↓ 4 callersFunctiontraverse
(graph, start, end, action)
Module 3/9324OS_16_code/old/graph-template.py:1
↓ 3 callersMethodadd
(self, observer)
Module 3/9324OS_13_code/old/observer.py:5
↓ 3 callersMethodattach
(self, subscriber)
Module 2/Chapter06/observer_news_agency.py:9
↓ 3 callersMethodcollect_links
(self)
Module 1/Chapter6/link_collector.py:15
↓ 3 callersMethodcommand
(self, cmd)
Module 2/Chapter07/command_sample.py:26
↓ 3 callersMethodconnect
(self)
Module 2/Chapter02/real_world_scenario_1.py:16
↓ 3 callersFunctionconnect_to
(filepath)
Module 3/9324OS_01_code/factory_method.py:31
↓ 3 callersFunctionconnect_to
(filepath)
Module 3/9324OS_01_code/old/factory_method.py:31
↓ 3 callersMethoddisplay
(self)
Module 1/Chapter3/3_22_house.py:12
↓ 3 callersMethodextend_keyword
(self, number)
Module 1/Chapter12/casestudy/vigenere_cipher.py:19
↓ 3 callersFunctionfunny_division
(anumber)
Module 1/Chapter4/4_05_catch_specific_exception.py:1
↓ 3 callersMethodgetNews
(self)
Module 2/Chapter06/observer_news_agency.py:25
↓ 3 callersMethodhandle
(self, event)
Module 3/9324OS_10_code/chain.py:12
↓ 3 callersMethodhandle
(self, event)
Module 3/9324OS_10_code/old/chain.py:12
↓ 3 callersFunctionlog_calls
(func)
Module 1/Chapter10/10_09_logging_decorator.py:2
↓ 3 callersMethodmean
(self)
Module 1/Chapter12/stats.py:4
↓ 3 callersFunctionprint_verbose
print the message only if verbose is enabled
Module 1/Chapter7/7_22_all_arguments.py:8
↓ 3 callersMethodquit
(self)
Module 1/Chapter4/4_20_test_auth.py:56
↓ 3 callersMethodrender
(self, age)
Module 3/9324OS_07_code/old/flyweight.py:17
↓ 3 callersMethodupdate
(self, data)
Module 2/Chapter09/mvc_uml.py:10
↓ 3 callersMethodvalues
(self)
Module 1/Chapter6/6_16_dictsorted.py:22
↓ 2 callersMethodHandle
(self)
Module 2/Chapter10/state_structural.py:8
↓ 2 callersMethod__init__
(self, phone='', **kwargs)
Module 1/Chapter3/3_15_friend_multi_super.py:19
↓ 2 callersMethod_code
(self, text, combine_func)
Module 1/Chapter12/casestudy/vigenere_cipher.py:23
↓ 2 callersMethod_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/4_17_authenticator.py:11
↓ 2 callersMethod_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/auth.py:11
↓ 2 callersMethod_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/4_19_authorizor.py:11
↓ 2 callersMethod_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/4_16_auth_user.py:11
↓ 2 callersMethod_encrypt_pw
Encrypt the password with the username and return the sha digest.
Module 1/Chapter4/4_18_login.py:11
↓ 2 callersMethod_str_date
(self, date)
Module 1/Chapter11/11_02_age_calculator_adapted.py:15
↓ 2 callersMethod_update_observers
(self)
Module 1/Chapter10/10_11_observer_core.py:26
↓ 2 callersMethod_update_observers
(self)
Module 1/Chapter10/10_12_observer_observing.py:26
↓ 2 callersMethodaction
(self)
Module 3/9324OS_01_code/abstract_factory.py:15
↓ 2 callersMethodaction
(self)
Module 3/9324OS_01_code/old/abstract_factory.py:15
↓ 2 callersMethodaddNews
(self, news)
Module 2/Chapter06/observer_news_agency.py:22
↓ 2 callersMethodadd_permission
Create a new permission that users can be added to
Module 1/Chapter4/auth.py:86
↓ 2 callersMethodadvance_color
(self)
Module 1/Chapter9/kivy_color_checker/main.py:25
↓ 2 callersFunctionanother_function
(function)
Module 1/Chapter7/7_24_function_object.py:9
↓ 2 callersFunctionbfs
(graph, start, end)
Module 3/9324OS_16_code/old/graph.py:1
↓ 2 callersMethodcall_me
(self)
Module 1/Chapter3/3_12_contrived_diamond.py:23
↓ 2 callersMethodcall_me
(self)
Module 1/Chapter3/3_14_contrived_diamond_super.py:23
↓ 2 callersMethodchange_status
(self, flight, status)
Module 1/Chapter12/12_16_mock_flightstatus.py:10
↓ 2 callersMethodclose
(self)
Module 1/Chapter10/10_04_logging_decorator.py:12
↓ 2 callersFunctioncolor_distance
(color1, color2)
Module 1/Chapter9/9_25_knearest.py:20
↓ 2 callersFunctioncombine_character
(plain, keyword)
Module 1/Chapter12/casestudy/vigenere_cipher.py:1
↓ 2 callersFunctiondfs
(graph, start, end)
Module 3/9324OS_16_code/old/graph.py:16
↓ 2 callersFunctiondivide_with_exception
(number, divisor)
Module 1/Chapter4/4_13_branching_vs_exceptions.py:1
↓ 2 callersFunctiondivide_with_if
(number, divisor)
Module 1/Chapter4/4_13_branching_vs_exceptions.py:8
↓ 2 callersMethoddoThis
(self)
Module 2/Chapter10/state_sample.py:8
↓ 2 callersMethoddo_pay
(self)
Module 2/Chapter05/proxy_card.py:28
↓ 2 callersMethodemails_in_groups
(self, *groups)
Module 1/Chapter7/mailing_list.py:35
↓ 2 callersMethodexecute
(self)
Module 2/Chapter07/command_sample.py:8
↓ 2 callersMethodexecute
(self)
Module 2/Chapter07/command_stocks.py:8
↓ 2 callersMethodexecute
(self)
Module 3/9324OS_11_code/command.py:36
↓ 2 callersMethodexecute
(self)
Module 3/9324OS_11_code/old/command.py:36
↓ 2 callersMethodextend_keyword
(self, number)
Module 1/Chapter12/casestudy/vigenere_cipher1.py:19
↓ 2 callersFunctionformat_time
(message, *args)
Module 1/Chapter7/7_28_callable_repeat.py:4
↓ 2 callersFunctionfunky_function
(number=number)
Module 1/Chapter7/7_18_bad_kw_default.py:2
↓ 2 callersMethodgetInstance
(cls)
Module 2/Chapter02/lazy_instantiation.py:14
next →1–100 of 1,218, ranked by callers