MCPcopy Create free account

hub / github.com/btbytes/teh / functions

Functions417 in github.com/btbytes/teh

↓ 1 callersMethod_ebcdic_to_ascii
(self, s)
lib/BeautifulSoup.py:1855
↓ 1 callersMethod_encode_backslash_escapes
(self, text)
lib/markdown2.py:1309
↓ 1 callersMethod_encode_email_address
(self, addr)
lib/markdown2.py:1338
↓ 1 callersFunction_escape_hash
(s)
lib/markdown2.py:86
↓ 1 callersMethod_escape_special_chars
(self, text)
lib/markdown2.py:626
↓ 1 callersMethod_form_paragraphs
(self, text)
lib/markdown2.py:1250
↓ 1 callersMethod_get_emacs_vars
Return a dictionary of emacs-style local variables. Parsing is done loosely according to this spec (and according to some in-practice
lib/markdown2.py:261
↓ 1 callersMethod_get_pygments_lexer
(self, lexer_name)
lib/markdown2.py:1062
↓ 1 callersMethod_hash_html_spans
(self, text)
lib/markdown2.py:650
↓ 1 callersFunction_hr_tag_re_from_tab_width
(tab_width)
lib/markdown2.py:1578
↓ 1 callersFunction_html_comment_re_from_tab_width
(tab_width)
lib/markdown2.py:1558
↓ 1 callersFunction_nonnumber_float_constants
Try to return the Nan, Infinity, and -Infinity float values. This is unnecessarily complex because there is no standard platform- indepen
lib/demjson.py:229
↓ 1 callersMethod_process_list_items
(self, list_str)
lib/markdown2.py:1031
↓ 1 callersFunction_regex_from_encoded_pattern
foo' -> re.compile(re.escape('foo')) '/foo/' -> re.compile('foo') '/foo/i' -> re.compile('foo', re.I)
lib/markdown2.py:1418
↓ 1 callersMethod_set_strictness
Changes the strictness behavior. Pass True to be very strict about JSON syntax, or False to be looser.
lib/demjson.py:910
↓ 1 callersMethod_smartPop
We need to pop up to the previous tag of this type, unless one of this tag's nesting reset triggers comes between this tag and the pre
lib/BeautifulSoup.py:1198
↓ 1 callersMethod_strip_footnote_definitions
A footnote definition looks like this: [^note-id]: Text of the note. May include one or more indented paragraphs.
lib/markdown2.py:513
↓ 1 callersMethod_strip_link_definitions
(self, text)
lib/markdown2.py:470
↓ 1 callersMethod_subMSChar
Changes a MS smart quote character to an XML or HTML entity.
lib/BeautifulSoup.py:1710
↓ 1 callersFunction_test
()
lib/markdown2.py:1621
↓ 1 callersFunction_test
()
lib/utils.py:24
↓ 1 callersMethod_toUnicode
Given a string and its encoding, decodes the string into Unicode. %encoding is a string recognized by encodings.aliases
lib/BeautifulSoup.py:1749
↓ 1 callersMethod_unhash_html_spans
(self, text)
lib/markdown2.py:673
↓ 1 callersMethod_wrap_code
A function for use in a Pygments Formatter which wraps in <code> tags.
lib/markdown2.py:1077
↓ 1 callersFunction_xml_encode_email_char_at_random
(ch)
lib/markdown2.py:1598
↓ 1 callersMethodacronym
Process acronyms. Acronyms can have letters in upper and lower caps, or even numbers, provided that the numbers and upper caps are th
lib/textile.py:2096
↓ 1 callersMethodallow
Allow the specified behavior (turn off a strictness check). The list of all possible behaviors is available in the behaviors property.
lib/demjson.py:934
↓ 1 callersFunctionauto_unicode_decode
Takes a string and tries to convert it to a Unicode string. This will return a Python unicode string type corresponding to the input string (
lib/demjson.py:614
↓ 1 callersFunctionbrowserDetect
()
static/scripts/dynamic.js:8
↓ 1 callersFunctioncheckMechanicalTurk
()
static/scripts/dynamic.js:11
↓ 1 callersFunctioncheckPaypal
()
static/scripts/dynamic.js:10
↓ 1 callersMethoddecode_composite
Intermediate-level JSON decoder for composite literal types (array and object). Takes text and a starting index, and returns either a Python
lib/demjson.py:1530
↓ 1 callersMethoddecode_javascript_identifier
Convert a JavaScript identifier into a Python string object. This method can be overriden by a subclass to redefine how JavaScript id
lib/demjson.py:1635
↓ 1 callersMethoddecode_string
Intermediate-level decoder for JSON string literals. Takes a string and a starting index, and returns a Python string (or unicode str
lib/demjson.py:1260
↓ 1 callersFunctiondetermine_float_precision
Returns a tuple (significant_digits, max_exponent) for the float type.
lib/demjson.py:161
↓ 1 callersMethodencode_boolean
Encodes the Python boolean into a JSON Boolean literal.
lib/demjson.py:1066
↓ 1 callersMethodencode_composite
Encodes just dictionaries, lists, or sequences. Basically handles any python type for which iter() can create an iterator object.
lib/demjson.py:1761
↓ 1 callersMethodencode_default
This method is used to encode objects into JSON which are not straightforward. This method is intended to be overridden by subclasses which w
lib/demjson.py:1884
↓ 1 callersMethodencode_equivalent
This method is used to encode user-defined class objects. The object being encoded should have a json_equivalent() method defined whi
lib/demjson.py:1858
↓ 1 callersMethodencode_null
Produces the JSON 'null' keyword.
lib/demjson.py:1049
↓ 1 callersMethodencode_number
Encodes a Python numeric type into a JSON numeric literal. The special non-numeric values of float('nan'), float('inf') and f
lib/demjson.py:1220
↓ 1 callersMethodencode_string
Encodes a Python string into a JSON string literal.
lib/demjson.py:1378
↓ 1 callersMethodencode_undefined
Produces the ECMAScript 'undefined' keyword.
lib/demjson.py:1045
↓ 1 callersMethodescape
Do nothing. This is used to match escaped text. Nothing to see here! --- h1. Escaping If you don't want Textile pro
lib/textile.py:1971
↓ 1 callersFunctionextend_and_flatten_list_with_sep
( orig_seq, extension_seq, separator='' )
lib/demjson.py:521
↓ 1 callersMethodfindParents
Returns the parents of this Tag that match the given criteria.
lib/BeautifulSoup.py:295
↓ 1 callersMethodfind_codec
(self, charset)
lib/BeautifulSoup.py:1838
↓ 1 callersFunctionfixPosition
(box)
static/scripts/dynamic.js:153
↓ 1 callersMethodfootnotes
Add titles to footnotes references. This function searches for footnotes references like this [1], and adds a title to the link cont
lib/textile.py:2145
↓ 1 callersMethodglyphs
Glyph formatting. This function replaces quotations marks, dashes and a few other symbol for numerical entities. The em/en dashes use
lib/textile.py:2372
↓ 1 callersMethodgrab_links
Grab link lookups. Check the text for link lookups, store them in a dictionary, and clean them up.
lib/textile.py:803
↓ 1 callersFunctionhtml_replace
Replacement outside HTML tags. Does a preg_replace only outside HTML tags.
lib/textile.py:479
↓ 1 callersFunctionifInstructs
()
static/scripts/dynamic.js:7
↓ 1 callersMethodimage
Process each image. This method builds the <img> tag for each image in the text. It's separated from the 'images' method so it can be
lib/textile.py:2679
↓ 1 callersMethodimages
Process images. This function process images tags, with or without links. Images can have vertical and/or horizontal alignment, and c
lib/textile.py:2582
↓ 1 callersFunctioninitAutoResize
()
static/scripts/dynamic.js:5
↓ 1 callersFunctioninitializeFocus
()
static/scripts/dynamic.js:2
↓ 1 callersMethoditex
Convert itex to MathML. If the itex2mml binary is set, we use it to convert the itex to MathML. Otherwise, the text is unprocessed an
lib/textile.py:1998
↓ 1 callersMethodlinks
Process links. This function is responsible for processing links. It has some nice shortcuts to Google, Amazon and IMDB queries.
lib/textile.py:2701
↓ 1 callersFunctionmain
()
webapp.py:47
↓ 1 callersFunctionmain
(argv=sys.argv)
lib/markdown2.py:1625
↓ 1 callersFunctionmake_entry
docstring for make_entry
shooin.py:24
↓ 1 callersFunctionmarkdown_path
(path, encoding="utf-8", html4tags=False, tab_width=DEFAULT_TAB_WIDTH, saf
lib/markdown2.py:106
↓ 1 callersMethodnormalize_attrs
(self, attrs)
lib/textile.py:514
↓ 1 callersMethodol
Build an ordered list. This function basically just sets the <ol></ol> with the right attributes, and then pass everything inside to
lib/textile.py:1677
↓ 1 callersMethodoutput
Return processed HTML as a single string
lib/textile.py:569
↓ 1 callersMethodpreprocess
Pre-processing of the text. Remove whitespace, fix carriage returns.
lib/textile.py:787
↓ 1 callersMethodprettify
(self, encoding=DEFAULT_OUTPUT_ENCODING)
lib/BeautifulSoup.py:691
↓ 1 callersMethodprevent
Prevent the specified behavior (turn on a strictness check). The list of all possible behaviors is available in the behaviors property.
lib/demjson.py:948
↓ 1 callersMethodprocess
Process the text. Here we actually process the text, splitting the text in blocks and applying the corresponding function to each
lib/textile.py:821
↓ 1 callersMethodqtags
Quick tags formatting. This function does the inline formatting of text, like bold, italic, strong and also itex code. ---
lib/textile.py:2478
↓ 1 callersMethodrenderContents
Renders the contents of this tag as a string in the given encoding. If encoding is None, returns a Unicode string..
lib/BeautifulSoup.py:694
↓ 1 callersMethodreset
(self)
lib/markdown2.py:168
↓ 1 callersMethodreset
(self)
lib/BeautifulSoup.py:1124
↓ 1 callersMethodreset
(self)
lib/textile.py:604
↓ 1 callersFunctionreversed
(sequence)
lib/markdown2.py:68
↓ 1 callersMethodsanitize
Fix single tags. Fix tags like <img />, <br /> and <hr />. --- h1. Sanitizing Textile can help you generate valid X
lib/textile.py:866
↓ 1 callersMethodskip_comment
Skips an ECMAScript comment, either // or /* style. The contents of the comment are returned as a string, as well as the index of the
lib/demjson.py:1463
↓ 1 callersMethodskipws_any
Skips all whitespace, including comments and unicode whitespace Takes a string and a starting index, and returns the index of the nex
lib/demjson.py:1509
↓ 1 callersMethodsplit_text
Process the blocks from the text. Split the blocks according to the signatures, join extended blocks and associate each one of them w
lib/textile.py:892
↓ 1 callersMethodstrip_format_control_chars
Filters out all Unicode format control characters from the string. ECMAScript permits any Unicode "format control characters" to appe
lib/demjson.py:1017
↓ 1 callersFunctionsurrogate_pair_as_unicode
Takes a pair of unicode surrogates and returns the equivalent unicode character. The input pair must be a surrogate pair, with c1 in the range
lib/demjson.py:681
↓ 1 callersFunctionto_html
(body,markdown)
blog.py:105
↓ 1 callersMethodul
Build an unordered list. This function basically just sets the <ul></ul> with the right attributes, and then pass everything inside t
lib/textile.py:1788
↓ 1 callersFunctionunicode_as_surrogate_pair
Takes a single unicode character and returns a sequence of surrogate pairs. The output of this function is a tuple consisting of one or two unico
lib/demjson.py:698
↓ 1 callersMethodunknown_starttag
(self, name, attrs, selfClosing=0)
lib/BeautifulSoup.py:1244
↓ 1 callersMethodurl
(self)
blog.py:35
↓ 1 callersFunctionutf32be_decode
Decodes a UTF-32BE byte string into a Unicode string.
lib/demjson.py:599
↓ 1 callersFunctionutf32le_decode
Decodes a UTF-32LE byte string into a Unicode string.
lib/demjson.py:584
Method__abs__
(self)
lib/demjson.py:302
Method__abs__
(self)
lib/demjson.py:375
Method__abs__
(self)
lib/demjson.py:457
Method__add__
(self,x)
lib/demjson.py:286
Method__add__
(self,x)
lib/demjson.py:318
Method__add__
(self,x)
lib/demjson.py:403
Method__call__
(self, *args)
lib/markdown2.py:1543
Method__call__
Calling a tag like a function is the same as calling its findAll() method. Eg. tag('a') returns a list of all the A tags found within
lib/BeautifulSoup.py:558
Method__complex__
(self,*a)
lib/demjson.py:309
Method__complex__
(self,*a)
lib/demjson.py:394
Method__complex__
(self,*a)
lib/demjson.py:476
← previousnext →101–200 of 417, ranked by callers