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
↓ 2 callers
Method
is_permitted
(self, permission)
Module 1/Chapter4/4_20_test_auth.py:34
↓ 2 callers
Method
itinerary
(self)
Module 2/Chapter08/template_agency.py:27
↓ 2 callers
Method
login
(self, username, password)
Module 1/Chapter4/auth.py:64
↓ 2 callers
Method
notifySubscribers
(self)
Module 2/Chapter06/observer_news_agency.py:18
↓ 2 callers
Method
placeOrder
(self, order)
Module 2/Chapter07/command_stocks.py:24
↓ 2 callers
Method
preferences
(self, command)
Module 2/Chapter07/command_wizard.py:10
↓ 2 callers
Method
prepare_dough
(self, dough)
Module 3/9324OS_02_code/builder.py:20
↓ 2 callers
Method
print
(self)
Module 1/Chapter7/7_27_add_function_to_object.py:2
↓ 2 callers
Method
process_files
Scale each image in the directory to 640x480
Module 1/Chapter5/5_20_scaleimage_inheritance.py:7
↓ 2 callers
Method
process_zip
(self)
Module 1/Chapter5/zip_processor.py:13
↓ 2 callers
Method
register
(self, observer)
Module 2/Chapter06/observer_example.py:8
↓ 2 callers
Method
remove
(self, observer)
Module 3/9324OS_13_code/old/observer.py:11
↓ 2 callers
Function
respond
(client)
Module 1/Chapter10/10_02_simple_socket.py:3
↓ 2 callers
Method
save
(self)
Module 1/Chapter7/mailing_list.py:49
↓ 2 callers
Method
schedule
(self)
Module 1/Chapter8/8_25_state_pickling.py:17
↓ 2 callers
Function
send_email
(subject, message, from_addr, *to_addrs, host="localhost", port=1025, headers=None)
Module 1/Chapter7/mailing_list.py:6
↓ 2 callers
Function
separate_character
(cypher, keyword)
Module 1/Chapter12/casestudy/vigenere_cipher.py:8
↓ 2 callers
Function
show_args
(arg1, arg2, arg3="THREE")
Module 1/Chapter7/7_23_unpacking_arguments.py:1
↓ 2 callers
Function
split_bits
(bits, width)
Module 1/Chapter13/case_study/compress_bmp.py:29
↓ 2 callers
Method
subscribers
(self)
Module 2/Chapter06/observer_news_agency.py:15
↓ 2 callers
Method
undo
(self)
Module 3/9324OS_11_code/command.py:14
↓ 2 callers
Method
undo
(self)
Module 3/9324OS_11_code/old/command.py:14
↓ 1 callers
Method
__getAccount
(self)
Module 2/Chapter05/proxy_card.py:17
↓ 1 callers
Method
__hasFunds
(self)
Module 2/Chapter05/proxy_card.py:21
↓ 1 callers
Method
__init__
(self)
Module 3/9324OS_13_code/observer.py:2
↓ 1 callers
Method
__init__
(self)
Module 3/9324OS_13_code/old/observer.py:2
↓ 1 callers
Method
__init__
(self)
Module 3/9324OS_03_code/clone.py:4
↓ 1 callers
Method
__init__
(self, furnished='', utilities='', rent='', **kwargs)
Module 1/Chapter3/3_23_purchase_and_rental.py:20
↓ 1 callers
Method
__init__
(self, name)
Module 1/Chapter9/9_19_yield_from_filesystem.py:3
↓ 1 callers
Method
__init__
Create a new user object. The password will be encrypted before storing.
Module 1/Chapter4/4_17_authenticator.py:4
↓ 1 callers
Method
__init__
Create a new user object. The password will be encrypted before storing.
Module 1/Chapter4/auth.py:4
↓ 1 callers
Method
__init__
Create a new user object. The password will be encrypted before storing.
Module 1/Chapter4/4_19_authorizor.py:4
↓ 1 callers
Method
__init__
Create a new user object. The password will be encrypted before storing.
Module 1/Chapter4/4_16_auth_user.py:4
↓ 1 callers
Method
__init__
Create a new user object. The password will be encrypted before storing.
Module 1/Chapter4/4_18_login.py:4
↓ 1 callers
Method
__init__
(self, name, contents)
Module 1/Chapter11/11_17_component_hierarchy.py:26
↓ 1 callers
Method
__init__
(self, name, contents)
Module 1/Chapter11/11_18_add_child.py:27
↓ 1 callers
Method
__isAvailable
(self)
Module 2/Chapter04/facade_marriage.py:8
↓ 1 callers
Method
action
(self)
Module 2/Chapter07/command_sample.py:21
↓ 1 callers
Method
addServer
(self)
Module 2/Chapter02/real_world_scenario_2.py:14
↓ 1 callers
Method
add_extra_cheese
(self)
Module 3/9324OS_02_code/fluent_builder.py:22
↓ 1 callers
Method
add_garlic
(self)
Module 3/9324OS_02_code/fluent_builder.py:18
↓ 1 callers
Method
add_user
(self, username, password)
Module 1/Chapter4/auth.py:57
↓ 1 callers
Function
allUnique
(s, strategy)
Module 3/9324OS_15_code/strategy.py:28
↓ 1 callers
Function
allUnique
(s, strategy)
Module 3/9324OS_15_code/old/strategy.py:33
↓ 1 callers
Method
arrange
(self)
Module 2/Chapter04/facade_marriage.py:48
↓ 1 callers
Method
arrange_trip
(self)
Module 2/Chapter08/template_agency.py:72
↓ 1 callers
Method
askEventManager
(self)
Module 2/Chapter04/facade_marriage.py:67
↓ 1 callers
Method
available
(self)
Module 2/Chapter05/proxy_sample.py:12
↓ 1 callers
Function
average
(seq)
Module 1/Chapter12/12_02_assertraises_python.py:3
↓ 1 callers
Method
bookHotel
(self)
Module 2/Chapter04/facade_marriage.py:12
↓ 1 callers
Method
boot
(self)
Module 3/9324OS_06_code/facade.py:24
↓ 1 callers
Method
boot
(self)
Module 3/9324OS_06_code/old/facade.py:24
↓ 1 callers
Method
build
(self)
Module 3/9324OS_02_code/fluent_builder.py:26
↓ 1 callers
Method
build_computer
(self, model)
Module 3/9324OS_02_code/apple-factory.py:17
↓ 1 callers
Method
buy
(self)
Module 2/Chapter07/command_stocks.py:13
↓ 1 callers
Method
calculate_age
(self, date)
Module 1/Chapter11/11_02_age_calculator_adapted.py:6
↓ 1 callers
Method
changeServer
(self)
Module 2/Chapter02/real_world_scenario_2.py:20
↓ 1 callers
Method
check_password
Return True if the password is valid for this user, false otherwise.
Module 1/Chapter4/auth.py:18
↓ 1 callers
Method
check_password
Return True if the password is valid for this user, false otherwise.
Module 1/Chapter4/4_19_authorizor.py:18
↓ 1 callers
Method
check_password
Return True if the password is valid for this user, false otherwise.
Module 1/Chapter4/4_18_login.py:18
↓ 1 callers
Method
check_permission
(self, perm_name, username)
Module 1/Chapter4/auth.py:107
↓ 1 callers
Method
close
(self)
Module 3/9324OS_12_code/interpreter.py:14
↓ 1 callers
Method
collectSource
(self)
Module 2/Chapter08/template_compiler.py:7
↓ 1 callers
Method
collect_links
(self)
Module 1/Chapter6/6_23_queue_link_collector.py:15
↓ 1 callers
Method
collect_links
(self, path="/")
Module 1/Chapter6/6_17_link_parser.py:12
↓ 1 callers
Method
collect_links
(self, path="/")
Module 1/Chapter6/6_22_dict_link_collector.py:14
↓ 1 callers
Function
color_distance
(color1, color2)
Module 1/Chapter9/case_study_machine_learn.py:21
↓ 1 callers
Function
color_distance
(color1, color2)
Module 1/Chapter9/9_24_color_distance.py:4
↓ 1 callers
Function
combine_character
(plain, keyword)
Module 1/Chapter12/casestudy/vigenere_cipher1.py:1
↓ 1 callers
Method
compileAndRun
(self)
Module 2/Chapter08/template_compiler.py:18
↓ 1 callers
Method
compileToObject
(self)
Module 2/Chapter08/template_compiler.py:11
↓ 1 callers
Function
compress_chunk
(chunk)
Module 1/Chapter13/case_study/compress_bmp.py:15
↓ 1 callers
Function
compress_dir
(in_dir, out_dir)
Module 1/Chapter13/case_study/compress_bmp.py:57
↓ 1 callers
Function
compress_image
(in_filename, out_filename, executor=None)
Module 1/Chapter13/case_study/compress_bmp.py:44
↓ 1 callers
Function
compress_in_executor
(executor, bits, width)
Module 1/Chapter13/case_study/compress_bmp.py:33
↓ 1 callers
Method
configure_gpu
(self, gpu_model)
Module 3/9324OS_02_code/computer-builder.py:24
↓ 1 callers
Method
configure_hdd
(self, amount)
Module 3/9324OS_02_code/computer-builder.py:21
↓ 1 callers
Method
configure_memory
(self, amount)
Module 3/9324OS_02_code/computer-builder.py:18
↓ 1 callers
Method
connect
(self)
Module 1/Chapter10/10_19_template_abstract_noimple.py:2
↓ 1 callers
Method
connect
(self)
Module 1/Chapter10/10_20_template_abstract_implemented.py:4
↓ 1 callers
Function
connection_factory
(filepath)
Module 3/9324OS_01_code/factory_method.py:22
↓ 1 callers
Function
connection_factory
(filepath)
Module 3/9324OS_01_code/old/factory_method.py:22
↓ 1 callers
Method
construct_computer
(self, memory, hdd, gpu)
Module 3/9324OS_02_code/computer-builder.py:31
↓ 1 callers
Method
construct_pizza
(self, builder)
Module 3/9324OS_02_code/builder.py:90
↓ 1 callers
Method
construct_query
(self)
Module 1/Chapter10/10_21_template_concretes.py:7
↓ 1 callers
Method
construct_query
(self)
Module 1/Chapter10/10_19_template_abstract_noimple.py:4
↓ 1 callers
Method
construct_query
(self)
Module 1/Chapter10/10_20_template_abstract_implemented.py:7
↓ 1 callers
Method
copy
(self, new_path)
Module 1/Chapter11/11_18_add_child.py:31
↓ 1 callers
Method
createNonVegPizza
(self)
Module 2/Chapter03/abstract_factory.py:12
↓ 1 callers
Method
createProfile
(self)
Module 2/Chapter03/factory_method.py:44
↓ 1 callers
Method
createVegPizza
(self)
Module 2/Chapter03/abstract_factory.py:8
↓ 1 callers
Method
create_file
check validity of permissions, user rights, etc.
Module 3/9324OS_06_code/facade.py:47
↓ 1 callers
Method
create_file
(self, user, name, permissions)
Module 3/9324OS_06_code/facade.py:86
↓ 1 callers
Method
create_file
check validity of permissions, user rights, etc.
Module 3/9324OS_06_code/old/facade.py:47
↓ 1 callers
Method
create_process
check user rights, generate PID, etc.
Module 3/9324OS_06_code/facade.py:67
↓ 1 callers
Method
create_process
(self, user, name)
Module 3/9324OS_06_code/facade.py:89
↓ 1 callers
Method
create_process
check user rights, generate PID, etc.
Module 3/9324OS_06_code/old/facade.py:67
↓ 1 callers
Function
create_response
(data, ip)
Module 1/Chapter13/13_08_asyncio_dns.py:22
↓ 1 callers
Method
day1
(self)
Module 2/Chapter08/template_agency.py:12
↓ 1 callers
Method
day2
(self)
Module 2/Chapter08/template_agency.py:16
← previous
next →
101–200 of 1,218, ranked by callers