Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ functions
Functions
29,190 in github.com/ActiveState/code
⨍
Functions
29,190
◇
Types & classes
4,822
↳
Endpoints
10
↓ 6 callers
Function
restoring
A context manager that evaluates an expression when entering the runtime context and restores its value when exiting. This context manage
recipes/Python/576977_Context_manager_restoring/recipe-576977.py:9
↓ 6 callers
Function
reverse
(o)
recipes/Python/119596_Oneliner_reversesortextend_stringstuplelists/recipe-119596.py:59
↓ 6 callers
Function
rgb_debug
(*msg,**kwds)
recipes/Python/576381_mad_debugging_using_builtin/recipe-576381.py:10
↓ 6 callers
Method
run
(self)
recipes/Python/203611_Using_PythClearCase/recipe-203611.py:86
↓ 6 callers
Function
safe_remove
Convenience function for removing temporary test files
recipes/Python/580672_Register_exit_function/recipe-580672.py:175
↓ 6 callers
Method
sanitize
sanitize value following https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_
recipes/Python/578008_Safe_HTML_string_and_unicode/recipe-578008.py:6
↓ 6 callers
Method
scan_and_print_new_objs
(self, msg = None)
recipes/Python/576523_Track_newunreclaimed_objects_between_2_points/recipe-576523.py:94
↓ 6 callers
Method
seconds
(self)
recipes/Python/576546_DateTimeSyncer_Daylight_Savings_Time/recipe-576546.py:277
↓ 6 callers
Method
seed
(self, data=None)
recipes/Python/492214_dal6py/recipe-492214.py:16
↓ 6 callers
Function
send
(channel, *args)
recipes/Python/531824_Chat_server__client_using/recipe-531824.py:230
↓ 6 callers
Function
set
(**kw)
recipes/Python/202234_Assignment_in_expression/recipe-202234.py:2
↓ 6 callers
Method
set
(self, value)
recipes/Python/578367_The_Easy_Cow/recipe-578367.py:44
↓ 6 callers
Method
set
(self, value)
recipes/Python/578366_The_Normal_Cow/recipe-578366.py:44
↓ 6 callers
Method
setData
(self, data)
recipes/Python/578449_Observer_Pattern/recipe-578449.py:28
↓ 6 callers
Method
setMinMax
(self, position, mini, maxi)
recipes/Python/578491_Genetic_Optimisati_SLM_Holograms_/recipe-578491.py:129
↓ 6 callers
Method
setSubject
Set the subject of the email message.
recipes/Python/576858_Send_HTML_or_Text_email_or_without/recipe-576858.py:108
↓ 6 callers
Method
settimeout
Set timeout for all registered sockets.
recipes/Python/578504_Server_supporting_IPv4_and_IPv6/recipe-578504.py:240
↓ 6 callers
Function
short
(x)
recipes/Python/181065_Parsing_binary_files_regular/recipe-181065.py:40
↓ 6 callers
Function
shortToString
(i)
recipes/Python/577674_Bitmap_Maker/recipe-577674.py:57
↓ 6 callers
Function
show_form
(error='')
recipes/Python/475112_Schedule_Maker/recipe-475112.py:44
↓ 6 callers
Method
start
(self, port)
recipes/Python/286201_wx_twisted_support_using_threads/recipe-286201.py:648
↓ 6 callers
Method
step
( self, throw=None )
recipes/Python/271607_fiber_scheduler/recipe-271607.py:46
↓ 6 callers
Function
strptime
Return a time struct based on the input string and the format string.
recipes/Python/56036_Pure_Python_strptime/recipe-56036.py:322
↓ 6 callers
Method
sub
(self, s)
recipes/Python/574437_py3to2__testdevelopintegrate_pyth30_code/recipe-574437.py:161
↓ 6 callers
Method
submit
(self)
recipes/Python/580714_Form_actilike_html_forms/recipe-580714.py:31
↓ 6 callers
Function
synchronous
A decorator to place an instance based lock around a method
recipes/Python/577105_SynchronizatiDecorator_Class/recipe-577105.py:12
↓ 6 callers
Method
tail
Read last N lines from file fname.
recipes/Python/577968_Log_watcher_tail_F_log/recipe-577968.py:132
↓ 6 callers
Function
test_chosenk
(lst, n)
recipes/Python/577890_Permutaticombinatiusing_recursive/recipe-577890.py:54
↓ 6 callers
Function
tfunc
(ts,fn,fontSize,enc)
recipes/Python/496791_Reference_count_checking/recipe-496791.py:49
↓ 6 callers
Function
thislist
Return a reference to the list object being constructed by the list comprehension from which this function is called. Raises an exception if c
recipes/Python/578865_Secret_Name_List/recipe-578865.py:10
↓ 6 callers
Function
thislist
Return a reference to the list object being constructed by the list comprehension from which this function is called. Raises an exception if c
recipes/Python/204297_Secret_Name_List/recipe-204297.py:10
↓ 6 callers
Method
timer
Add or remove timers. cb = callback function. period = period in seconds (float) if period is 0 timer is
recipes/Python/576910_Thread_pool_grows_on_demand/recipe-576910.py:133
↓ 6 callers
Method
to_hash
(self, m)
recipes/Python/579102_ed25519/recipe-579102.py:31
↓ 6 callers
Method
translate
This is just "sample code", but you get the idea.
recipes/Python/363784_LazyGettext/recipe-363784.py:22
↓ 6 callers
Function
type_name
Returns the name of the passed value's type
recipes/Python/426123_Method_signature_checking/recipe-426123.py:157
↓ 6 callers
Method
unescape
(self, value)
recipes/Python/496795_pythreplacement/recipe-496795.py:213
↓ 6 callers
Function
uniqueInsert
Add v to list if it is not already there, else raise ValueError
recipes/Python/440542_Sudoku_Solver/recipe-440542.py:8
↓ 6 callers
Method
unregisterAsyncSocketForRead
(self, asyncSocket)
recipes/Python/577662_ASIO/recipe-577662.py:331
↓ 6 callers
Method
update
(self, *args, **kwargs)
recipes/Python/522995_Priority_dict_priority_queue_updatable/recipe-522995.py:71
↓ 6 callers
Method
update
(self, dict)
recipes/Python/107747_Ordered_Dictionary/recipe-107747.py:46
↓ 6 callers
Method
update
Like dict.update() but add counts instead of replacing them. Source can be an iterable, a dictionary, or another Counter instance. >
recipes/Python/576611_Counter_class/recipe-576611.py:65
↓ 6 callers
Method
update
(self, ratio)
recipes/Python/577926_ProgressBar_class/recipe-577926.py:31
↓ 6 callers
Method
update
(self, other)
recipes/Python/286209_set_class_mutable_objects_unique_hashable_id/recipe-286209.py:198
↓ 6 callers
Method
values
(self)
recipes/Python/578096_MutableMapping_that_CUse_Unhashable_Objects/recipe-578096.py:21
↓ 6 callers
Function
ve2no
Convert ValueError result to -1
recipes/Python/577197_SortedCollection/recipe-577197.py:199
↓ 6 callers
Function
verse
()
recipes/Python/576598_Utility_Mill_Test/recipe-576598.py:173
↓ 6 callers
Function
vertices
Returns the vertex set of G
recipes/Python/498260_Examples_algorithm_compositiobserver_pattern/recipe-498260.py:115
↓ 6 callers
Method
visit
(self, node,**kw)
recipes/Python/364469_Safe_Eval/recipe-364469.py:16
↓ 6 callers
Function
wchoice
wchoice(objects, frequences, filter=True, normalize=True): return a function that return the given objects with the specified frequency distri
recipes/Python/498229_Weighted_choice/recipe-498229.py:12
↓ 6 callers
Method
weekday
(self)
recipes/Python/576546_DateTimeSyncer_Daylight_Savings_Time/recipe-576546.py:280
↓ 6 callers
Method
write
(self,line)
recipes/Python/355319_Using_codeInteractiveConsole_embed_Pythshell/recipe-355319.py:5
↓ 6 callers
Method
write
(self, block, data)
recipes/Python/492208_diskpy/recipe-492208.py:31
↓ 6 callers
Method
writeln
(self, s)
recipes/Python/580767_Unix_teelike_functionality/recipe-580767.py:43
↓ 6 callers
Function
xsearch
(sarg, pattern, nested=False, start=0)
recipes/Python/577251_Simple_regex_engine_elementary_/recipe-577251.py:127
↓ 6 callers
Function
xturn
()
recipes/Python/440602_TicTacToe_pyth1_or_2/recipe-440602.py:8
↓ 5 callers
Method
BackupDatabase
(self)
recipes/Python/578977_Python_SQLSMO_/recipe-578977.py:540
↓ 5 callers
Function
DisableOK
()
recipes/Python/580623_New_VersiGUI_PDF_Table_Contents_Editor_using/recipe-580623.py:722
↓ 5 callers
Method
Evaluate
(self, dictionary)
recipes/Python/576790_Expression_Evaluator/recipe-576790.py:100
↓ 5 callers
Function
FindRef
( crossRef, p, q)
recipes/Python/576521_Blobby_Planet/recipe-576521.py:20
↓ 5 callers
Method
GetFromClipboard
Read and decode the HTML from the clipboard
recipes/Python/474121_Getting_HTML_Windows/recipe-474121.py:124
↓ 5 callers
Method
GetYearDay
Returns the year day of a date.
recipes/Python/117215_A_Date_module/recipe-117215.py:192
↓ 5 callers
Method
H
(self, data)
recipes/Python/302378_digest_authentication/recipe-302378.py:18
↓ 5 callers
Method
IsAtom
A tree is atomic if it has no subtrees.
recipes/Python/136529_Trees_and_more_trees/recipe-136529.py:511
↓ 5 callers
Method
OnErr
(self, ErrorNum, args)
recipes/Python/577238_CommLine_Options_Args_Hateem_Me/recipe-577238.py:112
↓ 5 callers
Function
PicRefresh
(seite)
recipes/Python/580623_New_VersiGUI_PDF_Table_Contents_Editor_using/recipe-580623.py:702
↓ 5 callers
Method
ProcessReturn
(self, className=None, *args)
recipes/Python/577144_Easy_ExceptiError_Handling_Debugging/recipe-577144.py:221
↓ 5 callers
Method
Run
(self)
recipes/Python/578808_Python_Game_of_Life/recipe-578808.py:143
↓ 5 callers
Method
Session
Session management If the client has sent a cookie named sessionId, take its value and return the corresponding SessionElement objet,
recipes/Python/392879_My_first_application_server/recipe-392879.py:200
↓ 5 callers
Method
SetDefault
Sets the default button.
recipes/Python/577951_wxPythDramatic_shaded_3D_buttons_that_look_like_/recipe-577951.py:374
↓ 5 callers
Method
Start
(self,func=None)
recipes/Python/579132_Print_Hook/recipe-579132.py:21
↓ 5 callers
Function
_IOW
(x,y,t)
recipes/Python/576834_Interrogating_linux_devusbhiddev0/recipe-576834.py:103
↓ 5 callers
Function
_IOWR
(x,y,t)
recipes/Python/576834_Interrogating_linux_devusbhiddev0/recipe-576834.py:104
↓ 5 callers
Method
__calculate_list_of_cell_widths_and_heights
(self)
recipes/Python/578870_Tkinter_Grid_with_panes/recipe-578870.py:182
↓ 5 callers
Method
__coerce
(self,other)
recipes/Python/270589_Unitsafe_measured_quantities/recipe-270589.py:206
↓ 5 callers
Method
__getitem__
(self, key)
recipes/Python/573466_Treat_Win32_Registry_like_Pythdict__updated/recipe-573466.py:34
↓ 5 callers
Method
__getitem__
(self, item)
recipes/Python/305320_Simpler_item_retrieval_using_tupled/recipe-305320.py:2
↓ 5 callers
Method
__getslice__
return bits slice from start to end (n-0)
recipes/Python/578922_bitfield_rev2/recipe-578922.py:20
↓ 5 callers
Method
__init__
(self)
recipes/Python/496929_foldable_panel_Windows_XP_look_feel/recipe-496929.py:15
↓ 5 callers
Method
__init__
(self, asyncIOService, sock = None)
recipes/Python/577662_ASIO/recipe-577662.py:33
↓ 5 callers
Method
__init__
(self, key)
recipes/Python/302997_Threadsafe_caching_object_file_HTTP/recipe-302997.py:21
↓ 5 callers
Method
__init__
Matrix constructor A matrix can be created in three ways. 1. A single integer argument is supplied. The constructor creates a null square mat
recipes/Python/189971_Basic_Linear_Algebra_Matrix/recipe-189971.py:134
↓ 5 callers
Method
__init__
(self, *args, **kwds)
recipes/Python/161403_Functional_dictionary_list_types/recipe-161403.py:189
↓ 5 callers
Method
__init__
(self, parent, id=wx.ID_ANY)
recipes/Python/576814_CommentEditor_HTML_editor_online/recipe-576814.py:66
↓ 5 callers
Method
__init__
(self, s="")
recipes/Python/577397_TRAC_Interpreter__Class_Stack/recipe-577397.py:13
↓ 5 callers
Method
__schedule
Schedule execution of a method till later if necessary.
recipes/Python/577635_Directory_Pruner_3/recipe-577635.py:1445
↓ 5 callers
Method
__schedule
Schedule execution of a method till later if necessary.
recipes/Python/577633_Directory_Pruner_2/recipe-577633.py:166
↓ 5 callers
Method
__setattr__
(self, name, value)
recipes/Python/521879_An_objectoriented_enum_Javalike/recipe-521879.py:183
↓ 5 callers
Method
__size
Get the current size of the cache list.
recipes/Python/534114_List_wrapper_generators_indexable/recipe-534114.py:198
↓ 5 callers
Method
__walk
Iterate over action applied to each node, in the appropriate order.
recipes/Python/577826_Yet_Another_Ordered_Dictionary/recipe-577826.py:184
↓ 5 callers
Method
_asdict
(self)
recipes/Python/577629_namedtupleabc__abstract_base_class__mixnamed/recipe-577629.py:175
↓ 5 callers
Function
_bytes2int
(bytes, byte=_byte)
recipes/Python/577191_IP_and_MAC_addresses/recipe-577191.py:90
↓ 5 callers
Method
_content
Get the text node content of an element or an empty string
recipes/Python/303063_Gather_detailed_system_informatiMac_OS/recipe-303063.py:63
↓ 5 callers
Method
_contents
common backend for methods: keys, values, items, __len__, __contains__
recipes/Python/498266_selfcleaning_dictlike_container_which_limits/recipe-498266.py:196
↓ 5 callers
Method
_create_sequences
Create the WorkUnit objects to process and pushes them on the work queue. Each work unit is meant to process a slice of itera
recipes/Python/576519_Thread_pool_same_API/recipe-576519.py:250
↓ 5 callers
Function
_decode_map_1
Private module function.
recipes/Python/572159_SPICE/recipe-572159.py:323
↓ 5 callers
Function
_decode_map_2
Private module function.
recipes/Python/572159_SPICE/recipe-572159.py:331
↓ 5 callers
Method
_del
(self, i, clist, data)
recipes/Python/475199_resizable_ctypes_arrays/recipe-475199.py:164
↓ 5 callers
Method
_destroy_entry
(self)
recipes/Python/580746_Tkinter_treeview_like_table_or_multicolumn/recipe-580746.py:908
↓ 5 callers
Function
_dir
Return list of matching attributes, except globals.
recipes/Python/544288_Size_of_Python_objects/recipe-544288.py:65
↓ 5 callers
Function
_encode_map_1
Private module function.
recipes/Python/572159_SPICE/recipe-572159.py:308
← previous
next →
1,801–1,900 of 29,190, ranked by callers