MCPcopy Create free account

hub / github.com/dabeaz/python-cookbook / functions

Functions870 in github.com/dabeaz/python-cookbook

↓ 1 callersFunctionecho_server
(address)
src/11/adding_ssl_to_network_servers/echoserv.py:17
↓ 1 callersFunctionecho_server
(address)
src/11/simple_authentication_of_clients/server.py:16
↓ 1 callersFunctionecho_server
(address, backlog=5)
src/11/creating_a_tcp_server/echoserv5.py:14
↓ 1 callersFunctionexample1
()
src/14/raising_an_exception_in_response_to_another_exception/example.py:6
↓ 1 callersFunctionexample2
()
src/14/raising_an_exception_in_response_to_another_exception/example.py:15
↓ 1 callersFunctionexample3
()
src/14/raising_an_exception_in_response_to_another_exception/example.py:22
↓ 1 callersMethodexists
(self, name)
src/11/simple_remote_procedure_call_with_xmlrpc/keyserv.py:20
↓ 1 callersMethodexpr
expression ::= term { ('+'|'-') term }
src/2/writing_a_simple_recursive_descent_parser/example.py:115
↓ 1 callersMethodfileno
(self)
src/11/event_driven_io_explained/threadpool.py:47
↓ 1 callersFunctionfind_all_robots
Find all hosts across and entire sequence of files
src/12/simple_parallel_programming/findrobots.py:19
↓ 1 callersFunctionfind_all_robots
Find all hosts across and entire sequence of files
src/12/simple_parallel_programming/findrobots_par.py:20
↓ 1 callersFunctionfoo
()
src/15/diagnosing_segmentation_faults/example.py:4
↓ 1 callersMethodfoo
(self)
src/8/delegation_and_proxies/example4.py:5
↓ 1 callersFunctionfrange
(start, stop, increment)
src/4/creating_new_iteration_patterns_with_generators/example.py:1
↓ 1 callersMethodfrom_file
(cls, f)
src/6/reading_nested_and_variable_sized_binary_structures/example3.py:64
↓ 1 callersMethodfrom_file
(cls, f)
src/6/reading_nested_and_variable_sized_binary_structures/example2.py:39
↓ 1 callersMethodgenerate_code
(self, node)
src/8/implementing_the_visitor_pattern/example.py:72
↓ 1 callersFunctiongenerate_opcodes
(codebytes)
src/9/disassembling_python_byte_code/example.py:5
↓ 1 callersFunctiongenerate_tokens
(text)
src/2/writing_a_simple_recursive_descent_parser/example.py:24
↓ 1 callersFunctiongenerate_tokens
(pat, text)
src/2/tokenizing_text/example.py:19
↓ 1 callersMethodget_code
(self, fullname)
src/10/loading_modules_from_a_remote_machine_using_import_hooks/urlimport.py:105
↓ 1 callersFunctionget_exchange
(name)
src/12/implementing_publish_subscribe_messaging/exchange1.py:21
↓ 1 callersFunctionget_exchange
(name)
src/12/implementing_publish_subscribe_messaging/exchange2.py:33
↓ 1 callersFunctionget_month_range
(start_date=None)
src/3/finding_the_date_range_for_the_current_month/example.py:4
↓ 1 callersMethodget_source
(self, fullname)
src/10/loading_modules_from_a_remote_machine_using_import_hooks/urlimport.py:115
↓ 1 callersMethodget_spam
(self, name)
src/8/creating_cached_instances/example2.py:6
↓ 1 callersFunctiongrok
()
src/9/defining_decorators_as_part_of_a_class/example1.py:31
↓ 1 callersMethodgrok
(x)
src/9/using_metaclasses_to_control_instance_creation/example1.py:11
↓ 1 callersMethodhandle_receive
Perform the receive operation
src/11/event_driven_io_explained/eventhandler.py:10
↓ 1 callersMethodhandle_send
Send outgoing data
src/11/event_driven_io_explained/eventhandler.py:18
↓ 1 callersMethodhandle_yield
(self, sched, task)
src/12/using_generators_as_an_alternative_to_threads/netsched.py:6
↓ 1 callersFunctionhandler
(result)
src/7/carrying_extra_state_with_callback_functions/example.py:47
↓ 1 callersMethodincr
Increment the counter with locking
src/12/how_to_lock_critical_sections/example1.py:11
↓ 1 callersMethodinstance_method
(self, n)
src/9/applying_decorators_to_class_and_static_methods/example.py:18
↓ 1 callersMethoditer_as
(self, code)
src/6/reading_nested_and_variable_sized_binary_structures/example4.py:79
↓ 1 callersMethodkeys
(self)
src/11/simple_remote_procedure_call_with_xmlrpc/keyserv.py:23
↓ 1 callersMethodload_module
(self, fullname)
src/10/loading_modules_from_a_remote_machine_using_import_hooks/urlimport.py:95
↓ 1 callersFunctionlocaltime
(environ, start_response)
src/11/creating_a_simple_rest_based_interface/example1.py:30
↓ 1 callersFunctionmain
(out=sys.stderr, verbosity=2)
src/14/logging_test_output_to_a_file/test.py:29
↓ 1 callersFunctionmain
()
src/13/simple_logging_for_scripts/example2.py:4
↓ 1 callersFunctionmain
()
src/13/simple_logging_for_scripts/example1.py:3
↓ 1 callersFunctionmain
()
src/12/launching_a_daemon_process_on_unix/daemon.py:58
↓ 1 callersFunctionmake_sig
(*names)
src/9/enforcing_an_argument_signature/example2.py:5
↓ 1 callersFunctionmodified_within
(top, seconds)
src/13/finding_files/modified_within.py:6
↓ 1 callersFunctionnamed_tuple
(classname, fieldnames)
src/9/defining_classes_programmatically/example2.py:7
↓ 1 callersMethodopen
(self)
src/8/implementing_stateful_objects_or_state_machines/example1.py:14
↓ 1 callersFunctionparse_and_remove
(filename, path)
src/6/incremental_parsing_of_huge_xml_files/example.py:10
↓ 1 callersFunctionparse_data
(filename)
src/4/iterate_over_the_index-value_pairs_of_a_list/example.py:2
↓ 1 callersFunctionprinter
()
src/12/using_generators_as_an_alternative_to_threads/actorsched.py:36
↓ 1 callersMethodpublic_method
(self)
src/8/how_to_encapsulate_names_in_a_class/example.py:10
↓ 1 callersFunctionread_polys
(filename)
src/6/reading_nested_and_variable_sized_binary_structures/example4.py:105
↓ 1 callersFunctionread_records
(format, f)
src/6/reading_and_writing_binary_arrays_of_structures/readrecords.py:3
↓ 1 callersFunctionreadline
(sock)
src/12/using_generators_as_an_alternative_to_threads/netsched.py:119
↓ 1 callersFunctionrecv_fd
Receive a single file descriptor
src/11/passing_a_socket_file_descriptor_between_processes/worker.py:5
↓ 1 callersFunctionrecv_into
(arr, source)
src/11/zero_copy_sending_and_receiving_of_large_arrays/zerocopy.py:9
↓ 1 callersMethodrespond
(self, result, addr)
src/11/event_driven_io_explained/threadpool.py:59
↓ 1 callersFunctionrpc_server
(handler, address, authkey)
src/11/implementing_remote_procedure_call/rpcserver.py:29
↓ 1 callersFunctionrpc_server
(handler, address, authkey)
src/11/implementing_remote_procedure_call/jsonrpcserver.py:29
↓ 1 callersMethodrun
Run until there are no more tasks
src/12/using_generators_as_an_alternative_to_threads/simple.py:30
↓ 1 callersMethodrun
Run as long as there are pending messages.
src/12/using_generators_as_an_alternative_to_threads/actorsched.py:23
↓ 1 callersMethodrun
Run the task scheduler until there are no tasks
src/12/using_generators_as_an_alternative_to_threads/netsched.py:52
↓ 1 callersMethodrun
(self, func, args=(), kwargs={},*,callback)
src/11/event_driven_io_explained/threadpool.py:20
↓ 1 callersFunctionsample
()
src/7/accessing_variables_defined_inside_a_closure/example1.py:3
↓ 1 callersFunctionsearch
(lines, pattern, history=5)
src/1/keeping_the_last_n_items/example.py:3
↓ 1 callersFunctionsend_fd
Send a single file descriptor.
src/11/passing_a_socket_file_descriptor_between_processes/server.py:5
↓ 1 callersFunctionsend_from
(arr, dest)
src/11/zero_copy_sending_and_receiving_of_large_arrays/zerocopy.py:3
↓ 1 callersMethodserve_forever
(self)
src/11/simple_remote_procedure_call_with_xmlrpc/keyserv.py:26
↓ 1 callersFunctionserver
(work_address, port)
src/11/passing_a_socket_file_descriptor_between_processes/server.py:14
↓ 1 callersFunctionserver
(work_address, port)
src/11/passing_a_socket_file_descriptor_between_processes/servermp.py:6
↓ 1 callersFunctionserver_authenticate
Request client authentication.
src/11/simple_authentication_of_clients/auth.py:17
↓ 1 callersMethodserver_loop
(self,addr)
src/12/using_generators_as_an_alternative_to_threads/netsched.py:136
↓ 1 callersFunctionset_max_runtime
(seconds)
src/13/putting_limits_on_memory_and_cpu_usage/example.py:9
↓ 1 callersMethodset_result
(self, value)
src/12/defining_an_actor_task/worker.py:9
↓ 1 callersFunctionspam
()
src/15/diagnosing_segmentation_faults/example.py:12
↓ 1 callersFunctionspam
()
src/9/defining_a_decorator_that_takes_arguments/example.py:29
↓ 1 callersFunctionspam
()
src/9/defining_decorators_as_part_of_a_class/example1.py:26
↓ 1 callersFunctionspam
()
src/9/defining_a_decorator_that_takes_an_optional_argument/example.py:27
↓ 1 callersMethodspam
(self, x)
src/8/delegation_and_proxies/example1.py:2
↓ 1 callersMethodspam
(self)
src/8/calling_a_method_on_a_parent_class/example3.py:20
↓ 1 callersMethodspam
(self)
src/10/splitting_a_module_into_multiple_files/mymodule/a.py:4
↓ 1 callersMethodspam
(self)
src/9/monkeypatching_class_definitions/example.py:19
↓ 1 callersMethodstatic_method
(n)
src/9/applying_decorators_to_class_and_static_methods/example.py:32
↓ 1 callersFunctionsub
(x, y)
src/9/defining_a_decorator_that_takes_an_optional_argument/example.py:23
↓ 1 callersMethodsubscribe
(self, *tasks)
src/12/implementing_publish_subscribe_messaging/exchange2.py:15
↓ 1 callersMethodterminate
(self)
src/12/how_to_start_and_stop_threads/example.py:8
↓ 1 callersFunctiontest
(func)
src/14/make_your_programs_run_faster/example.py:2
↓ 1 callersFunctiontest
()
src/9/executing_code_with_local_side_effects/example.py:1
↓ 1 callersFunctiontest1
()
src/9/executing_code_with_local_side_effects/example.py:8
↓ 1 callersFunctiontest2
()
src/9/executing_code_with_local_side_effects/example.py:13
↓ 1 callersFunctiontest3
()
src/9/executing_code_with_local_side_effects/example.py:21
↓ 1 callersFunctiontest4
()
src/9/executing_code_with_local_side_effects/example.py:30
↓ 1 callersFunctiontime_server
(address)
src/11/creating_a_udp_server/timeserv2.py:4
↓ 1 callersFunctiontimethis
(label)
src/9/defining_context_managers_the_easy_way/example1.py:5
↓ 1 callersMethodunaryop
(self, node, instruction)
src/8/implementing_the_visitor_pattern/example.py:97
↓ 1 callersFunctionunpack_records
(format, data)
src/6/reading_and_writing_binary_arrays_of_structures/unpackrecords.py:3
↓ 1 callersMethodwants_to_receive
Return True if receiving is allowed
src/11/event_driven_io_explained/eventhandler.py:6
↓ 1 callersMethodwants_to_send
Return True if sending is requested
src/11/event_driven_io_explained/eventhandler.py:14
↓ 1 callersFunctionworker
(server_address)
src/11/passing_a_socket_file_descriptor_between_processes/workermp.py:8
↓ 1 callersFunctionworker
(server_address)
src/11/passing_a_socket_file_descriptor_between_processes/worker.py:17
↓ 1 callersFunctionwrite_polys
(filename, polys)
src/6/reading_nested_and_variable_sized_binary_structures/writepolys.py:10
← previousnext →201–300 of 870, ranked by callers