MCPcopy Create free account

hub / github.com/albertz/helpers / functions

Functions247 in github.com/albertz/helpers

Functionalarm_handler
(signum, frame)
asyncproc.py:70
Methodbuild_authorize_url
Build a request token authorization URL. After obtaining a request token, you'll need to send the user to the URL returned from this function so
webservicesession.py:113
Methodcloseinput
(self, procid)
asyncproc.py:372
Functiondump_all_thread_tracebacks
Prints the traceback of all threads. :param set[int]|list[int]|None exclude_thread_ids: threads to exclude :param io.TextIOBase|io.Strin
better_exchook.py:1343
Methodfinish_identifier
Reset color to standard for current identifier.
better_exchook.py:684
Functionfnmatchex
(filename: str, pattern: str, *, ignorecase: bool = False)
fnmatchex.py:54
Methodfold_text_stream
:param str prefix: always visible :param str postfix: always visible, right after. :param io.TextIOBase|io.StringIO hidden_st
better_exchook.py:820
Functionformat_path
Normalize path for use with the Lastfm API. This function turns multiple adjacent slashes into single slashes, then ensures that there's a leading
webserviceclient.py:23
FunctiongetProcOomScore
(procId)
cgroup-mem-limit-watcher.py:26
Functiongetexif
(im)
our_exif.py:696
Methodgetscalar
(self, tag, default=None)
our_exif.py:295
FunctionhasNoCopyrightHeader
(fn)
add-header.py:26
Methodhas_key
(self, tag)
our_exif.py:310
Functionib16
(c, o=0)
our_exif.py:104
Functionib32
(c, o=0)
our_exif.py:108
Functionil16
(c, o=0)
our_exif.py:88
Functionil32
(c, o=0)
our_exif.py:92
Methodis_linked
Return whether the LastfmSession has an access token attached.
webservicesession.py:51
Methodload_byte
(self, data)
our_exif.py:322
Methodload_double
(self, data)
our_exif.py:369
Methodload_float
(self, data)
our_exif.py:361
Methodload_long
(self, data)
our_exif.py:345
Methodload_rational
(self, data)
our_exif.py:353
Methodload_short
(self, data)
our_exif.py:337
Methodload_string
(self, data)
our_exif.py:330
Methodload_undefined
(self, data)
our_exif.py:377
Functionob16
(i)
our_exif.py:112
Functionob32
(i)
our_exif.py:116
Methodobtain_access_token
Obtain an access token for a user. After you get a request token, and then send the user to the authorize URL, you can use the authorized request
webservicesession.py:167
Methodobtain_request_token
Obtain a request token from the Lastfm API. This is your first step in the OAuth process. You call this to get a request_token from the Lastfm s
webservicesession.py:139
Functionol16
(i)
our_exif.py:96
Functionol32
(i)
our_exif.py:100
Methodpretty_print
:param object obj: :rtype: str
better_exchook.py:986
Methodread
(self, procid)
asyncproc.py:375
Methodreadboth
(self, procid)
asyncproc.py:381
Methodreaderr
(self, procid)
asyncproc.py:378
Methodreapall
Remove all processes. Running processes are killed without pardon.
asyncproc.py:404
Functionreplace_traceback_format_tb
Replaces these functions from the traceback module by our own: - traceback.format_tb - traceback.StackSummary.format - traceback.Sta
better_exchook.py:1571
Methodrequest
(self, params, withAccessHeaders=False)
webserviceclient.py:137
Methodsave
(self, fp)
our_exif.py:446
Methodset_request_token
Attach an request token to the LastfmSession. Note that the reuest 'token' is made up of both a token string and a secret string.
webservicesession.py:62
Methodset_token
(self, token)
webservicesession.py:59
Functionstr_to_bool
(s)
rename-pics.py:68
Functionstr_to_bool
(s)
rename-dirs.py:36
Methodterminate
(self, procid, graceperiod=1)
asyncproc.py:366
Methodunlink
Remove any attached access token from the LastfmSession.
webservicesession.py:55
Methodwrite
(self, procid, data)
asyncproc.py:369
← previous201–247 of 247, ranked by callers