MCPcopy Create free account

hub / github.com/btbytes/teh / functions

Functions417 in github.com/btbytes/teh

↓ 106 callersMethodappend
Appends the given tag to the contents of this tag.
lib/BeautifulSoup.py:228
↓ 28 callersFunctionparam_default
(pname,def)
static/scripts/dynamic.js:193
↓ 19 callersMethodencode
Encodes the Python object into a JSON string representation. This method will first attempt to encode an object by seeing if it has a
lib/demjson.py:1714
↓ 18 callersMethodhas_key
(self, key)
lib/BeautifulSoup.py:510
↓ 18 callersMethodparse_params
Parse the parameters from a block signature. This function parses the parameters from a block signature, splitting the information ab
lib/textile.py:1018
↓ 17 callersMethodget
Returns the value of the 'key' attribute for the tag, or the value given for 'default' if it doesn't have that attribute.
lib/BeautifulSoup.py:504
↓ 16 callersMethodsearch
(self, markup)
lib/BeautifulSoup.py:849
↓ 15 callersMethodbuild_open_tag
Build the open tag with specified attributes. This function is used by all block builders to generate the opening tags with the attr
lib/textile.py:1170
↓ 14 callersFunctionpreg_replace
Alternative re.sub that handles empty groups. This acts like re.sub, except it replaces empty groups with '' instead of raising an exception.
lib/textile.py:453
↓ 13 callersMethodget
(self, slug)
blog.py:85
↓ 13 callersMethodrender
(self, tmpl, **kw)
utils.py:15
↓ 10 callersFunctionaddEvent
(obj,type,fn)
static/scripts/dynamic.js:19
↓ 10 callersMethodfind
Return only the first child of this Tag matching the given criteria.
lib/BeautifulSoup.py:717
↓ 9 callersMethod__str__
Returns a string or Unicode representation of this tag and its contents. To get Unicode, pass None for encoding. NOTE: since Python's
lib/BeautifulSoup.py:606
↓ 9 callersMethoddecode
Decodes a JSON-endoded string into a Python object.
lib/demjson.py:1700
↓ 9 callersFunctionhh
(text,cs,navtype)
static/scripts/dynamic.js:112
↓ 8 callersMethodskipws
Skips whitespace.
lib/demjson.py:1497
↓ 7 callersMethod_getAttrMap
Initializes a map representation of this tag's attributes, if not already initialized.
lib/BeautifulSoup.py:757
↓ 7 callersFunctionaddClassName
(objElement,strClass,blnMayAlreadyExist)
static/scripts/dynamic.js:14
↓ 7 callersMethodget
(self,fname)
shooin.py:60
↓ 6 callersMethod_findAll
Iterates over a generator looking for things that match.
lib/BeautifulSoup.py:312
↓ 6 callersFunctionbuildTagMap
Turns a list of maps, lists, or scalars into a single map. Used to build the SELF_CLOSING_TAGS, NESTABLE_TAGS, and NESTING_RESET_TAGS maps out
lib/BeautifulSoup.py:930
↓ 6 callersMethodhandle_data
(self, data)
lib/BeautifulSoup.py:1287
↓ 5 callersMethodendData
(self, containerClass=NavigableString)
lib/BeautifulSoup.py:1155
↓ 5 callersMethodinline
Inline formatting. This function calls the formatting on the inline text, taking care to avoid the escaped parts. ---
lib/textile.py:2829
↓ 5 callersMethodinsert
(self, position, newChild)
lib/BeautifulSoup.py:168
↓ 5 callersFunctionisString
Convenience method that works with all 2.x versions of Python to determine whether or not something is stringlike.
lib/BeautifulSoup.py:922
↓ 4 callersMethod__init__
Basic constructor.
lib/BeautifulSoup.py:477
↓ 4 callersMethod_convertFrom
(self, proposed)
lib/BeautifulSoup.py:1721
↓ 4 callersMethod_findOne
(self, method, name, attrs, text, **kwargs)
lib/BeautifulSoup.py:305
↓ 4 callersMethod_matches
(self, markup, matchAgainst)
lib/BeautifulSoup.py:875
↓ 4 callersMethod_run_block_gamut
(self, text)
lib/markdown2.py:553
↓ 4 callersMethod_run_span_gamut
(self, text)
lib/markdown2.py:580
↓ 4 callersMethod_toStringSubclass
Adds a certain piece of text to the tree as a NavigableString subclass.
lib/BeautifulSoup.py:1290
↓ 4 callersFunctionclearSafariRadios
()
static/scripts/dynamic.js:6
↓ 4 callersMethoddecodeobj
Intermediate-level JSON decoder. Takes a string and a starting index, and returns a two-tuple consting of a Python object and the ind
lib/demjson.py:1645
↓ 4 callersMethodfindAll
Extracts a list of Tag objects that match the given criteria. You can specify the name of the Tag and any attributes you want the Tag
lib/BeautifulSoup.py:728
↓ 4 callersFunctionisList
Convenience method that works with all 2.x versions of Python to determine whether or not something is listlike.
lib/BeautifulSoup.py:916
↓ 4 callersFunctionremoveClassName
(objElement,strClass)
static/scripts/dynamic.js:17
↓ 4 callersFunctionsetMonth
(m)
static/scripts/dynamic.js:95
↓ 4 callersFunctiontextile
This is Textile. Generates XHTML from a simple markup developed by Dean Allen. This function should be called like this: textil
lib/textile.py:2859
↓ 4 callersMethodtoEncoding
Encodes an object to a string in some encoding, or to Unicode. .
lib/BeautifulSoup.py:372
↓ 3 callersMethod_codec
(self, charset)
lib/BeautifulSoup.py:1844
↓ 3 callersFunction_in_tag
Extracts text from inside a tag. This function extracts the text from inside a given tag. It's useful to get the text between <body></body> o
lib/textile.py:167
↓ 3 callersMethod_lastRecursiveChild
Finds the last element beneath this object to be parsed.
lib/BeautifulSoup.py:161
↓ 3 callersMethod_outdent
(self, text)
lib/markdown2.py:1391
↓ 3 callersMethodencode_helper
(self, chunklist, obj, nest_level)
lib/demjson.py:1737
↓ 3 callersMethodisSelfClosingTag
Returns true iff the given string is the name of a self-closing tag according to this parser.
lib/BeautifulSoup.py:1118
↓ 3 callersFunctionisstringtype
Is the object of a Python string type?
lib/demjson.py:730
↓ 3 callersMethodisws
Determines if the given character is considered as white space. Note that Javscript is much more permissive on what it considers
lib/demjson.py:986
↓ 3 callersFunctionmakeTimePart
(className,init,range_start,range_end)
static/scripts/dynamic.js:118
↓ 3 callersMethodpopTag
(self)
lib/BeautifulSoup.py:1134
↓ 2 callersMethod__getattr__
(self, tag)
lib/BeautifulSoup.py:564
↓ 2 callersFunction_debug
Outputs debug information to sys.stderr. This function outputs debug information if DEBUGLEVEL is higher than a given treshold.
lib/textile.py:258
↓ 2 callersMethod_detab
r"""Remove (leading?) tabs from a file. >>> m = Markdown() >>> m._detab("\tfoo") ' foo' >>> m._det
lib/markdown2.py:368
↓ 2 callersMethod_do_lists
(self, text)
lib/markdown2.py:950
↓ 2 callersMethod_encode_amps_and_angles
(self, text)
lib/markdown2.py:1300
↓ 2 callersMethod_encode_code
Encode/escape certain characters inside Markdown code runs. The point is that in code, these characters are literals, and lose their s
lib/markdown2.py:1177
↓ 2 callersMethod_feed
(self, inDocumentEncoding=None)
lib/BeautifulSoup.py:1073
↓ 2 callersMethod_hash_html_blocks
Hashify HTML blocks We only want to do this for block-level HTML tags, such as headers, lists, and tables. That's because we still wa
lib/markdown2.py:423
↓ 2 callersFunction_hash_text
(text)
lib/markdown2.py:1610
↓ 2 callersMethod_popToTag
Pops the tag stack up to and including the most recent instance of the given tag. If inclusivePop is false, pops the tag stack up to b
lib/BeautifulSoup.py:1176
↓ 2 callersMethod_sanitize_html
(self, s)
lib/markdown2.py:678
↓ 2 callersMethod_unescape_special_chars
(self, text)
lib/markdown2.py:1385
↓ 2 callersMethodbuild_li
Build the list item. This function build the list item of an (un)ordered list. It works by peeking at the next list item, and searchi
lib/textile.py:1575
↓ 2 callersMethodconvert
Convert the given text.
lib/markdown2.py:179
↓ 2 callersFunctiondecode_hex
Decodes a hexadecimal string into it's integer value.
lib/demjson.py:744
↓ 2 callersMethoddecode_number
Intermediate-level decoder for JSON numeric literals. Takes a string and a starting index, and returns a Python suitable numeric type
lib/demjson.py:1072
↓ 2 callersFunctiondecode_octal
Decodes an octal string into it's integer value.
lib/demjson.py:764
↓ 2 callersMethodextract
Destructively rips this element out of the tree.
lib/BeautifulSoup.py:133
↓ 2 callersMethodformat
Text formatting. This function basically defines the order on which the formatting is applied.
lib/textile.py:2814
↓ 2 callersMethodget
(self)
admin.py:20
↓ 2 callersFunctiongetElementsByClassName
(oElm,strTagName,strClassName)
static/scripts/dynamic.js:12
↓ 2 callersFunctiongetVisib
(obj)
static/scripts/dynamic.js:162
↓ 2 callersFunctionin_repertoire
( c, encoding_func )
lib/demjson.py:1973
↓ 2 callersMethodislineterm
Determines if the given character is considered a line terminator. Ref. ECMAScript section 7.3
lib/demjson.py:1005
↓ 2 callersFunctionisnumbertype
Is the object of a Python number type (excluding complex)?
lib/demjson.py:723
↓ 2 callersMethodparagraph
Process a paragraph. This function processes the paragraphs, enclosing the text in a <p> tag and breaking lines with <br />. Paragra
lib/textile.py:1192
↓ 2 callersMethodpushTag
(self, tag)
lib/BeautifulSoup.py:1148
↓ 2 callersMethodsearchTag
(self, markupName=None, markupAttrs={})
lib/BeautifulSoup.py:812
↓ 2 callersMethodsetup
Sets up the initial relations between this element and other elements.
lib/BeautifulSoup.py:107
↓ 2 callersMethodsubstituteEncoding
(self, str, encoding=None)
lib/BeautifulSoup.py:368
↓ 1 callersMethod__init__
Instantiate the class, passing the text to be formatted. Here we pre-process the text and collect all the link lookups fo
lib/textile.py:640
↓ 1 callersMethod__mul__
(self,x)
lib/demjson.py:322
↓ 1 callersMethod__mul__
(self,x)
lib/demjson.py:407
↓ 1 callersMethod_add_footnotes
(self, text)
lib/markdown2.py:1267
↓ 1 callersFunction_color
Colorizer Python code. This function wraps a text string in a StringIO, and passes it to the htmlizer function from Twisted.
lib/textile.py:195
↓ 1 callersMethod_color_with_pygments
(self, codeblock, lexer)
lib/markdown2.py:1072
↓ 1 callersFunction_curry
(*args, **kwargs)
lib/markdown2.py:1409
↓ 1 callersFunction_dedent
_dedent(text, tabsize=8, skip_first_line=False) -> dedented text "text" is the text to dedent. "tabsize" is the tab width to use for
lib/markdown2.py:1517
↓ 1 callersFunction_dedentlines
_dedentlines(lines, tabsize=8, skip_first_line=False) -> dedented lines "lines" is a list of lines to dedent. "tabsize" is the ta
lib/markdown2.py:1447
↓ 1 callersMethod_detectEncoding
Given a document, tries to detect its XML encoding.
lib/BeautifulSoup.py:1774
↓ 1 callersMethod_do_auto_links
(self, text)
lib/markdown2.py:1333
↓ 1 callersMethod_do_block_quotes
(self, text)
lib/markdown2.py:1245
↓ 1 callersMethod_do_code_blocks
Process Markdown `<pre><code>` blocks.
lib/markdown2.py:1112
↓ 1 callersMethod_do_code_spans
(self, text)
lib/markdown2.py:1152
↓ 1 callersMethod_do_headers
(self, text)
lib/markdown2.py:916
↓ 1 callersMethod_do_italics_and_bold
(self, text)
lib/markdown2.py:1206
↓ 1 callersMethod_do_link_patterns
Caveat emptor: there isn't much guarding against link patterns being formed inside other standard Markdown links, e.g. inside a [link
lib/markdown2.py:1358
↓ 1 callersMethod_do_links
Turn Markdown link shortcuts into XHTML <a> and <img> tags. This is a combination of Markdown.pl's _DoAnchors() and _DoImages(). They
lib/markdown2.py:720
next →1–100 of 417, ranked by callers